🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

moderndash

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

moderndash - npm Package Compare versions

Comparing version

to
0.7.2

7

dist/index.d.ts

@@ -549,3 +549,3 @@ /**

* const promise2 = Promise.resolve(2);
* const promise2 = Promise.resolve(3);
* const promise3 = Promise.resolve(3);
*

@@ -573,3 +573,4 @@ * const firstThree = await races(3, promise1, promise2, promise3);

* const response = await fetch(url);
* response.ok || throw new Error('Failed to fetch');
* if(!response.ok)
* throw new Error('Failed to fetch');
* }

@@ -579,3 +580,3 @@ *

*
* await retry(() => fetchSite('https://example.com'), { maxRetries: 3, backoff: retries => retries * 1000, onRetry: logger }));
* await retry(() => fetchSite('https://example.com'), { maxRetries: 3, backoff: retries => retries * 1000, onRetry: logger });
* // => Will retry 3 times with a 1 second delay between each retry. Will log the error and retry number.

@@ -582,0 +583,0 @@ *

@@ -51,3 +51,3 @@ {

},
"version": "0.7.1"
"version": "0.7.2"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet