Scan your whole stack
Are you using @dads-framework/job-queue?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.6.1
@dads-framework/job-queue was last scanned on 24 Nov 2026 at version 0.6.1. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.6.1 LATEST | 24 Nov 2026 | No rules fired |
| 0.6.0 | 24 Nov 2026 | No rules fired |
| 0.5.1 | 23 Nov 2026 | No rules fired |
| 0.5.0 | 23 Nov 2026 | Not shown |
| 0.4.0 | 23 Nov 2026 | Not shown |
Findings for v0.6.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.6.1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
JobQueue: register typed definitions, start recurring schedules, enqueue
named work, inspect progress, and close on shutdown. Drivers by env:
in-process (tests/dev; non-durable) and bullmq (Redis; durable retries).
A job parses its payload and calls one mutation — business logic never lives
here. Each application owns a stable queue name. Set worker concurrency and
Redis history bounds explicitly.
In a project using Node.js 22 or later, install the example dependencies.
npm install @dads-framework/job-queue zod@4
npm install -D tsx
Save this as example.mts and run npx tsx example.mts.
import { createJobQueue, defineJob } from "@dads-framework/job-queue";
import { z } from "zod";
const queue = createJobQueue(
{ driver: "in-process", queueName: "reports" },
{
info: () => undefined,
error: console.error,
},
);
queue.register([
defineJob({
name: "report-ready",
payload: z.object({ reportId: z.string() }),
retry: { attempts: 1, backoffMs: 1 },
schedules: [],
run: async ({ reportId }) => {
console.log(`Report ${reportId} is ready`);
},
}),
]);
await queue.start();
try {
await queue.enqueue("report-ready", { reportId: "daily" });
} finally {
await queue.close();
}
console.log((await queue.inspect()).counts.completed);
The script prints Report daily is ready and 1 completed job. The in-process driver finishes accepted work on close and runs without Redis.
The starter creates the in-process queue and closes it when the service scope is disposed. apps/kit-workbench/assembly/local-services.ts
Import defineJob, JobQueue, and jobQueueService from @dads-framework/job-queue/core in
features that declare jobs or require a queue service token. The main entry point also
exports defineJob and JobQueue and provides createJobQueue for application wiring.
Install bullmq@^5.79.3, choose the bullmq driver, and supply redisUrl
when jobs must survive a process restart. The driver loads BullMQ on its
first Redis operation.
In tests, import FakeJobQueue from @dads-framework/job-queue/testing.
Call runEnqueued() to run recorded jobs. Custom drivers can use
JobRegistry from @dads-framework/job-queue/core/provider and verify
their contract with jobQueueConformance from
@dads-framework/job-queue/core/testing.
The in-process driver keeps jobs and schedules in memory. Persistence and retries require the BullMQ driver.
Register job definitions before start(). Job names and schedule IDs
must be unique. Enqueue work by registered name. Queue inspection returns
job and schedule metadata and counts. createJobQueue throws for an empty
queue name or a BullMQ configuration without a Redis URL.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.