Socket
Socket
Sign inDemoInstall

stubborn-fs

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stubborn-fs - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

2

dist/retryify.js

@@ -17,3 +17,3 @@ /* IMPORT */

if (isRetriableError(error)) {
const delay = Math.round(100 + (400 * Math.random()));
const delay = Math.round(100 * Math.random());
const delayPromise = new Promise(resolve => setTimeout(resolve, delay));

@@ -20,0 +20,0 @@ return delayPromise.then(() => attempt.apply(undefined, args));

@@ -5,3 +5,3 @@ {

"description": "Stubborn versions of Node's fs functions that try really hard to do their job.",
"version": "1.2.0",
"version": "1.2.1",
"type": "module",

@@ -8,0 +8,0 @@ "main": "dist/index.js",

@@ -32,3 +32,3 @@

const delay = Math.round ( 100 + ( 400 * Math.random () ) );
const delay = Math.round ( 100 * Math.random () );
const delayPromise = new Promise ( resolve => setTimeout ( resolve, delay ) );

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