@types/got
Advanced tools
Comparing version 8.3.0 to 8.3.1
@@ -122,3 +122,3 @@ // Type definitions for got 8.3 | ||
useElectronNet?: boolean; | ||
cache?: Map<string, any>; | ||
cache?: Cache; | ||
agent?: http.Agent | boolean | AgentOptions; | ||
@@ -141,2 +141,8 @@ throwHttpErrors?: boolean; | ||
interface Cache { | ||
set(key: string, value: any, ttl?: number): any; | ||
get(key: string): any; | ||
delete(key: string): any; | ||
} | ||
interface Response<B extends Buffer | string | object> extends http.IncomingMessage { | ||
@@ -143,0 +149,0 @@ body: B; |
{ | ||
"name": "@types/got", | ||
"version": "8.3.0", | ||
"version": "8.3.1", | ||
"description": "TypeScript definitions for got", | ||
@@ -26,3 +26,3 @@ "license": "MIT", | ||
"type": "git", | ||
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git.git" | ||
}, | ||
@@ -33,4 +33,4 @@ "scripts": {}, | ||
}, | ||
"typesPublisherContentHash": "225788d444bf67b4c13e4b5bcce38bbbf85fdfa77ae3c2a3b6b8abcc2eb849d3", | ||
"typesPublisherContentHash": "3081db2be5650c0e88c87830a9f8e926dc12c66d26c530e37915a98d2244dcdf", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -8,6 +8,6 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/got | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped.git/tree/master/types/got | ||
Additional Details | ||
* Last updated: Wed, 18 Apr 2018 17:04:44 GMT | ||
* Last updated: Fri, 04 May 2018 23:55:55 GMT | ||
* Dependencies: url, http, https, stream, node | ||
@@ -14,0 +14,0 @@ * Global values: none |
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
173
11344