node-fetch
Advanced tools
Comparing version 2.6.8 to 2.6.9
@@ -20,3 +20,3 @@ "use strict"; | ||
if (globalObject.fetch) { | ||
exports.default = globalObject.fetch.bind(global); | ||
exports.default = globalObject.fetch.bind(globalObject); | ||
} | ||
@@ -23,0 +23,0 @@ |
@@ -1515,3 +1515,5 @@ process.emitWarning("The .es.js file is deprecated. Use .mjs instead."); | ||
destroyStream(response.body, err); | ||
if (response && response.body) { | ||
destroyStream(response.body, err); | ||
} | ||
}); | ||
@@ -1518,0 +1520,0 @@ |
@@ -1519,3 +1519,5 @@ 'use strict'; | ||
destroyStream(response.body, err); | ||
if (response && response.body) { | ||
destroyStream(response.body, err); | ||
} | ||
}); | ||
@@ -1522,0 +1524,0 @@ |
{ | ||
"name": "node-fetch", | ||
"version": "2.6.8", | ||
"version": "2.6.9", | ||
"description": "A light-weight module that brings window.fetch to node.js", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
161622
4625