npm-run-all2
Advanced tools
Comparing version 6.0.3 to 6.0.4
@@ -156,3 +156,5 @@ /** | ||
// Execute. | ||
const npmPath = options.npmPath || process.env.NPM_CLI_JS || process.env.npm_execpath //eslint-disable-line no-process-env | ||
const npmPath = options.npmPath || path.basename(process.env.npm_execpath).startsWith("npx") //eslint-disable-line no-process-env | ||
? path.join(path.dirname(process.env.npm_execpath), path.basename(process.env.npm_execpath).replace("npx", "npm")) //eslint-disable-line no-process-env | ||
: process.env.npm_execpath //eslint-disable-line no-process-env | ||
const npmPathIsJs = typeof npmPath === "string" && /\.m?js/.test(path.extname(npmPath)) | ||
@@ -159,0 +161,0 @@ const execPath = (npmPathIsJs ? process.execPath : npmPath || "npm") |
{ | ||
"name": "npm-run-all2", | ||
"version": "6.0.3", | ||
"version": "6.0.4", | ||
"description": "A CLI tool to run multiple npm-scripts in parallel or sequential. (Maintainence fork)", | ||
@@ -5,0 +5,0 @@ "bin": { |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
94222
1744
9