New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

promise-queue

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

promise-queue - npm Package Compare versions

Comparing version 2.2.3 to 2.2.4

6

lib/index.js

@@ -72,3 +72,4 @@ /* global define, Promise */

*/
function Queue(maxPendingPromises, maxQueuedPromises) {
function Queue(maxPendingPromises, maxQueuedPromises, options) {
this.options = options = options || {};
this.pendingPromises = 0;

@@ -144,2 +145,5 @@ this.maxPendingPromises = typeof maxPendingPromises !== 'undefined' ? maxPendingPromises : Infinity;

if (!item) {
if (this.options.onEmpty) {
this.options.onEmpty();
}
return false;

@@ -146,0 +150,0 @@ }

2

package.json

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

"name": "promise-queue",
"version": "2.2.3",
"version": "2.2.4",
"contributors": [

@@ -8,0 +8,0 @@ "Mikhail Davydov <i@azproduction.ru>"

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