Socket
Socket
Sign inDemoInstall

bull-arena

Package Overview
Dependencies
Maintainers
36
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bull-arena - npm Package Compare versions

Comparing version 4.0.1 to 4.1.0

2

package.json

@@ -69,3 +69,3 @@ {

"repository": "https://github.com/bee-queue/arena.git",
"version": "4.0.1"
"version": "4.1.0"
}

@@ -12,6 +12,8 @@ async function handler(req, res) {

try {
if (job.opts.repeat.key) {
await queue.removeRepeatableByKey(job.opts.repeat.key);
if (job.opts.repeat.key || job.repeatJobKey) {
await queue.removeRepeatableByKey(
job.opts.repeat.key || job.repeatJobKey
);
} else {
await queue.removeRepeatable(job.name, job.opts.repeat);
await queue.removeRepeatable(job.name, job.opts.repeat, job.opts.jobId);
}

@@ -18,0 +20,0 @@ return res.sendStatus(200);

@@ -141,3 +141,3 @@ const _ = require('lodash');

jobs[i].showPromoteButton = !queue.IS_BEE && jobState === 'delayed';
jobs[i].showDeleteRepeatableButton = queue.IS_BULL && jobs[i].opts.repeat;
jobs[i].showDeleteRepeatableButton = !queue.IS_BEE && jobs[i].opts.repeat;
jobs[i].parent = JobHelpers.getKeyProperties(jobs[i].parentKey);

@@ -144,0 +144,0 @@ }

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