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 3.12.1 to 3.13.0

8

CHANGELOG.md
# Changelog
## v.3.13.0
feat: add "preventParsingData" job option to prevent data parsing
fix: queue.clean clean job logs as well
fix: whenCurrentJobsFinished should wait for all jobs
[Changes](https://github.com/OptimalBits/bull/compare/v3.12.1...v3.13.0)
## v.3.12.1

@@ -4,0 +12,0 @@

4

lib/job.js

@@ -559,4 +559,6 @@ 'use strict';

Job.fromJSON = function(queue, json, jobId) {
const data = JSON.parse(json.data || '{}');
const opts = JSON.parse(json.opts || '{}');
const data = opts.preventParsingData
? json.data
: JSON.parse(json.data || '{}');

@@ -563,0 +565,0 @@ const job = new Job(queue, json.name || Job.DEFAULT_JOB_NAME, data, opts);

@@ -673,3 +673,4 @@ 'use strict';

endDate?: Date | string | number
}
},
preventParsingData: boolean;
}

@@ -1195,3 +1196,3 @@ */

return Promise.all([this.processing[0]]).then(() => {
return Promise.all(this.processing).then(() => {
return forcedReconnection;

@@ -1198,0 +1199,0 @@ });

{
"name": "bull",
"version": "3.12.1",
"version": "3.13.0",
"description": "Job manager",

@@ -25,18 +25,18 @@ "engines": {

"debuglog": "^1.0.0",
"get-port": "^5.0.0",
"get-port": "^5.1.1",
"ioredis": "^4.14.1",
"lodash": "^4.17.15",
"p-timeout": "^3.1.0",
"promise.prototype.finally": "^3.1.1",
"p-timeout": "^3.2.0",
"promise.prototype.finally": "^3.1.2",
"semver": "^6.3.0",
"util.promisify": "^1.0.0",
"uuid": "^3.3.3"
"util.promisify": "^1.0.1",
"uuid": "^3.4.0"
},
"devDependencies": {
"@commitlint/cli": "^7.5.2",
"@commitlint/config-conventional": "^7.5.0",
"@commitlint/cli": "^7.6.1",
"@commitlint/config-conventional": "^7.6.0",
"chai": "^4.2.0",
"coveralls": "^3.0.6",
"coveralls": "^3.0.9",
"delay": "^4.3.0",
"eslint": "^5.12.1",
"eslint": "^5.16.0",
"eslint-plugin-mocha": "^6.2.1",

@@ -48,8 +48,8 @@ "eslint-plugin-node": "^8.0.1",

"lint-staged": "^8.2.1",
"mocha": "^6.2.0",
"mocha": "^6.2.2",
"mocha-lcov-reporter": "^1.3.0",
"moment": "^2.24.0",
"p-reflect": "^1.0.0",
"prettier": "^1.18.2",
"sinon": "^7.4.2"
"prettier": "^1.19.1",
"sinon": "^7.5.0"
},

@@ -56,0 +56,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

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