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.4.4 to 9.6.0

8

got/index.d.ts

@@ -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 @@ */

4

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

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