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

q-http

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

q-http - npm Package Compare versions

Comparing version 0.1.14 to 0.1.15

2

package.json
{
"name": "q-http",
"version": "0.1.14",
"version": "0.1.15",
"description": "Q promise based HTTP client and server interface",

@@ -5,0 +5,0 @@ "homepage": "http://github.com/kriskowal/q-http/",

@@ -333,4 +333,7 @@ /**

return Q.when(exports.request(request), function (response) {
if (!qualifier(response))
throw new Error(response);
if (!qualifier(response)){
var error = new Error("HTTP request failed with code " + response.status);
error.response = response;
throw error;
}
return Q.post(response.body, 'read', []);

@@ -337,0 +340,0 @@ });

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