@coana-tech/cli 14.12.191 → 14.12.193

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.mjs CHANGED
@@ -251523,7 +251523,7 @@ async function onlineScan(dependencyTree, apiKey, timeout) {
251523
251523
  }
251524
251524
 
251525
251525
  // dist/version.js
251526
- var version3 = "14.12.191";
251526
+ var version3 = "14.12.193";
251527
251527
 
251528
251528
  // dist/cli-core.js
251529
251529
  var { mapValues, omit, partition, pickBy: pickBy2 } = import_lodash15.default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coana-tech/cli",
3
- "version": "14.12.191",
3
+ "version": "14.12.193",
4
4
  "description": "Coana CLI",
5
5
  "type": "module",
6
6
  "bin": {
@@ -111463,7 +111463,7 @@ ${stderr}`);
111463
111463
  const reachedModules = JSON.parse(await readFile10(reachedModulesOutputFile, "utf8"));
111464
111464
  logger.debug("Reached modules", reachedModules);
111465
111465
  let [vulnAnalysisTime, vulnPathsTime] = [0, 0];
111466
- for (const run of diagnostics.runs) {
111466
+ for (const run of diagnostics.runs ?? []) {
111467
111467
  vulnAnalysisTime += run.vulnAnalysisTime;
111468
111468
  vulnPathsTime += run.vulnPathsTime;
111469
111469
  }
@@ -112748,13 +112748,13 @@ async function setupMambalade() {
112748
112748
  logger.debug("Creating Mambalade virtual environment");
112749
112749
  const python = await getPythonRequest();
112750
112750
  logger.debug(`Using Python interpreter: ${python}`);
112751
- await exec2(cmdt`${uvCommand} venv --python=${python} ${venvDir}`);
112751
+ await exec2(cmdt`${uvCommand} venv --no-project --no-config --python=${python} .`, venvDir);
112752
112752
  const mambaladeWheelsPath = ToolPathResolver.mambaladeDistPath;
112753
112753
  const mambaladeWheels = (await readdir4(mambaladeWheelsPath)).filter((f2) => f2.endsWith(".whl")).map((f2) => join17(mambaladeWheelsPath, f2));
112754
112754
  if (!mambaladeWheels.length)
112755
112755
  throw new Error(`No mambalade wheel files found in ${mambaladeWheelsPath}`);
112756
112756
  logger.debug(`Installing mambalade wheels: ${mambaladeWheels.join(", ")}`);
112757
- await execUvPipInstall(cmdt`${uvCommand} pip install --python=${venvDir}/bin/python --no-deps ${mambaladeWheels}`);
112757
+ await exec2(cmdt`${uvCommand} pip install --python=bin/python --no-config --no-deps ${mambaladeWheels}`, venvDir);
112758
112758
  logger.debug("Mambalade virtual environment setup complete");
112759
112759
  return venvDir;
112760
112760
  }