Socket
Socket
Sign inDemoInstall

request-promise

Package Overview
Dependencies
Maintainers
6
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

request-promise - npm Package Compare versions

Comparing version 4.1.1 to 4.2.0

4

package.json
{
"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

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