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-2 to 0.0.6-3

2

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

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

@@ -20,3 +20,3 @@ # Re

var retry = require('re'),
re = retry.Re();
re = new retry.Re();

@@ -42,3 +42,3 @@ re.try(function(retryCount, fail, callback){

The `retryCount` argument is the number if the current retry. It'll be zero the first time
The `retryCount` argument is the number of the current retry. It'll be zero the first time
and get bigger every time.

@@ -73,3 +73,4 @@

var re = new retry.Re(options);
var retry = require('re'),
re = new retry.Re(options);

@@ -76,0 +77,0 @@ This gives you 10 retries and an exponential backoff strategy with the following progression (in milliseconds): 100, 200,

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