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

re

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

re - npm Package Compare versions

Comparing version 0.0.6-6 to 0.0.6-7

5

lib/re.js

@@ -50,7 +50,5 @@ exports.RETRY_STRATEGY = RETRY_STRATEGY = {CONSTANT: 0, EXPONENTIAL: 1, LINEAR: 2};

callback = callback || function () {};
try{
operation(this.retry, fail, callback);
} catch(err) {
console.log("EXCEPTIONS BIATCH!")
fail(err);

@@ -63,4 +61,2 @@ }

callback = callback || function () {};
operation(this.retry, fail, callback);

@@ -74,2 +70,3 @@ }

callback = callback || function () {};

@@ -76,0 +73,0 @@ if(self.retry < self.maxRetries){

2

package.json
{
"name": "re",
"description": "Do it again, after a bit.",
"version": "0.0.6-6",
"version": "0.0.6-7",
"main": "./lib/re",

@@ -6,0 +6,0 @@ "keywords": ["utility", "retry", "exponential backoff", "linear backoff"],

@@ -7,3 +7,3 @@ var retry = require('../lib/re');

"initial":100,
"base":1.7102
"base":2
},

@@ -10,0 +10,0 @@ options = {"timeout": 10000, "retries": 10, "retryStrategy": strategy},

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