@types/got
Advanced tools
Comparing version 9.4.4 to 9.6.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for got 9.4 | ||
// Type definitions for got 9.6 | ||
// Project: https://github.com/sindresorhus/got#readme | ||
@@ -143,2 +143,3 @@ // Definitions by: BendingBender <https://github.com/BendingBender> | ||
interface Hooks<Options, Body extends Buffer | string | object> { | ||
init?: Array<InitHook<Options>>; | ||
beforeRequest?: Array<BeforeRequestHook<Options>>; | ||
@@ -151,2 +152,7 @@ beforeRedirect?: Array<BeforeRedirectHook<Options>>; | ||
/** | ||
* @param options Unnormalized request options. | ||
*/ | ||
type InitHook<Options> = (options: Options) => void; | ||
/** | ||
* @param options Normalized request options. | ||
@@ -153,0 +159,0 @@ */ |
{ | ||
"name": "@types/got", | ||
"version": "9.4.4", | ||
"version": "9.6.0", | ||
"description": "TypeScript definitions for got", | ||
@@ -50,4 +50,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "80a2e3e1c226c63c891bab4e885a42cd93c2e7d602ec778beb4fa3875ced6086", | ||
"typesPublisherContentHash": "4f2583706bd46f8182badd8d43718697dd64f32d4b183167400835e8d50c1954", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Fri, 26 Apr 2019 02:20:08 GMT | ||
* Last updated: Mon, 17 Jun 2019 07:12:22 GMT | ||
* Dependencies: @types/tough-cookie, @types/node | ||
@@ -14,0 +14,0 @@ * Global values: none |
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
17261
295