@coana-tech/cli 14.0.12 → 14.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.js +10 -4
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -95704,7 +95704,15 @@ var init_constants3 = __esm({
|
|
|
95704
95704
|
REACHABILITY_ANALYZERS_SCRIPT_PATH = (0, import_lodash6.once)(() => {
|
|
95705
95705
|
return process.env.REACHABILITY_ANALYZERS_SCRIPT_PATH ?? (0, import_path19.resolve)(COANA_ROOT2(), "packages", "reachability-analyzers", "dist", "reachability-analyzers-cli.js");
|
|
95706
95706
|
});
|
|
95707
|
-
DOCKER_ENV_WHITE_LIST = [
|
|
95707
|
+
DOCKER_ENV_WHITE_LIST = [
|
|
95708
|
+
"GITHUB_",
|
|
95709
|
+
"GH_",
|
|
95710
|
+
"SSH_",
|
|
95711
|
+
"_PASSWORD",
|
|
95712
|
+
"_USER",
|
|
95713
|
+
"COANA_REPORT_ID",
|
|
95714
|
+
"COANA_API_KEY"
|
|
95715
|
+
];
|
|
95708
95716
|
}
|
|
95709
95717
|
});
|
|
95710
95718
|
|
|
@@ -99465,8 +99473,6 @@ var init_other_modules_communicator = __esm({
|
|
|
99465
99473
|
async runInDocker(ecosystem, image, entryPoint, commandName, args2, subprojectPath, tmpDir, env = process.env) {
|
|
99466
99474
|
if (!await pullDockerImage(image)) return false;
|
|
99467
99475
|
const envArgs = Object.keys(process.env).filter((key) => DOCKER_ENV_WHITE_LIST.some((whiteListedKey) => key.includes(whiteListedKey))).flatMap((key) => ["-e", key]);
|
|
99468
|
-
if (this.options.reportId) envArgs.push("-e", `COANA_REPORT_ID="${this.options.reportId}"`);
|
|
99469
|
-
if (this.options.apiKey) envArgs.push("-e", `COANA_API_KEY="${this.options.apiKey}"`);
|
|
99470
99476
|
const cmd = cmdt`docker run --pull=never --rm -v ${this.rootWorkingDir}:/project -v ${tmpDir}:${tmpDir}
|
|
99471
99477
|
-v=${this.options.coanaLogPath}:${this.options.coanaLogPath}
|
|
99472
99478
|
${await getEcosystemSpecificDockerArgs(ecosystem)}
|
|
@@ -193982,7 +193988,7 @@ var require_version = __commonJS({
|
|
|
193982
193988
|
"use strict";
|
|
193983
193989
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
193984
193990
|
exports2.version = void 0;
|
|
193985
|
-
exports2.version = "14.0.
|
|
193991
|
+
exports2.version = "14.0.14";
|
|
193986
193992
|
}
|
|
193987
193993
|
});
|
|
193988
193994
|
|