Comparing version 2.0.1-beta to 2.0.1-beta.2
@@ -28,7 +28,9 @@ #! /usr/bin/env node | ||
// invoke either the locally or the globally installed makfy, whichever is found first | ||
var cliMainModulePath = require.resolve("makfy/dist/bin/cliMain", { | ||
paths: [process.cwd()], | ||
}); | ||
// tslint:disable-next-line: no-submodule-imports | ||
var globalOrLocalMainAsync = require("makfy/dist/bin/cliMain") | ||
.mainAsync; | ||
var globalOrLocalMainAsync = require(cliMainModulePath).mainAsync; | ||
globalOrLocalMainAsync(argv).catch(function (err) { | ||
throw err; | ||
}); |
{ | ||
"name": "makfy", | ||
"version": "2.0.1-beta", | ||
"version": "2.0.1-beta.2", | ||
"description": "makfy - npm scripts on steroids!", | ||
@@ -5,0 +5,0 @@ "main": "dist/lib/index.js", |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
172864
3515
10