Comparing version 0.8.3 to 0.8.4
#!/usr/bin/env node | ||
import { execFileSync, fork } from "node:child_process"; | ||
import { execFileSync, spawn } from "node:child_process"; | ||
import { createRequire } from "node:module"; | ||
@@ -24,5 +24,9 @@ | ||
const child = await fork(`node_modules/${cliModule}`, process.argv); | ||
await new Promise(() => { | ||
child.on("exit", (code) => process.exit(code)); | ||
}); | ||
const child = spawn( | ||
"node", | ||
[`node_modules/${cliModule}`, ...process.argv.slice(2)], | ||
{ | ||
stdio: "inherit", | ||
} | ||
); | ||
await new Promise(() => child.on("exit", (code) => process.exit(code))); |
{ | ||
"name": "queue-run", | ||
"description": "👋 Backends for JAMstack apps: APIs, job queues, scheduled jobs, WebSocket notifications, and more …", | ||
"version": "0.8.3", | ||
"version": "0.8.4", | ||
"exports": { | ||
@@ -60,3 +60,3 @@ ".": "./dist/index.js", | ||
], | ||
"gitHead": "ffb93894240dbead5e19f1f367e25da29952a192" | ||
"gitHead": "26303a98a829e58b1938b0339276e3db928e15d7" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3680056
37101