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

@types/fetch-mock

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/fetch-mock - npm Package Compare versions

Comparing version 7.3.0 to 7.3.1

28

fetch-mock/index.d.ts

@@ -189,3 +189,3 @@ // Type definitions for fetch-mock 7.3

/**
* Convert objects into JSON before delivering as stub reponses. Can
* Convert objects into JSON before delivering as stub responses. Can
* be useful to set to false globally if e.g. dealing with a lot of

@@ -283,3 +283,3 @@ * array buffers. If true, will also add content-type: application/json

*/
get(matcher: MockMatcher, reponse: MockResponse | MockResponseFunction, options?: MockOptionsMethodGet): this;
get(matcher: MockMatcher, response: MockResponse | MockResponseFunction, options?: MockOptionsMethodGet): this;

@@ -296,3 +296,3 @@ /**

*/
getOnce(matcher: MockMatcher, reponse: MockResponse | MockResponseFunction, options?: MockOptionsMethodGet): this;
getOnce(matcher: MockMatcher, response: MockResponse | MockResponseFunction, options?: MockOptionsMethodGet): this;

@@ -308,3 +308,3 @@ /**

*/
post(matcher: MockMatcher, reponse: MockResponse | MockResponseFunction, options?: MockOptionsMethodPost): this;
post(matcher: MockMatcher, response: MockResponse | MockResponseFunction, options?: MockOptionsMethodPost): this;

@@ -321,3 +321,3 @@ /**

*/
postOnce(matcher: MockMatcher, reponse: MockResponse | MockResponseFunction, options?: MockOptionsMethodPost): this;
postOnce(matcher: MockMatcher, response: MockResponse | MockResponseFunction, options?: MockOptionsMethodPost): this;

@@ -333,3 +333,3 @@ /**

*/
put(matcher: MockMatcher, reponse: MockResponse | MockResponseFunction, options?: MockOptionsMethodPut): this;
put(matcher: MockMatcher, response: MockResponse | MockResponseFunction, options?: MockOptionsMethodPut): this;

@@ -346,3 +346,3 @@ /**

*/
putOnce(matcher: MockMatcher, reponse: MockResponse | MockResponseFunction, options?: MockOptionsMethodPut): this;
putOnce(matcher: MockMatcher, response: MockResponse | MockResponseFunction, options?: MockOptionsMethodPut): this;

@@ -358,3 +358,3 @@ /**

*/
delete(matcher: MockMatcher, reponse: MockResponse | MockResponseFunction, options?: MockOptionsMethodDelete): this;
delete(matcher: MockMatcher, response: MockResponse | MockResponseFunction, options?: MockOptionsMethodDelete): this;

@@ -371,3 +371,3 @@ /**

*/
deleteOnce(matcher: MockMatcher, reponse: MockResponse | MockResponseFunction, options?: MockOptionsMethodDelete): this;
deleteOnce(matcher: MockMatcher, response: MockResponse | MockResponseFunction, options?: MockOptionsMethodDelete): this;

@@ -383,3 +383,3 @@ /**

*/
head(matcher: MockMatcher, reponse: MockResponse | MockResponseFunction, options?: MockOptionsMethodHead): this;
head(matcher: MockMatcher, response: MockResponse | MockResponseFunction, options?: MockOptionsMethodHead): this;

@@ -396,3 +396,3 @@ /**

*/
headOnce(matcher: MockMatcher, reponse: MockResponse | MockResponseFunction, options?: MockOptionsMethodHead): this;
headOnce(matcher: MockMatcher, response: MockResponse | MockResponseFunction, options?: MockOptionsMethodHead): this;

@@ -408,3 +408,3 @@ /**

*/
patch(matcher: MockMatcher, reponse: MockResponse | MockResponseFunction, options?: MockOptionsMethodHead): this;
patch(matcher: MockMatcher, response: MockResponse | MockResponseFunction, options?: MockOptionsMethodHead): this;

@@ -421,3 +421,3 @@ /**

*/
patchOnce(matcher: MockMatcher, reponse: MockResponse | MockResponseFunction, options?: MockOptionsMethodHead): this;
patchOnce(matcher: MockMatcher, response: MockResponse | MockResponseFunction, options?: MockOptionsMethodHead): this;

@@ -552,3 +552,3 @@ /**

/**
* Convert objects into JSON before delivering as stub reponses.
* Convert objects into JSON before delivering as stub responses.
* Can be useful to set to false globally if e.g. dealing with a

@@ -555,0 +555,0 @@ * lot of array buffers. If true, will also add

{
"name": "@types/fetch-mock",
"version": "7.3.0",
"version": "7.3.1",
"description": "TypeScript definitions for fetch-mock",

@@ -67,4 +67,4 @@ "license": "MIT",

"dependencies": {},
"typesPublisherContentHash": "1036d231ef1c827e7c935b91a876f8708dc1873963ca6cab4a7fc6e00f026afb",
"typesPublisherContentHash": "707c495d01b07ad1bff6de11a8b5ad3a4d86c9066584f76eb719d0e3963b6f4b",
"typeScriptVersion": "2.2"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Tue, 21 May 2019 19:56:14 GMT
* Last updated: Sun, 16 Jun 2019 08:06:11 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: none

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