@coana-tech/cli 14.12.108 → 14.12.110

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
@@ -250700,7 +250700,7 @@ async function onlineScan(dependencyTree, apiKey, timeout) {
250700
250700
  }
250701
250701
 
250702
250702
  // dist/version.js
250703
- var version3 = "14.12.108";
250703
+ var version3 = "14.12.110";
250704
250704
 
250705
250705
  // dist/cli-core.js
250706
250706
  var { mapValues, omit, partition, pick } = import_lodash15.default;
@@ -250798,7 +250798,7 @@ var CliCore = class {
250798
250798
  if (!this.options.repoUrl && !this.options.projectName && !this.options.disableReportSubmission && !this.options.offlineDatabase && !this.options.socketMode) {
250799
250799
  throw new Error("Either --repo-url or --project-name is required for dashboard integration. Use --disable-report-submission to skip report submission.");
250800
250800
  }
250801
- if ((this.options.disableReportSubmission || this.options.offlineDatabase) && !this.options.outputDir && !this.options.printReport) {
250801
+ if ((this.options.disableReportSubmission || this.options.offlineDatabase) && !this.options.outputDir && !this.options.printReport && !this.options.socketMode) {
250802
250802
  throw new Error("Either --output-dir or --print-report is required when --disable-report-submission or --offline-database is used.");
250803
250803
  }
250804
250804
  if (this.options.ecosystems)
@@ -251590,7 +251590,7 @@ compareReportsCommand.name("compare-reports").argument("<baselineReportPath>", "
251590
251590
  var findVulnerabilities = new Command();
251591
251591
  findVulnerabilities.name("find-vulnerabilities").requiredOption("--manifests-tar-hash <hash>", "Hash of the tarball containing all manifest files already uploaded to Socket.").action(async (options) => {
251592
251592
  const { artifacts } = await fetchArtifactsFromManifestsTarHash(options.manifestsTarHash);
251593
- console.log(i(artifacts.flatMap((a4) => a4.vulnerabilities?.map((v) => v.ghsaId) ?? [])));
251593
+ console.log(JSON.stringify(i(artifacts.flatMap((a4) => a4.vulnerabilities?.map((v) => v.ghsaId) ?? []))));
251594
251594
  });
251595
251595
  program2.name("coana-cli").addCommand(run2, { isDefault: true }).addCommand(findVulnerabilities).addCommand(applyFixes).addCommand(compareReportsCommand).addCommand(computeFixesAndUpgradePurlsCmd, { hidden: true }).configureHelp({ sortSubcommands: true }).version(version3);
251596
251596
  program2.parseAsync();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coana-tech/cli",
3
- "version": "14.12.108",
3
+ "version": "14.12.110",
4
4
  "description": "Coana CLI",
5
5
  "type": "module",
6
6
  "bin": {