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

@zeit/fetch-retry

Package Overview
Dependencies
Maintainers
54
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zeit/fetch-retry - npm Package Compare versions

Comparing version 4.0.1 to 4.1.0

7

index.js

@@ -6,4 +6,4 @@ const retry = require('async-retry');

const MIN_TIMEOUT = 10;
const MAX_RETRIES = 3;
const FACTOR = 5;
const MAX_RETRIES = 5;
const FACTOR = 6;

@@ -19,3 +19,4 @@ module.exports = setup;

const retryOpts = Object.assign({
// timeouts will be [ 10, 50, 250 ]
// timeouts will be [10, 60, 360, 2160, 12960]
// (before randomization is added)
minTimeout: MIN_TIMEOUT,

@@ -22,0 +23,0 @@ retries: MAX_RETRIES,

{
"name": "@zeit/fetch-retry",
"version": "4.0.1",
"version": "4.1.0",
"license": "MIT",

@@ -13,3 +13,3 @@ "devDependencies": {

"dependencies": {
"async-retry": "^1.1.3",
"async-retry": "^1.3.1",
"debug": "^3.1.0"

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