Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/got

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/got - npm Package Compare versions

Comparing version 9.2.1 to 9.2.2

35

got/index.d.ts

@@ -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 @@ }

8

got/package.json
{
"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 @@

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