Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bluereq

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bluereq - npm Package Compare versions

Comparing version 2.1.8 to 2.1.9

3

lib/promisified_request.js

@@ -9,3 +9,4 @@ const request = require('request')

'headers',
'body'
'body',
'elapsedTime'
]

@@ -12,0 +13,0 @@

{
"name": "bluereq",
"version": "2.1.8",
"version": "2.1.9",
"description": "A bluebird promise wrapper for HTTP requests",

@@ -5,0 +5,0 @@ "main": "lib/bluereq.js",

@@ -23,2 +23,10 @@ const should = require('should')

})
it('has an elapsedTime when a timer is requested', done => {
bluereq.get({ url: invalidConfig.url, time: true })
.catch(err => {
should(err.elapsedTime).be.a.Number()
done()
})
})
})

Sorry, the diff of this file is not supported yet

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