@types/got
Advanced tools
Comparing version 9.2.1 to 9.2.2
@@ -143,5 +143,40 @@ // Type definitions for got 9.2 | ||
/** | ||
* Contains properties to constrain the duration of each phase of the request lifecycle. | ||
* | ||
* @see https://github.com/sindresorhus/got#timeout | ||
*/ | ||
interface TimeoutOptions { | ||
/** | ||
* Starts when a socket is assigned and ends when the hostname has been resolved. Does not | ||
* apply when using a Unix domain socket. | ||
*/ | ||
lookup?: number; | ||
/** | ||
* Starts when `lookup` completes (or when the socket is assigned if lookup does not apply | ||
* to the request) and ends when the socket is connected. | ||
*/ | ||
connect?: number; | ||
/** | ||
* Starts when `connect` completes and ends when the handshaking process completes (HTTPS | ||
* only). | ||
*/ | ||
secureConnect?: number; | ||
/** | ||
* Starts when the socket is connected. See [request.setTimeout](https://nodejs.org/api/http.html#http_request_settimeout_timeout_callback). | ||
*/ | ||
socket?: number; | ||
/** | ||
* Starts when the request has been written to the socket and ends when the response headers | ||
* are received. | ||
*/ | ||
response?: number; | ||
/** | ||
* Starts when the socket is connected and ends with the request has been written to the | ||
* socket. | ||
*/ | ||
send?: number; | ||
/** | ||
* Starts when the request is initiated and ends when the response's end event fires. | ||
*/ | ||
request?: number; | ||
@@ -148,0 +183,0 @@ } |
{ | ||
"name": "@types/got", | ||
"version": "9.2.1", | ||
"version": "9.2.2", | ||
"description": "TypeScript definitions for got", | ||
@@ -36,7 +36,7 @@ "license": "MIT", | ||
"dependencies": { | ||
"@types/tough-cookie": "*", | ||
"@types/node": "*" | ||
"@types/node": "*", | ||
"@types/tough-cookie": "*" | ||
}, | ||
"typesPublisherContentHash": "bab88fe6b7fac6dfa82b227f6171905a5844247dcf35fa592a9d75e5a114fbdc", | ||
"typesPublisherContentHash": "fd320f37e388a74af1bb96016ee7d9593c422ad9dc4d18eaef59298a81039a4f", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -11,4 +11,4 @@ # Installation | ||
Additional Details | ||
* Last updated: Wed, 28 Nov 2018 18:21:19 GMT | ||
* Dependencies: tough-cookie, node | ||
* Last updated: Tue, 18 Dec 2018 21:06:51 GMT | ||
* Dependencies: @types/tough-cookie, @types/node | ||
* Global values: none | ||
@@ -15,0 +15,0 @@ |
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
13872
228