@types/fetch-mock
Advanced tools
Comparing version 5.12.2 to 6.0.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for fetch-mock 5.12 | ||
// Type definitions for fetch-mock 6.0 | ||
// Project: https://github.com/wheresrhys/fetch-mock | ||
@@ -7,2 +7,3 @@ // Definitions by: Alexey Svetliakov <https://github.com/asvetliakov> | ||
// Chris Sinclair <https://github.com/chrissinclair> | ||
// Matt Tennison <https://github.com/matttennison> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -61,2 +62,13 @@ // TypeScript Version: 2.2 | ||
sendAsJson?: boolean; | ||
/** | ||
* Setting this property to true will automatically add the | ||
* content-length header | ||
* @default true | ||
*/ | ||
includeContentLength?: boolean; | ||
/** | ||
* The URL the response should be from (to imitate followed redirects | ||
* - will set redirected: true on the response) | ||
*/ | ||
redirectUrl?: string; | ||
} | ||
@@ -106,2 +118,6 @@ /** | ||
/** | ||
* key/value map of query strings to match, in any order | ||
*/ | ||
query?: { [key: string]: string }; | ||
/** | ||
* as specified above | ||
@@ -121,3 +137,3 @@ */ | ||
*/ | ||
times?: number; | ||
repeat?: number; | ||
} | ||
@@ -124,0 +140,0 @@ |
{ | ||
"name": "@types/fetch-mock", | ||
"version": "5.12.2", | ||
"version": "6.0.0", | ||
"description": "TypeScript definitions for fetch-mock", | ||
@@ -26,2 +26,7 @@ "license": "MIT", | ||
"githubUsername": "chrissinclair" | ||
}, | ||
{ | ||
"name": "Matt Tennison", | ||
"url": "https://github.com/matttennison", | ||
"githubUsername": "matttennison" | ||
} | ||
@@ -36,4 +41,4 @@ ], | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "4b3c1f2cc59eb1884902d80de6e7d3806944316f5c8853b0e3e4f922242d26c8", | ||
"typesPublisherContentHash": "24e23d26375c0b66b8670c0b0a5dc59f40ec05d60a63285a7a67c3b8839d1b62", | ||
"typeScriptVersion": "2.2" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Sat, 04 Nov 2017 04:40:48 GMT | ||
* Last updated: Wed, 28 Feb 2018 23:22:44 GMT | ||
* Dependencies: none | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Alexey Svetliakov <https://github.com/asvetliakov>, Tamir Duberstein <https://github.com/tamird>, Risto Keravuori <https://github.com/merrywhether>, Chris Sinclair <https://github.com/chrissinclair>. | ||
These definitions were written by Alexey Svetliakov <https://github.com/asvetliakov>, Tamir Duberstein <https://github.com/tamird>, Risto Keravuori <https://github.com/merrywhether>, Chris Sinclair <https://github.com/chrissinclair>, Matt Tennison <https://github.com/matttennison>. |
Sorry, the diff of this file is not supported yet
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
22651
393