Socket
Socket
Sign inDemoInstall

fetch-mock

Package Overview
Dependencies
Maintainers
1
Versions
226
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fetch-mock - npm Package Compare versions

Comparing version 2.2.9 to 2.2.10

2

es5/client.js
'use strict';
if (!window) {
if (typeof window === 'undefined') {
throw 'Incorrect fetch-mock: require(\'fetch-mock/server\') in nodejs >= 4, or require(\'fetch-mock/es5/server\' in nodejs 0.12.x';

@@ -5,0 +5,0 @@ }

@@ -1,1 +0,1 @@

{"name":"fetch-mock","version":"2.2.9","description":"Mock http requests made using fetch (or isomorphic-fetch)","main":"es5/client.js","scripts":{"test":"make test","prepublish":"babel src --out-dir es5"},"repository":{"type":"git","url":"https://github.com/wheresrhys/fetch-mock.git"},"keywords":["fetch","http","mock","testing","spy"],"author":"Rhys Evans","license":"ISC","bugs":{"url":"https://github.com/wheresrhys/fetch-mock/issues"},"homepage":"https://github.com/wheresrhys/fetch-mock","dependencies":{"node-fetch":"^1.3.3","debug":"^2.2.0"},"devDependencies":{"babel":"^6.0.15","babel-cli":"^6.1.2","babel-preset-es2015":"^6.1.2","babelify":"^7.2.0","browserify":"^12.0.0","chai":"^2.3.0","karma":"^0.12.31","karma-browserify":"^4.1.2","karma-chai":"^0.1.0","karma-chrome-launcher":"^0.1.8","karma-firefox-launcher":"^0.1.6","karma-mocha":"^0.1.10","karma-phantomjs-launcher":"^0.2.1","mocha":"^2.2.4","npm-prepublish":"^1.2.0","sinon":"^1.17.0","whatwg-fetch":"^0.10.1"}}
{"name":"fetch-mock","version":"2.2.10","description":"Mock http requests made using fetch (or isomorphic-fetch)","main":"es5/client.js","scripts":{"test":"make test","prepublish":"babel src --out-dir es5"},"repository":{"type":"git","url":"https://github.com/wheresrhys/fetch-mock.git"},"keywords":["fetch","http","mock","testing","spy"],"author":"Rhys Evans","license":"ISC","bugs":{"url":"https://github.com/wheresrhys/fetch-mock/issues"},"homepage":"https://github.com/wheresrhys/fetch-mock","dependencies":{"node-fetch":"^1.3.3","debug":"^2.2.0"},"devDependencies":{"babel":"^6.0.15","babel-cli":"^6.1.2","babel-preset-es2015":"^6.1.2","babelify":"^7.2.0","browserify":"^12.0.0","chai":"^2.3.0","karma":"^0.12.31","karma-browserify":"^4.1.2","karma-chai":"^0.1.0","karma-chrome-launcher":"^0.1.8","karma-firefox-launcher":"^0.1.6","karma-mocha":"^0.1.10","karma-phantomjs-launcher":"^0.2.1","mocha":"^2.2.4","npm-prepublish":"^1.2.0","sinon":"^1.17.0","whatwg-fetch":"^0.10.1"}}
'use strict';
if (!window) {
if (typeof window === 'undefined') {
throw 'Incorrect fetch-mock: require(\'fetch-mock/server\') in nodejs >= 4, or require(\'fetch-mock/es5/server\' in nodejs 0.12.x';

@@ -5,0 +5,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