@coana-tech/cli 14.4.3 → 14.4.4

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 +5 -6
  2. package/package.json +1 -1
package/cli.js CHANGED
@@ -207897,7 +207897,7 @@ var require_version = __commonJS({
207897
207897
  "use strict";
207898
207898
  Object.defineProperty(exports2, "__esModule", { value: true });
207899
207899
  exports2.version = void 0;
207900
- exports2.version = "14.4.3";
207900
+ exports2.version = "14.4.4";
207901
207901
  }
207902
207902
  });
207903
207903
 
@@ -208287,9 +208287,9 @@ var require_cli_core = __commonJS({
208287
208287
  }));
208288
208288
  if (this.shareWithDashboard)
208289
208289
  (0, dashboard_integration_1.sendDependencyTreesToDashboard)(dependencyTrees, this.reportId, this.apiKey);
208290
- const workspaceToVulnerabilities = Object.fromEntries(await (0, async_1.asyncMap)(workspacePaths, async (workspacePath) => this.spinner.wrap(`Scanning for vulnerabilities: (${subProjAndWsPath.packageManagerName}) ${(0, path_1.join)(subProjAndWsPath.subprojectPath, workspacePath)}`, async () => {
208290
+ this.sendProgress("SCAN_FOR_VULNERABILITIES", true, subprojectPath);
208291
+ const workspaceToVulnerabilities = Object.fromEntries(await (0, async_1.asyncMap)(workspacePaths, async (workspacePath, idx) => this.spinner.wrap(`Scanning for vulnerabilities: (${subProjAndWsPath.packageManagerName}) (${idx + 1}/${workspacePaths.length}) ${workspacePath}`, async () => {
208291
208292
  const dependencyTree = projectInfo[workspacePath].dataForAnalysis.dependencyTree;
208292
- this.sendProgress("SCAN_FOR_VULNERABILITIES", true, subprojectPath, workspacePath);
208293
208293
  try {
208294
208294
  return [
208295
208295
  workspacePath,
@@ -208300,10 +208300,9 @@ var require_cli_core = __commonJS({
208300
208300
  logger_singleton_1.logger.error(JSON.stringify(dependencyTree, null, 2));
208301
208301
  await new Promise((resolve18) => setTimeout(resolve18, 1e4));
208302
208302
  throw e;
208303
- } finally {
208304
- this.sendProgress("SCAN_FOR_VULNERABILITIES", false, subprojectPath, workspacePath);
208305
208303
  }
208306
- })));
208304
+ }), 50));
208305
+ this.sendProgress("SCAN_FOR_VULNERABILITIES", false, subprojectPath);
208307
208306
  const workspaceToDependencyTree = Object.fromEntries(workspacePaths.map((workspacePath) => [
208308
208307
  workspacePath,
208309
208308
  projectInfo[workspacePath].dataForAnalysis.dependencyTree
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coana-tech/cli",
3
- "version": "14.4.3",
3
+ "version": "14.4.4",
4
4
  "description": "Coana CLI",
5
5
  "bin": {
6
6
  "@coana-tech/cli": "./cli.js"