@coana-tech/cli 14.4.4 → 14.4.6
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 +5 -4
- 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.
|
|
207900
|
+
exports2.version = "14.4.6";
|
|
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
|
-
this.sendProgress("SCAN_FOR_VULNERABILITIES", true, subprojectPath);
|
|
208291
208290
|
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 () => {
|
|
208292
208291
|
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,9 +208300,10 @@ 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);
|
|
208303
208305
|
}
|
|
208304
|
-
})
|
|
208305
|
-
this.sendProgress("SCAN_FOR_VULNERABILITIES", false, subprojectPath);
|
|
208306
|
+
})));
|
|
208306
208307
|
const workspaceToDependencyTree = Object.fromEntries(workspacePaths.map((workspacePath) => [
|
|
208307
208308
|
workspacePath,
|
|
208308
208309
|
projectInfo[workspacePath].dataForAnalysis.dependencyTree
|