Socket
Socket
Sign inDemoInstall

better-queue

Package Overview
Dependencies
Maintainers
2
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

better-queue - npm Package Compare versions

Comparing version 3.7.19 to 3.7.20

9

lib/queue.js

@@ -501,3 +501,10 @@ var uuid = require('node-uuid');

var self = this;
if (self.length >= self.batchSize) {
if (self.batchSize === 1 && self.batchDelay > 0) {
if (!self._batchTimeoutId) {
self._batchTimeoutId = setTimeout(function () {
self._batchTimeoutId = null;
self._processNextIfAllowed();
}, self.batchDelay)
}
} else if (self.length >= self.batchSize) {
if (self._batchTimeoutId) {

@@ -504,0 +511,0 @@ clearTimeout(self._batchTimeoutId);

2

package.json
{
"name": "better-queue",
"version": "3.7.19",
"version": "3.7.20",
"description": "Better Queue for NodeJS",

@@ -5,0 +5,0 @@ "main": "lib/queue.js",

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