node-fetch
Advanced tools
Comparing version 3.0.0-beta.6 to 3.0.0-beta.6-exportfix
{ | ||
"name": "node-fetch", | ||
"version": "3.0.0-beta.6", | ||
"version": "3.0.0-beta.6-exportfix", | ||
"description": "A light-weight module that brings window.fetch to node.js", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.cjs", |
@@ -32,3 +32,3 @@ /** | ||
*/ | ||
const fetch = (url, options_) => { | ||
export default function fetch(url, options_) { | ||
// Allow custom promise | ||
@@ -292,7 +292,5 @@ if (!fetch.Promise) { | ||
}); | ||
}; | ||
} | ||
export default fetch; | ||
// Expose Promise | ||
fetch.Promise = global.Promise; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
20
178817
2632