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

bull

Package Overview
Dependencies
Maintainers
1
Versions
198
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bull - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

8

CHANGELOG.md

@@ -0,1 +1,8 @@

v.2.1.1
=======
- Catch errors produced in timers. Related to #441
[Changes](https://github.com/OptimalBits/bull/compare/v2.1.0...v2.1.1)
v.2.1.0

@@ -19,3 +26,2 @@ =======

v.1.1.3

@@ -22,0 +28,0 @@ =======

4

lib/job.js

@@ -130,3 +130,5 @@ /*eslint-env node */

.then(function(lock) {
if (lock) _this.lock = lock;
if (lock){
_this.lock = lock;
}
return lock || false;

@@ -133,0 +135,0 @@ });

@@ -295,3 +295,3 @@ /**

if (lock) {
return Promise.resolve(null);
return Promise.resolve(lock);
}

@@ -298,0 +298,0 @@

@@ -80,3 +80,7 @@ /*eslint-env node */

timerInstance.clear(timeoutId);
fn();
try{
fn();
}catch(err){
console.error(err);
}
}, delay, this, id);

@@ -83,0 +87,0 @@

{
"name": "bull",
"version": "2.1.0",
"version": "2.1.1",
"description": "Job manager",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -439,3 +439,3 @@ Bull Job Manager

backoff.type {String} Backoff type, which can be either `fixed` or `exponential`
backoff.delay {String} Backoff delay, in milliseconds
backoff.delay {Number} Backoff delay, in milliseconds

@@ -442,0 +442,0 @@ lifo {Boolean} A boolean which, if true, adds the job to the right of the queue

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