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.5.0 to 2.5.1

10

needle/index.d.ts

@@ -118,2 +118,8 @@ // Type definitions for needle 2.5

/**
* Anonymous function taking request (or redirect location if following redirects) URI as an argument and modifying it given logic.
* It has to return a valid URI string for successful request.
*/
uri_modifier?: (uri: string) => string;
// These properties are overwritten by those in the 'headers' field

@@ -232,2 +238,6 @@ /**

follow_if_same_protocol?: boolean;
/**
* Unless true, Needle will not follow redirects that point to same location (as set in the response header) as the original request URL. false by default.
*/
follow_if_same_location?: boolean;
}

@@ -234,0 +244,0 @@

4

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

@@ -39,4 +39,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "df839de4ee6b0e11145bd4a0ed49ad0ff18420a2b6367aaedcdf900befeb5cbc",
"typesPublisherContentHash": "f8f1c11bcdb4cee943338915386f1644aa492719980014b00d52c388e451a513",
"typeScriptVersion": "3.2"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Mon, 05 Oct 2020 08:30:52 GMT
* Last updated: Thu, 08 Oct 2020 07:40:58 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@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