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

it-parallel

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

it-parallel - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

4

package.json
{
"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

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