@coana-tech/cli 14.12.54 → 14.12.55

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
@@ -219657,6 +219657,10 @@ async function computeFixesAndUpgradePurls(path2, options, logFile) {
219657
219657
  return { type: "no-ghsas-fix-requested", ghsas: Object.keys(ghsaToVulnerableArtifactIds) };
219658
219658
  }
219659
219659
  const ghsaToVulnerableArtifactIdsToApply = options.applyFixesTo.includes("all") ? ghsaToVulnerableArtifactIds : Object.fromEntries(Object.entries(ghsaToVulnerableArtifactIds).filter(([ghsa]) => options.applyFixesTo.includes(ghsa)));
219660
+ if (Object.keys(ghsaToVulnerableArtifactIdsToApply).length === 0) {
219661
+ logger.info("The vulnerabilities to apply fixes to do not affect the current project");
219662
+ return { type: "selected-vulnerabilities-do-not-affect-the-current-project" };
219663
+ }
219660
219664
  const computedFix = await useSocketComputeFixEndpoint(autofixRunId, artifacts, ghsaToVulnerableArtifactIdsToApply, {
219661
219665
  noMajorUpdates: options.disableMajorUpdates,
219662
219666
  minimumReleaseAgeInMinutes: options.minimumReleaseAgeInMinutes
@@ -235404,7 +235408,7 @@ async function onlineScan(dependencyTree, apiKey, timeout) {
235404
235408
  }
235405
235409
 
235406
235410
  // dist/version.js
235407
- var version2 = "14.12.54";
235411
+ var version2 = "14.12.55";
235408
235412
 
235409
235413
  // dist/cli-core.js
235410
235414
  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.54",
3
+ "version": "14.12.55",
4
4
  "description": "Coana CLI",
5
5
  "type": "module",
6
6
  "bin": {