Socket
Socket
Sign inDemoInstall

retry-as-promised

Package Overview
Dependencies
1
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.2.0 to 4.0.0

5

index.js

@@ -91,6 +91,3 @@ 'use strict';

var retryDelay = Math.pow(
options.backoffBase,
Math.pow(options.backoffExponent, options.$current - 1)
);
var retryDelay = options.backoffBase * Math.pow(options.backoffExponent, options.$current - 1);

@@ -97,0 +94,0 @@ // Do some accounting

2

package.json
{
"name": "retry-as-promised",
"version": "3.2.0",
"version": "4.0.0",
"description": "Retry a failed promise",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc