@coana-tech/cli 14.12.32 → 14.12.33
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/repos/coana-tech/alucard/alucard.jar +0 -0
- package/repos/coana-tech/class-graph-analysis/dist/bundle/class-graph-analysis-cli.mjs +7 -4
- 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
|
@@ -227512,7 +227512,7 @@ async function onlineScan(dependencyTree, apiKey, timeout) {
|
|
|
227512
227512
|
}
|
|
227513
227513
|
|
|
227514
227514
|
// dist/version.js
|
|
227515
|
-
var version2 = "14.12.
|
|
227515
|
+
var version2 = "14.12.33";
|
|
227516
227516
|
|
|
227517
227517
|
// dist/cli-core.js
|
|
227518
227518
|
var { mapValues, omit, partition, pick } = import_lodash15.default;
|
package/package.json
CHANGED
|
Binary file
|
|
@@ -7757,14 +7757,17 @@ var AlucardResolutionManager = class {
|
|
|
7757
7757
|
};
|
|
7758
7758
|
const inputFile = resolve(tmpDir, "input.json");
|
|
7759
7759
|
await writeFile(inputFile, JSON.stringify(inputFileData));
|
|
7760
|
-
const execResult = await execNeverFail(cmdt`java -jar ${this.alucardPath} resolveNodes --batch-mode --input-file=${inputFile} --output-dir=${tmpDir}
|
|
7760
|
+
const execResult = await execNeverFail(cmdt`java -jar ${this.alucardPath} resolveNodes --batch-mode --input-file=${inputFile} --output-dir=${tmpDir}`);
|
|
7761
7761
|
if (execResult.error) {
|
|
7762
7762
|
throw Error(`alucard could not resolve nodes: ${execResult.error.message}${execResult.stderr ? `
|
|
7763
7763
|
stderr: ${execResult.stderr}` : ""}`);
|
|
7764
7764
|
}
|
|
7765
7765
|
const nodes = JSON.parse(await readFile5(resolve(tmpDir, "nodes.json"), "utf-8"));
|
|
7766
|
-
const fatJarExcludes = new Set(nodes.filter((node) => deps[node.packageId]
|
|
7767
|
-
graph.addNodes(
|
|
7766
|
+
const fatJarExcludes = new Set(nodes.filter((node) => deps[node.packageId]).map((node) => node.fileEntry ?? node.file));
|
|
7767
|
+
graph.addNodes(
|
|
7768
|
+
// apps[node.packageId] => !node.fileEntry || !fatJarExcludes.has(node.fileEntry ?? node.file)
|
|
7769
|
+
nodes.filter((node) => !apps[node.packageId] || !node.fileEntry || !fatJarExcludes.has(node.fileEntry))
|
|
7770
|
+
);
|
|
7768
7771
|
});
|
|
7769
7772
|
}
|
|
7770
7773
|
async resolveEdges(graph, appIndices, worklist, visited, mode) {
|
|
@@ -17529,7 +17532,7 @@ var CocoaResolutionManager = class {
|
|
|
17529
17532
|
};
|
|
17530
17533
|
const inputFile = resolve3(tmpDir, "input.json");
|
|
17531
17534
|
await writeFile4(inputFile, JSON.stringify(inputFileData));
|
|
17532
|
-
const cmd = cmdt`dotnet ${this.cocoaPath} resolveNodes --batch-mode --input-file=${inputFile} --output-dir=${tmpDir}
|
|
17535
|
+
const cmd = cmdt`dotnet ${this.cocoaPath} resolveNodes --batch-mode --input-file=${inputFile} --output-dir=${tmpDir}`;
|
|
17533
17536
|
const execResult = await execNeverFail(cmd, ".");
|
|
17534
17537
|
if (execResult.error) {
|
|
17535
17538
|
throw Error(`cocoa could not resolve nodes: ${execResult.error.message}${execResult.stderr ? `
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|