@coana-tech/cli 14.12.162 → 14.12.164
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 +14 -2
- package/package.json +1 -1
- package/reachability-analyzers-cli.mjs +2 -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/repos/coana-tech/javap-service/javap-service.jar +0 -0
package/cli.mjs
CHANGED
|
@@ -236382,8 +236382,20 @@ function toSocketFactsSocketDependencyTree(artifacts, vulnerabilities, tier1Reac
|
|
|
236382
236382
|
});
|
|
236383
236383
|
}
|
|
236384
236384
|
}
|
|
236385
|
+
const componentsWithoutPatterns = artifacts.map((artifact) => {
|
|
236386
|
+
if (!artifact.vulnerabilities) {
|
|
236387
|
+
return { ...artifact };
|
|
236388
|
+
}
|
|
236389
|
+
return {
|
|
236390
|
+
...artifact,
|
|
236391
|
+
vulnerabilities: artifact.vulnerabilities.map((vuln) => {
|
|
236392
|
+
const { reachabilityData, ...vulnWithoutReachabilityData } = vuln;
|
|
236393
|
+
return vulnWithoutReachabilityData;
|
|
236394
|
+
})
|
|
236395
|
+
};
|
|
236396
|
+
});
|
|
236385
236397
|
return {
|
|
236386
|
-
components:
|
|
236398
|
+
components: componentsWithoutPatterns,
|
|
236387
236399
|
tier1ReachabilityScanId,
|
|
236388
236400
|
workspaceDiagnostics
|
|
236389
236401
|
};
|
|
@@ -251277,7 +251289,7 @@ async function onlineScan(dependencyTree, apiKey, timeout) {
|
|
|
251277
251289
|
}
|
|
251278
251290
|
|
|
251279
251291
|
// dist/version.js
|
|
251280
|
-
var version3 = "14.12.
|
|
251292
|
+
var version3 = "14.12.164";
|
|
251281
251293
|
|
|
251282
251294
|
// dist/cli-core.js
|
|
251283
251295
|
var { mapValues, omit, partition, pickBy: pickBy2 } = import_lodash15.default;
|
package/package.json
CHANGED
|
@@ -110982,6 +110982,7 @@ async function runJellyAnalysis(mainProjectRoot, projectRoot, jellyOptions, reac
|
|
|
110982
110982
|
await writeFile7(vulnerabilitiesFile, JSON.stringify(vulnerabilitiesInJellyFormat));
|
|
110983
110983
|
const useLazy = experiment === "LAZY_EXPERIMENT" || reachabilityAnalysisOptions.lazy;
|
|
110984
110984
|
const { includePackages } = jellyOptions;
|
|
110985
|
+
const additionalFlags = process.env.JELLY_ADDITIONAL_FLAGS?.split(/\s+/).filter(Boolean) ?? [];
|
|
110985
110986
|
const jellyCmd = cmdt`
|
|
110986
110987
|
${await getNodeExecutable(ToolPathResolver.nodeExecutablePath)} --max-old-space-size=${reachabilityAnalysisOptions.memoryLimitInMB ?? 8192}
|
|
110987
110988
|
${jellyExecutable}
|
|
@@ -110997,6 +110998,7 @@ async function runJellyAnalysis(mainProjectRoot, projectRoot, jellyOptions, reac
|
|
|
110997
110998
|
${jellyOptions.approx && "--approx"}
|
|
110998
110999
|
${logFile ? ["--logfile", logFile] : []}
|
|
110999
111000
|
--callstacks-json ${callStackFile}
|
|
111001
|
+
${additionalFlags}
|
|
111000
111002
|
${filesToAnalyze}
|
|
111001
111003
|
`;
|
|
111002
111004
|
if (PRINT_JELLY_COMMAND)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|