@coana-tech/cli 14.12.8 → 14.12.9

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
@@ -210393,6 +210393,11 @@ async function fetchArtifactsFromSocket(rootWorkingDirectory, manifestsTarHash)
210393
210393
  const ecosystemToWorkspaceToVulnerabilities = {};
210394
210394
  const purlsFailedToFindWorkspace = /* @__PURE__ */ new Set();
210395
210395
  for (const artifact of artifacts) {
210396
+ let processToplevelAncestors2 = function(artifact2) {
210397
+ const allAncestorIds = getAllToplevelAncestors(artifactMap, artifact2.id);
210398
+ allAncestorIds.forEach((ancestorId) => artifactMap.get(ancestorId)?.manifestFiles?.forEach((ref) => manifestFiles.push(ref.file)));
210399
+ };
210400
+ var processToplevelAncestors = processToplevelAncestors2;
210396
210401
  const ecosystem = getAdvisoryEcosystemFromPurlType(artifact.type);
210397
210402
  if (!ecosystem)
210398
210403
  continue;
@@ -210411,12 +210416,12 @@ async function fetchArtifactsFromSocket(rootWorkingDirectory, manifestsTarHash)
210411
210416
  if (pipArtifactToRepresentativeManifest[sPurl]) {
210412
210417
  manifestFiles.push(...(pipArtifactToRepresentativeManifest[sPurl].manifestFiles ?? []).map((ref) => ref.file));
210413
210418
  }
210419
+ processToplevelAncestors2(artifact);
210414
210420
  break;
210415
210421
  }
210416
210422
  default: {
210417
210423
  artifact.manifestFiles?.forEach((ref) => manifestFiles.push(ref.file));
210418
- const allAncestorIds = getAllToplevelAncestors(artifactMap, artifact.id);
210419
- allAncestorIds.forEach((ancestorId) => artifactMap.get(ancestorId)?.manifestFiles?.forEach((ref) => manifestFiles.push(ref.file)));
210424
+ processToplevelAncestors2(artifact);
210420
210425
  break;
210421
210426
  }
210422
210427
  }
@@ -225604,7 +225609,7 @@ async function onlineScan(dependencyTree, apiKey, timeout) {
225604
225609
  }
225605
225610
 
225606
225611
  // dist/version.js
225607
- var version2 = "14.12.8";
225612
+ var version2 = "14.12.9";
225608
225613
 
225609
225614
  // dist/cli-core.js
225610
225615
  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.8",
3
+ "version": "14.12.9",
4
4
  "description": "Coana CLI",
5
5
  "type": "module",
6
6
  "bin": {