Socket
Socket
Sign inDemoInstall

fetch-mock

Package Overview
Dependencies
3
Maintainers
1
Versions
213
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.5.0 to 1.5.2

48

package.json

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

{
"name": "fetch-mock",
"version": "1.5.0",
"description": "Mock http requests made using fetch (or isomorphic-fetch)",
"main": "server.js",
"scripts": {
"test": "make test coverage"
},
"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.2.0",
"sinon": "^1.14.1",
"debug": "^2.2.0"
},
"devDependencies": {
"browserify": "^10.0.0",
"chai": "^2.3.0",
"coveralls": "^2.11.2",
"debowerify": "^1.2.1",
"es6-promise": "^2.1.1",
"karma": "^0.12.31",
"karma-browserify": "^4.1.2",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^0.1.8",
"karma-mocha": "^0.1.10",
"karma-phantomjs-launcher": "^0.1.4",
"mocha": "^2.2.4",
"mocha-lcov-reporter": "0.0.2",
"npm-prepublish": "^1.2.0"
}
}
{"name":"fetch-mock","version":"1.5.2","description":"Mock http requests made using fetch (or isomorphic-fetch)","main":"server.js","scripts":{"test":"make test coverage"},"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.2.0","sinon":"^1.14.1","debug":"^2.2.0"},"devDependencies":{"browserify":"^10.0.0","chai":"^2.3.0","coveralls":"^2.11.2","debowerify":"^1.2.1","es6-promise":"^2.1.1","karma":"^0.12.31","karma-browserify":"^4.1.2","karma-chai":"^0.1.0","karma-chrome-launcher":"^0.1.8","karma-mocha":"^0.1.10","karma-phantomjs-launcher":"^0.1.4","mocha":"^2.2.4","mocha-lcov-reporter":"0.0.2","npm-prepublish":"^1.2.0"}}

4

README.md

@@ -9,4 +9,6 @@ # fetch-mock [![Build Status](https://travis-ci.org/wheresrhys/fetch-mock.svg?branch=master)](https://travis-ci.org/wheresrhys/fetch-mock) [![Coverage Status](https://coveralls.io/repos/wheresrhys/fetch-mock/badge.svg)](https://coveralls.io/r/wheresrhys/fetch-mock)

- If you prefer documentation by example skip to the bottom of this README
- To use fetch-mock on the server simply `npm install fetch-mock` and `require('fetch-mock)`. In the browser either
- use browserify + debowerify and both `npm install fetch-mock` and `bower install fetch-mock`, then use `require('fetch-mock)`
- use browserify and `npm install fetch-mock` and `require('fetch-mock/client)`
## API

@@ -13,0 +15,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc