@coana-tech/cli 14.12.213 → 14.12.215
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 +1 -1
- package/package.json +1 -1
- package/reachability-analyzers-cli.mjs +6 -3
- 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/repos/coana-tech/spar/sparjs-aarch64-apple-darwin.gz +0 -0
- package/repos/coana-tech/spar/sparjs-aarch64-unknown-linux-musl.gz +0 -0
- package/repos/coana-tech/spar/sparjs-x86_64-apple-darwin.gz +0 -0
- package/repos/coana-tech/spar/sparjs-x86_64-unknown-linux-musl.gz +0 -0
package/cli.mjs
CHANGED
|
@@ -251742,7 +251742,7 @@ async function onlineScan(dependencyTree, apiKey, timeout) {
|
|
|
251742
251742
|
}
|
|
251743
251743
|
|
|
251744
251744
|
// dist/version.js
|
|
251745
|
-
var version3 = "14.12.
|
|
251745
|
+
var version3 = "14.12.215";
|
|
251746
251746
|
|
|
251747
251747
|
// dist/cli-core.js
|
|
251748
251748
|
var { mapValues, omit, partition, pickBy: pickBy2 } = import_lodash15.default;
|
package/package.json
CHANGED
|
@@ -111873,6 +111873,7 @@ var SparJSAnalysisEngine = class extends JSAnalysisEngine {
|
|
|
111873
111873
|
${/* XXX: Requires Node 22+ */
|
|
111874
111874
|
approx && "--approx"}
|
|
111875
111875
|
--callstacks-json ${callStackFile}
|
|
111876
|
+
--escape-patch-resolved-reads
|
|
111876
111877
|
--unresolved-non-vulnerable
|
|
111877
111878
|
${parseShellArgs(process.env.COANA_SPARJS_ADDITIONAL_FLAGS ?? "")}
|
|
111878
111879
|
${filesToAnalyze}
|
|
@@ -111918,12 +111919,14 @@ var SparJSAnalysisEngine = class extends JSAnalysisEngine {
|
|
|
111918
111919
|
for (const match2 of Object.values(matches))
|
|
111919
111920
|
match2.affectedPackages = uniq5(match2.stacks.flatMap((stack) => map3(stack, "package")));
|
|
111920
111921
|
const affectedPackages = JSON.parse(await readFile11(affectedPackagesFile, "utf-8")).packages;
|
|
111922
|
+
const aborted = analysisDiagnostics.solver.aborted;
|
|
111921
111923
|
return {
|
|
111922
111924
|
matches,
|
|
111923
111925
|
analysisDiagnostics: {
|
|
111924
111926
|
...analysisDiagnostics,
|
|
111925
|
-
aborted:
|
|
111926
|
-
timeout:
|
|
111927
|
+
aborted: !!aborted,
|
|
111928
|
+
timeout: aborted === "timeout",
|
|
111929
|
+
lowmemory: aborted === "out_of_memory",
|
|
111927
111930
|
timings: {
|
|
111928
111931
|
analysisTime: (analysisDiagnostics.totalTime - analysisDiagnostics.patternMatchingTime) / 1e3,
|
|
111929
111932
|
patternMatchingTime: analysisDiagnostics.patternMatchingTime / 1e3,
|
|
@@ -112048,7 +112051,7 @@ var JSCodeAwareVulnerabilityScanner = class _JSCodeAwareVulnerabilityScanner {
|
|
|
112048
112051
|
analysisOptionsFromHeuristic.approx = process.env.JELLY_APPROX === "true" || experiment === "JELLY_APPROX";
|
|
112049
112052
|
const analysisRes = await this.resolveEngine(experiment).runAnalysis(this.mainProjectDir, this.projectDir, analysisOptionsFromHeuristic, this.options, timeoutInSeconds, vulnerabilities, experiment, telemetryHandler, analyzerTelemetryHandler);
|
|
112050
112053
|
const { analysisDiagnostics: diagnostics, matches } = analysisRes;
|
|
112051
|
-
const terminatedEarly = diagnostics.
|
|
112054
|
+
const terminatedEarly = diagnostics.rangeError ?? (diagnostics.aborted || diagnostics.timeout || diagnostics.lowmemory);
|
|
112052
112055
|
return {
|
|
112053
112056
|
type: "success",
|
|
112054
112057
|
diagnostics,
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|