@metrichor/epi2me-web
Advanced tools
Comparing version 4.0.4167714 to 4.0.4177170
@@ -21,9 +21,9 @@ "use strict"; | ||
}; | ||
var _a, _b, _c, _d; | ||
var _a, _b, _c, _d, _e; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Headers = exports.Response = exports.Request = exports.fetch = void 0; | ||
const cross_fetch_1 = __importStar(require("cross-fetch")); | ||
exports.fetch = (_a = globalThis.fetch) !== null && _a !== void 0 ? _a : cross_fetch_1.default; | ||
exports.Request = (_b = globalThis.Request) !== null && _b !== void 0 ? _b : cross_fetch_1.Request; | ||
exports.Response = (_c = globalThis.Response) !== null && _c !== void 0 ? _c : cross_fetch_1.Response; | ||
exports.Headers = (_d = globalThis.Headers) !== null && _d !== void 0 ? _d : cross_fetch_1.Headers; | ||
exports.fetch = (_b = (_a = globalThis.fetch) === null || _a === void 0 ? void 0 : _a.bind(globalThis)) !== null && _b !== void 0 ? _b : cross_fetch_1.default; | ||
exports.Request = (_c = globalThis.Request) !== null && _c !== void 0 ? _c : cross_fetch_1.Request; | ||
exports.Response = (_d = globalThis.Response) !== null && _d !== void 0 ? _d : cross_fetch_1.Response; | ||
exports.Headers = (_e = globalThis.Headers) !== null && _e !== void 0 ? _e : cross_fetch_1.Headers; |
@@ -1,6 +0,6 @@ | ||
var _a, _b, _c, _d; | ||
var _a, _b, _c, _d, _e; | ||
import crossFetch, { Request as CrossRequest, Headers as CrossHeaders, Response as CrossResponse } from 'cross-fetch'; | ||
export const fetch = (_a = globalThis.fetch) !== null && _a !== void 0 ? _a : crossFetch; | ||
export const Request = (_b = globalThis.Request) !== null && _b !== void 0 ? _b : CrossRequest; | ||
export const Response = (_c = globalThis.Response) !== null && _c !== void 0 ? _c : CrossResponse; | ||
export const Headers = (_d = globalThis.Headers) !== null && _d !== void 0 ? _d : CrossHeaders; | ||
export const fetch = (_b = (_a = globalThis.fetch) === null || _a === void 0 ? void 0 : _a.bind(globalThis)) !== null && _b !== void 0 ? _b : crossFetch; | ||
export const Request = (_c = globalThis.Request) !== null && _c !== void 0 ? _c : CrossRequest; | ||
export const Response = (_d = globalThis.Response) !== null && _d !== void 0 ? _d : CrossResponse; | ||
export const Headers = (_e = globalThis.Headers) !== null && _e !== void 0 ? _e : CrossHeaders; |
@@ -12,3 +12,3 @@ { | ||
"private": false, | ||
"version": "4.0.4167714", | ||
"version": "4.0.4177170", | ||
"main": "cjs/index-web.js", | ||
@@ -15,0 +15,0 @@ "module": "esm/index-web.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
2606432
28