@coana-tech/cli 14.12.8 → 14.12.10
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 +9 -3
- package/package.json +1 -1
- package/reachability-analyzers-cli.mjs +1 -0
- package/repos/coana-tech/alucard/alucard.jar +0 -0
- package/repos/coana-tech/goana/bin/goana-darwin-amd64.gz +0 -0
- package/repos/coana-tech/goana/bin/goana-darwin-arm64.gz +0 -0
- package/repos/coana-tech/goana/bin/goana-linux-amd64.gz +0 -0
- package/repos/coana-tech/goana/bin/goana-linux-arm64.gz +0 -0
package/cli.mjs
CHANGED
|
@@ -197891,6 +197891,7 @@ async function registerAnalysisMetadataSocket(subprojectPath, workspacePath, eco
|
|
|
197891
197891
|
}
|
|
197892
197892
|
async function getLatestBucketsSocket(subprojectPath, workspacePath) {
|
|
197893
197893
|
try {
|
|
197894
|
+
if (!process.env.SOCKET_REPO_NAME || !process.env.SOCKET_BRANCH_NAME) return void 0;
|
|
197894
197895
|
const url2 = getSocketApiUrl("tier1-reachability-scan/latest-buckets");
|
|
197895
197896
|
const params = {
|
|
197896
197897
|
workspacePath,
|
|
@@ -210393,6 +210394,11 @@ async function fetchArtifactsFromSocket(rootWorkingDirectory, manifestsTarHash)
|
|
|
210393
210394
|
const ecosystemToWorkspaceToVulnerabilities = {};
|
|
210394
210395
|
const purlsFailedToFindWorkspace = /* @__PURE__ */ new Set();
|
|
210395
210396
|
for (const artifact of artifacts) {
|
|
210397
|
+
let processToplevelAncestors2 = function(artifact2) {
|
|
210398
|
+
const allAncestorIds = getAllToplevelAncestors(artifactMap, artifact2.id);
|
|
210399
|
+
allAncestorIds.forEach((ancestorId) => artifactMap.get(ancestorId)?.manifestFiles?.forEach((ref) => manifestFiles.push(ref.file)));
|
|
210400
|
+
};
|
|
210401
|
+
var processToplevelAncestors = processToplevelAncestors2;
|
|
210396
210402
|
const ecosystem = getAdvisoryEcosystemFromPurlType(artifact.type);
|
|
210397
210403
|
if (!ecosystem)
|
|
210398
210404
|
continue;
|
|
@@ -210411,12 +210417,12 @@ async function fetchArtifactsFromSocket(rootWorkingDirectory, manifestsTarHash)
|
|
|
210411
210417
|
if (pipArtifactToRepresentativeManifest[sPurl]) {
|
|
210412
210418
|
manifestFiles.push(...(pipArtifactToRepresentativeManifest[sPurl].manifestFiles ?? []).map((ref) => ref.file));
|
|
210413
210419
|
}
|
|
210420
|
+
processToplevelAncestors2(artifact);
|
|
210414
210421
|
break;
|
|
210415
210422
|
}
|
|
210416
210423
|
default: {
|
|
210417
210424
|
artifact.manifestFiles?.forEach((ref) => manifestFiles.push(ref.file));
|
|
210418
|
-
|
|
210419
|
-
allAncestorIds.forEach((ancestorId) => artifactMap.get(ancestorId)?.manifestFiles?.forEach((ref) => manifestFiles.push(ref.file)));
|
|
210425
|
+
processToplevelAncestors2(artifact);
|
|
210420
210426
|
break;
|
|
210421
210427
|
}
|
|
210422
210428
|
}
|
|
@@ -225604,7 +225610,7 @@ async function onlineScan(dependencyTree, apiKey, timeout) {
|
|
|
225604
225610
|
}
|
|
225605
225611
|
|
|
225606
225612
|
// dist/version.js
|
|
225607
|
-
var version2 = "14.12.
|
|
225613
|
+
var version2 = "14.12.10";
|
|
225608
225614
|
|
|
225609
225615
|
// dist/cli-core.js
|
|
225610
225616
|
var { mapValues, omit, partition, pick } = import_lodash15.default;
|
package/package.json
CHANGED
|
@@ -73366,6 +73366,7 @@ async function registerAnalysisMetadataSocket(subprojectPath, workspacePath, eco
|
|
|
73366
73366
|
}
|
|
73367
73367
|
async function getLatestBucketsSocket(subprojectPath, workspacePath) {
|
|
73368
73368
|
try {
|
|
73369
|
+
if (!process.env.SOCKET_REPO_NAME || !process.env.SOCKET_BRANCH_NAME) return void 0;
|
|
73369
73370
|
const url2 = getSocketApiUrl("tier1-reachability-scan/latest-buckets");
|
|
73370
73371
|
const params = {
|
|
73371
73372
|
workspacePath,
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|