fetch-mock
Advanced tools
Comparing version 2.2.9 to 2.2.10
'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 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
55547