@coana-tech/cli 14.12.98 → 14.12.99

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
@@ -250078,7 +250078,7 @@ async function onlineScan(dependencyTree, apiKey, timeout) {
250078
250078
  }
250079
250079
 
250080
250080
  // dist/version.js
250081
- var version3 = "14.12.98";
250081
+ var version3 = "14.12.99";
250082
250082
 
250083
250083
  // dist/cli-core.js
250084
250084
  var { mapValues, omit, partition, pick } = import_lodash15.default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coana-tech/cli",
3
- "version": "14.12.98",
3
+ "version": "14.12.99",
4
4
  "description": "Coana CLI",
5
5
  "type": "module",
6
6
  "bin": {
@@ -110395,7 +110395,7 @@ var GoCodeAwareVulnerabilityScanner = class {
110395
110395
  this.projectDir = projectDir;
110396
110396
  this.options = options;
110397
110397
  }
110398
- async runAnalysis(vulns, heuristic, _analyzesAllVulns) {
110398
+ async runAnalysis(vulns, heuristic, analyzesAllVulns) {
110399
110399
  logger.info("Started instantiating Go code-aware analysis");
110400
110400
  if (!existsSync10(join15(this.projectDir, "go.mod")))
110401
110401
  throw new Error("go.mod file not found in the project directory");
@@ -110416,7 +110416,7 @@ var GoCodeAwareVulnerabilityScanner = class {
110416
110416
  -output-reached-modules ${reachedModulesOutputFile}
110417
110417
  -topk=4 ${heuristic.includeTests && "-tests"}
110418
110418
  ${this.projectDir} ${vulnAccPaths}`, void 0, {
110419
- timeout: timeoutInSeconds ? timeoutInSeconds * 1e3 : void 0,
110419
+ timeout: timeoutInSeconds ? timeoutInSeconds * 1e3 : analyzesAllVulns ? 600 * 1e3 : 60 * 1e3,
110420
110420
  env: memoryLimitInMB ? { ...process.env, GOMEMLIMIT: `${memoryLimitInMB}MiB` } : void 0
110421
110421
  });
110422
110422
  if (error) {