Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

queue-run

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

queue-run - npm Package Compare versions

Comparing version 0.8.1 to 0.8.2

8

bin/cli.js
#!/usr/bin/env node
import { execFileSync } from "node:child_process";
import { createRequire } from "node:module";

@@ -7,5 +8,5 @@ // CLI is provided by queue-run-cli, separate package, keep queue-run smaller.

try {
await import(cliModule);
createRequire(import.meta.url).resolve(cliModule);
} catch (error) {
if (error instanceof Error && error.code === "ERR_MODULE_NOT_FOUND") {
if (error instanceof Error && error.code === "MODULE_NOT_FOUND") {
// On first use, we install queue-run-cli. We don't update package.json, if you

@@ -21,4 +22,5 @@ // nuke node_modules, we'll just install again.

);
await import(cliModule);
} else throw error;
}
await import(cliModule);
{
"name": "queue-run",
"description": "👋 Backends for JAMstack apps: APIs, job queues, scheduled jobs, WebSocket notifications, and more …",
"version": "0.8.1",
"version": "0.8.2",
"exports": {

@@ -60,3 +60,3 @@ ".": "./dist/index.js",

],
"gitHead": "55cbf728b06a1a9189a1922fcca181d47f3bac6d"
"gitHead": "777d57d6e70fb289d609e73e24698f51a6f06534"
}
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