Socket
Socket
Sign inDemoInstall

node-fetch

Package Overview
Dependencies
2
Maintainers
4
Versions
96
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0-beta.6 to 3.0.0-beta.6-exportfix

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc