selfcarebot/node_modules/@mastojs/ponyfills/browser.cjs

20 lines
556 B
JavaScript
Raw Normal View History

2023-03-30 06:02:54 +00:00
"use strict";
const Blob = globalThis.Blob;
const FormData = globalThis.FormData;
const Headers = globalThis.Headers;
const Request = globalThis.Request;
const Response = globalThis.Response;
const fetch = globalThis.fetch;
const AbortController = globalThis.AbortController;
const AbortSignal = globalThis.AbortSignal;
exports.Blob = Blob;
exports.FormData = FormData;
exports.Headers = Headers;
exports.Request = Request;
exports.Response = Response;
exports.fetch = fetch;
exports.AbortController = AbortController;
exports.AbortSignal = AbortSignal;