@coana-tech/cli 13.19.23 → 13.19.25

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.
Files changed (2) hide show
  1. package/cli.js +8 -6
  2. package/package.json +1 -1
package/cli.js CHANGED
@@ -95772,7 +95772,7 @@ var init_other_modules_communicator = __esm({
95772
95772
  subprojectPath,
95773
95773
  [...args2, "-o", outputFilePath],
95774
95774
  extraDockerArgs,
95775
- env
95775
+ { ...env ?? process.env, COANA_REPORT_ID: this.options.reportId, COANA_API_KEY: this.options.apiKey }
95776
95776
  );
95777
95777
  return JSON.parse(await (0, import_promises11.readFile)(outputFilePath, "utf-8")).result;
95778
95778
  }
@@ -95888,7 +95888,7 @@ var init_other_modules_communicator = __esm({
95888
95888
  workspacePaths
95889
95889
  );
95890
95890
  }
95891
- async runReachabilityAnalysis(subprojectPath, workspacePath, workspaceData, vulnerabilities, reachabilityAnalysisOptions, otherAnalysisOptions, reportId, apiKey) {
95891
+ async runReachabilityAnalysis(subprojectPath, workspacePath, workspaceData, vulnerabilities, reachabilityAnalysisOptions, otherAnalysisOptions) {
95892
95892
  const tmpDir = await this.getTmpDirForSubproject(subprojectPath);
95893
95893
  const inputFile = (0, import_path20.join)(tmpDir, "input.json");
95894
95894
  await (0, import_promises11.writeFile)(
@@ -95906,7 +95906,7 @@ var init_other_modules_communicator = __esm({
95906
95906
  subprojectPath,
95907
95907
  workspacePath,
95908
95908
  argt`-i ${inputFile}`,
95909
- { ...process.env, COANA_REPORT_ID: reportId, COANA_API_KEY: apiKey }
95909
+ { ...process.env, COANA_REPORT_ID: this.options.reportId, COANA_API_KEY: this.options.apiKey }
95910
95910
  );
95911
95911
  }
95912
95912
  };
@@ -190235,7 +190235,7 @@ var require_version = __commonJS({
190235
190235
  "use strict";
190236
190236
  Object.defineProperty(exports2, "__esModule", { value: true });
190237
190237
  exports2.version = void 0;
190238
- exports2.version = "13.19.23";
190238
+ exports2.version = "13.19.25";
190239
190239
  }
190240
190240
  });
190241
190241
 
@@ -190395,7 +190395,9 @@ var require_cli_core = __commonJS({
190395
190395
  runWithoutDocker: this.options.runWithoutDocker,
190396
190396
  debug: this.options.debug,
190397
190397
  silent: this.options.silent,
190398
- coanaLogPath: this.coanaLogPath
190398
+ coanaLogPath: this.coanaLogPath,
190399
+ reportId: this.reportId,
190400
+ apiKey: this.options.apiKey
190399
190401
  });
190400
190402
  const startTime = (/* @__PURE__ */ new Date()).toISOString();
190401
190403
  this.sendProgress("CREATE_PROJECT_MANAGER", true);
@@ -190647,7 +190649,7 @@ var require_cli_core = __commonJS({
190647
190649
  }, {
190648
190650
  disableBucketing: !!this.options.disableAnalysisSplitting,
190649
190651
  lightweightReachability: this.options.lightweightReachability
190650
- }, this.reportId, this.options.apiKey);
190652
+ });
190651
190653
  this.sendProgress("REACHABILITY_ANALYSIS", false, subprojectPath, workspacePath);
190652
190654
  return res;
190653
190655
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coana-tech/cli",
3
- "version": "13.19.23",
3
+ "version": "13.19.25",
4
4
  "description": "Coana CLI",
5
5
  "bin": {
6
6
  "@coana-tech/cli": "./cli.js"