Socket
Socket
Sign inDemoInstall

@bull-board/api

Package Overview
Dependencies
Maintainers
1
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bull-board/api - npm Package Compare versions

Comparing version 3.2.5 to 3.2.6

10

dist/src/handlers/queues.js

@@ -5,2 +5,3 @@ "use strict";

const redis_info_1 = require("redis-info");
const statuses_1 = require("../constants/statuses");
const metrics = [

@@ -44,3 +45,10 @@ 'redis_version',

};
const allStatuses = ['active', 'completed', 'delayed', 'failed', 'paused', 'waiting'];
const allStatuses = [
statuses_1.STATUSES.active,
statuses_1.STATUSES.completed,
statuses_1.STATUSES.delayed,
statuses_1.STATUSES.failed,
statuses_1.STATUSES.paused,
statuses_1.STATUSES.waiting,
];
const JOB_PER_PAGE = 10;

@@ -47,0 +55,0 @@ function getPagination(statuses, counts, currentPage) {

3

dist/src/handlers/retryAll.js

@@ -5,4 +5,5 @@ "use strict";

const queue_1 = require("../providers/queue");
const statuses_1 = require("../constants/statuses");
async function retryAll(_req, queue) {
const jobs = await queue.getJobs(['failed']);
const jobs = await queue.getJobs([statuses_1.STATUSES.failed]);
await Promise.all(jobs.map((job) => job.retry()));

@@ -9,0 +10,0 @@ return { status: 200, body: {} };

{
"name": "@bull-board/api",
"version": "3.2.5",
"version": "3.2.6",
"description": "Core server APIs of bull-board",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

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