request-promise
Advanced tools
Comparing version 4.1.1 to 4.2.0
{ | ||
"name": "request-promise", | ||
"version": "4.1.1", | ||
"version": "4.2.0", | ||
"description": "The simplified HTTP request client 'request' with Promise support. Powered by Bluebird.", | ||
@@ -37,3 +37,3 @@ "keywords": [ | ||
"request-promise-core": "1.1.1", | ||
"bluebird": "^3.4.1", | ||
"bluebird": "^3.5.0", | ||
"stealthy-require": "^1.0.0" | ||
@@ -40,0 +40,0 @@ }, |
@@ -56,2 +56,4 @@ <a href="http://promisesaplus.com/"> | ||
Since `request-promise` wraps around `request` everything that works with `request` also works with `request-promise`. Also check out the [`request` docs](https://github.com/request/request) for more examples. | ||
### Crawl a webpage | ||
@@ -432,2 +434,3 @@ | ||
// FIXME: The content type string could contain additional values like the charset. | ||
// Consider using the `content-type` library for a robust comparison. | ||
if (response.headers['content-type'] === 'application/json') { | ||
@@ -580,2 +583,5 @@ return JSON.parse(body); | ||
- v4.2.0 (2017-03-16) | ||
- Updated `bluebird` to v3.5 | ||
*(Thanks to @acinader for [pull request #181](https://github.com/request/request-promise/pull/181))* | ||
- v4.1.1 (2016-08-08) | ||
@@ -582,0 +588,0 @@ - Renamed internally used package `@request/promise-core` to `request-promise-core` because there where [too](https://github.com/request/request-promise/issues/137) [many](https://github.com/request/request-promise/issues/141) issues with the scoped package name |
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
33229
666
Updatedbluebird@^3.5.0