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

rerun

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rerun - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

package.json
{
"name": "rerun",
"description": "A retry library for node.js",
"version": "1.1.0",
"version": "1.1.1",
"author": "BigPanda <noam@bigpanda.io>",

@@ -6,0 +6,0 @@ "repository": {

@@ -13,5 +13,5 @@ var request = require('request');

if (response && response.statusCode == 400) {
return Q.reject(new RejectError('Status code: ' + response.statusCode + '. ' + (body ? 'body: ' + JSON.stringify(body) : '')));
return Q.reject(new RejectError({ message: 'Status code: ' + response.statusCode + '. ' + (body ? 'body: ' + JSON.stringify(body) : ''), response: response, body: body }));
} else if (response && response.statusCode >= 300) {
return Q.reject(new Error('Status code: ' + response.statusCode + '. ' + (body ? 'body: ' + JSON.stringify(body) : '')));
return Q.reject(new Error({ message: 'Status code: ' + response.statusCode + '. ' + (body ? 'body: ' + JSON.stringify(body) : ''), response: response, body: body }));
}

@@ -18,0 +18,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