New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gofor

Package Overview
Dependencies
Maintainers
6
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gofor - npm Package Compare versions

Comparing version 3.0.3-rc-67deecc to 3.0.3-rc-926b934

10

configuration/test_setup.js
const fetch = require('node-fetch');
global.window = global;
Object.assign(global,

@@ -8,9 +10,1 @@ require('chai'),

);
global.window = {};
Object.assign(global.window,
fetch,
{
fetch: fetch.bind(global.window)
}
);

4

package.json
{
"name": "gofor",
"version": "3.0.3-rc-67deecc",
"version": "3.0.3-rc-926b934",
"description": "Lean, isomorphic fetch decorator that reverse merges default options",

@@ -45,4 +45,4 @@ "keywords": [

"publishConfig": {
"tag": "gofor-browser"
"tag": "2019-05-21-apply-fetch-with-window"
}
}

@@ -91,3 +91,3 @@ /**

return function(...args) {
return fetch.apply(window, args);
return window.fetch(...args);
};

@@ -94,0 +94,0 @@ }

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc