Socket
Socket
Sign inDemoInstall

@types/needle

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/needle - npm Package Compare versions

Comparing version 2.0.4 to 2.5.0

13

needle/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for needle 2.0
// Type definitions for needle 2.5
// Project: https://github.com/tomas/needle

@@ -52,2 +52,8 @@ // Definitions by: San Chen <https://github.com/bigsan>,

/**
* Returns error if no response headers are received in X milisecs,
* counting from when the connection is opened. Defaults to `0` (no response timeout).
*/
response_timeout?: number;
/**
* Returns error if data transfer takes longer than X milisecs,

@@ -108,2 +114,7 @@ * after connection is established. Defaults to 0 (no timeout).

/**
* IP address. Passed to http/https request. Local interface from which the request should be emitted.
*/
localAddress?: string;
// These properties are overwritten by those in the 'headers' field

@@ -110,0 +121,0 @@ /**

11

needle/package.json
{
"name": "@types/needle",
"version": "2.0.4",
"version": "2.5.0",
"description": "TypeScript definitions for needle",

@@ -29,6 +29,7 @@ "license": "MIT",

"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/needle"
},

@@ -39,4 +40,4 @@ "scripts": {},

},
"typesPublisherContentHash": "de464d153de08741cb7a22c24718cb09a32bdaf604206b1e8a768c7b91dd2f04",
"typeScriptVersion": "2.2"
"typesPublisherContentHash": "df839de4ee6b0e11145bd4a0ed49ad0ff18420a2b6367aaedcdf900befeb5cbc",
"typeScriptVersion": "3.2"
}

@@ -5,13 +5,13 @@ # Installation

# Summary
This package contains type definitions for needle ( https://github.com/tomas/needle ).
This package contains type definitions for needle (https://github.com/tomas/needle).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/needle
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/needle.
Additional Details
* Last updated: Mon, 28 Jan 2019 23:19:31 GMT
* Dependencies: @types/node
### Additional Details
* Last updated: Mon, 05 Oct 2020 08:30:52 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)
* Global values: none
# Credits
These definitions were written by San Chen <https://github.com/bigsan>, Niklas Mollenhauer <https://github.com/nikeee>, Matanel Sindilevich <https://github.com/sindilevich>, Bryan Spears <https://github.com/bryanspears>.
These definitions were written by [San Chen](https://github.com/bigsan), [Niklas Mollenhauer](https://github.com/nikeee), [Matanel Sindilevich](https://github.com/sindilevich), and [Bryan Spears](https://github.com/bryanspears).

Sorry, the diff of this file is not supported yet

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