@coana-tech/cli 13.19.11 → 13.19.13
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 +3 -3
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -190165,12 +190165,12 @@ var require_vulnerability_scanning = __commonJS({
|
|
|
190165
190165
|
async function scanForVulnerabilities(dependencyTree, offlineVulnerabilityScannerDBPath, apiKey, timeout) {
|
|
190166
190166
|
try {
|
|
190167
190167
|
if (offlineVulnerabilityScannerDBPath) {
|
|
190168
|
-
return offlineScan(dependencyTree, offlineVulnerabilityScannerDBPath);
|
|
190168
|
+
return await offlineScan(dependencyTree, offlineVulnerabilityScannerDBPath);
|
|
190169
190169
|
} else {
|
|
190170
190170
|
if (!apiKey || !timeout) {
|
|
190171
190171
|
throw new Error("API key and a timeout value is required for online vulnerability scanning");
|
|
190172
190172
|
}
|
|
190173
|
-
return onlineScan(dependencyTree, apiKey, timeout);
|
|
190173
|
+
return await onlineScan(dependencyTree, apiKey, timeout);
|
|
190174
190174
|
}
|
|
190175
190175
|
} catch (e) {
|
|
190176
190176
|
logger_singleton_1.logger.error("Error during vulnerability scanning", e);
|
|
@@ -190204,7 +190204,7 @@ var require_version = __commonJS({
|
|
|
190204
190204
|
"use strict";
|
|
190205
190205
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
190206
190206
|
exports2.version = void 0;
|
|
190207
|
-
exports2.version = "13.19.
|
|
190207
|
+
exports2.version = "13.19.13";
|
|
190208
190208
|
}
|
|
190209
190209
|
});
|
|
190210
190210
|
|