Update dependencies
This commit is contained in:
parent
efe3c87c15
commit
64b899a72a
1218 changed files with 79658 additions and 39990 deletions
14
node_modules/node-fetch/browser.js
generated
vendored
14
node_modules/node-fetch/browser.js
generated
vendored
|
@ -11,15 +11,15 @@ var getGlobal = function () {
|
|||
throw new Error('unable to locate global object');
|
||||
}
|
||||
|
||||
var global = getGlobal();
|
||||
var globalObject = getGlobal();
|
||||
|
||||
module.exports = exports = global.fetch;
|
||||
module.exports = exports = globalObject.fetch;
|
||||
|
||||
// Needed for TypeScript and Webpack.
|
||||
if (global.fetch) {
|
||||
exports.default = global.fetch.bind(global);
|
||||
if (globalObject.fetch) {
|
||||
exports.default = globalObject.fetch.bind(globalObject);
|
||||
}
|
||||
|
||||
exports.Headers = global.Headers;
|
||||
exports.Request = global.Request;
|
||||
exports.Response = global.Response;
|
||||
exports.Headers = globalObject.Headers;
|
||||
exports.Request = globalObject.Request;
|
||||
exports.Response = globalObject.Response;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue