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.3 to 3.2.0

24

needle/index.d.ts

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

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

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

// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2

@@ -210,9 +209,11 @@ /// <reference types="node" />

* as part of the following request.
* false by default.
*
* @default false
*/
follow_set_cookie?: boolean | undefined;
follow_set_cookies?: boolean | undefined;
/**
* Sets the 'Referer' header to the requested URI
* when following a redirect.
* false by default.
*
* @default false
*/

@@ -223,3 +224,4 @@ follow_set_referer?: boolean | undefined;

* instead of being rewritten to get with no data.
* false by default.
*
* @default false
*/

@@ -230,3 +232,4 @@ follow_keep_method?: boolean | undefined;

* as the original request.
* false by default.
*
* @default false
*/

@@ -237,7 +240,10 @@ follow_if_same_host?: boolean | undefined;

* as the original request.
* false by default.
*
* @default false
*/
follow_if_same_protocol?: boolean | undefined;
/**
* 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.
* Unless true, Needle will not follow redirects that point to same location (as set in the response header) as the original request URL.
*
* @default false
*/

@@ -244,0 +250,0 @@ follow_if_same_location?: boolean | undefined;

{
"name": "@types/needle",
"version": "2.5.3",
"version": "3.2.0",
"description": "TypeScript definitions for needle",

@@ -40,4 +40,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/needle",

},
"typesPublisherContentHash": "fe7ead526d3bd532472aa9fecffab7eb599373746a28d94138fc1f29b9a97c3a",
"typeScriptVersion": "3.8"
"typesPublisherContentHash": "42624e97635ef2ca8f23ef25c99473ee054bcdafd68331bceafd564e5c4fa42f",
"typeScriptVersion": "4.2"
}

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

### Additional Details
* Last updated: Tue, 01 Feb 2022 19:31:27 GMT
* Last updated: Sat, 10 Dec 2022 10:32:56 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