@types/needle
Advanced tools
Comparing version 2.5.0 to 2.5.1
@@ -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 @@ |
{ | ||
"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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15676
319