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

rerun

Package Overview
Dependencies
Maintainers
3
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.6 to 1.1.7

2

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

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

@@ -21,7 +21,7 @@ var Q = require('q');

if (error instanceof RejectError || error instanceof userRejectError || --retries <= 0) {
logger.error('Function execution failed permanently', {identifier: identifier})
logger.error('Function execution failed permanently', {identifier: identifier, error_message: error.message})
deferred.reject(error);
} else {
var timeToWait = randomizeRetry ? Math.random() * (timeout / 2) + (timeout / 2) : timeout;
logger.warn('Function execution failed', {retries: retries, wait_for: timeToWait, identifier: identifier})
logger.warn('Function execution failed', {retries: retries, wait_for: timeToWait, identifier: identifier, error_message: error.message})
Q.delay(timeToWait).then(function () { return toRetry() }).then(_succeed, _failed);

@@ -28,0 +28,0 @@ timeout *= factor;

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