Socket
Socket
Sign inDemoInstall

p-queue

Package Overview
Dependencies
Maintainers
2
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

p-queue - npm Package Compare versions

Comparing version 2.4.0 to 2.4.1

25

index.js

@@ -96,12 +96,17 @@ 'use strict';

Promise.resolve(fn()).then(
val => {
resolve(val);
this._next();
},
err => {
reject(err);
this._next();
}
);
try {
Promise.resolve(fn()).then(
val => {
resolve(val);
this._next();
},
err => {
reject(err);
this._next();
}
);
} catch (err) {
reject(err);
this._next();
}
};

@@ -108,0 +113,0 @@

2

package.json
{
"name": "p-queue",
"version": "2.4.0",
"version": "2.4.1",
"description": "Promise queue with concurrency control",

@@ -5,0 +5,0 @@ "license": "MIT",

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