it-parallel
Advanced tools
Comparing version 3.0.0 to 3.0.1
{ | ||
"name": "it-parallel", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Takes an (async) iterable that emits promise-returning functions, invokes them in parallel up to the concurrency limit and emits the results as they become available, optionally in the same order as the input", | ||
@@ -141,3 +141,3 @@ "author": "Alex Potsides <alex@achingbrain.net>", | ||
"devDependencies": { | ||
"aegir": "^37.5.0", | ||
"aegir": "^38.1.7", | ||
"delay": "^5.0.0", | ||
@@ -144,0 +144,0 @@ "it-all": "^2.0.0" |
@@ -86,3 +86,3 @@ /* global EventTarget Event */ | ||
function valuesAvailable () { | ||
function valuesAvailable (): boolean { | ||
if (ordered) { | ||
@@ -95,3 +95,3 @@ return ops[0]?.done | ||
function * yieldOrderedValues () { | ||
function * yieldOrderedValues (): Generator<T, void, unknown> { | ||
while ((ops.length > 0) && ops[0].done) { | ||
@@ -115,3 +115,3 @@ const op = ops[0] | ||
function * yieldUnOrderedValues () { | ||
function * yieldUnOrderedValues (): Generator<T, void, unknown> { | ||
// more values can become available while we wait for `yield` | ||
@@ -118,0 +118,0 @@ // to return control to this function |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
18017
0