@coana-tech/cli 14.12.16 → 14.12.17

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
@@ -206082,7 +206082,7 @@ var NpmSocketUpgradeManager = class {
206082
206082
  this.rootDir,
206083
206083
  subprojectDir
206084
206084
  );
206085
- this.applySecurityFixesForSocketArtifacts(
206085
+ await this.applySecurityFixesForSocketArtifacts(
206086
206086
  subprojectDir,
206087
206087
  fixingManager,
206088
206088
  artifacts,
@@ -225672,7 +225672,7 @@ async function onlineScan(dependencyTree, apiKey, timeout) {
225672
225672
  }
225673
225673
 
225674
225674
  // dist/version.js
225675
- var version2 = "14.12.16";
225675
+ var version2 = "14.12.17";
225676
225676
 
225677
225677
  // dist/cli-core.js
225678
225678
  var { mapValues, omit, partition, pick } = import_lodash15.default;
@@ -226517,7 +226517,7 @@ async function computeFixesAndUpgradePurls(path2, options, logFile) {
226517
226517
  if (computedFix.type !== "success") {
226518
226518
  throw new Error(`No fix found for the given vulnerabilities`);
226519
226519
  }
226520
- const ghsasFailedToFix = options.applyFixesTo.filter((ghsa) => {
226520
+ const ghsasFailedToFix = Object.keys(ghsaToVulnerableArtifactIdsToApply).filter((ghsa) => {
226521
226521
  const artifactIds = ghsaToVulnerableArtifactIdsToApply[ghsa];
226522
226522
  if (!artifactIds)
226523
226523
  return false;
@@ -226550,7 +226550,7 @@ async function computeFixesAndUpgradePurls(path2, options, logFile) {
226550
226550
  concurrency: "1",
226551
226551
  globPattern: options.globPattern,
226552
226552
  rangeStyle: options.rangeStyle
226553
- }, autofixRunId) ?? "fixed-all";
226553
+ }, void 0, autofixRunId) ?? "fixed-all";
226554
226554
  if (autofixRunId) {
226555
226555
  await getSocketAPI().finalizeAutofixRun(autofixRunId, ghsasFailedToFix.length === 0 && applyFixesStatus === "fixed-all" ? "fixed-all" : ghsasFailedToFix.length === Object.keys(ghsaToVulnerableArtifactIdsToApply).length || applyFixesStatus === "fixed-none" ? "fixed-none" : "fixed-some");
226556
226556
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coana-tech/cli",
3
- "version": "14.12.16",
3
+ "version": "14.12.17",
4
4
  "description": "Coana CLI",
5
5
  "type": "module",
6
6
  "bin": {