Scan your whole stack
From OX Research Newsroom
Are you using @open-mercato/queue?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.11.1-develop.8477.1.a433fc7e8d
@open-mercato/queue was last scanned on 23 Nov 2026 at version 0.11.1-develop.8477.1.a433fc7e8d. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.11.1-develop.8477.1.a433fc7e8d LATEST | 23 Nov 2026 | No rules fired |
| 0.11.1-develop.8473.1.9f90793385 | 23 Nov 2026 | No rules fired |
| 0.11.1-develop.8464.1.b5786bcf1c | 23 Nov 2026 | Not shown |
| 0.11.1-develop.8463.1.fc649816ca | 23 Nov 2026 | Not shown |
| 0.11.1-develop.8462.1.d65a909e61 | 23 Nov 2026 | Not shown |
Findings for v0.11.1-develop.8477.1.a433fc7e8d. 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.11.1-develop.8477.1.a433fc7e8d; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Flexible job queue runtime for local and distributed execution.
@open-mercato/queue provides a unified queue API with strategy support (local or BullMQ), worker contracts, and scalable background processing.
A job that recomputes something from current state — an order total, a cached projection, a search document, a realtime broadcast — does not need to run once per trigger. It needs to run once per burst, on the latest state. Give the enqueue a key and repeated triggers collapse into the job already outstanding for it:
await queue.enqueue({ orderId }, { coalesce: { key: `order-totals:${orderId}` } })
Ten triggers in a minute then produce at most two runs instead of ten — and none of them is lost. Triggers arriving while a job for the key is merely waiting need no run of their own, because that job has not read anything yet. Triggers arriving while it is running are parked, and exactly one follow-up run starts when it finishes, carrying the latest payload.
Declare the key once on the queue and no call site can forget it:
const queue = createModuleQueue<RecalculateTotals>('order-totals', {
coalesceBy: (payload) => `order-totals:${payload.orderId}`,
})
Both strategies implement this — the async one through BullMQ, the local one on its file-backed
store — so development behaves like production. The async path uses BullMQ's keepLastIfActive,
which is why the bullmq peer range starts at 5.72.0: older versions ignore the flag and
silently fall back to dropping the mid-run trigger.
Do not combine coalesce with delayMs. Collapsing an enqueue collapses its schedule too, and the
strategies resolve that differently — local takes the earlier of the two moments, async leaves the
surviving job on its own. Nothing is dropped either way, but the delay a burst ends up with is not
well defined. Give delayed work its own key, or no key.
yarn add @open-mercato/queue
MIT
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.