@coana-tech/cli 14.12.92 → 14.12.94
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 +2 -6
- package/repos/coana-tech/class-graph-analysis/dist/bundle/class-graph-analysis-cli.mjs +2687 -2695
- 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
|
@@ -244541,7 +244541,7 @@ async function onlineScan(dependencyTree, apiKey, timeout) {
|
|
|
244541
244541
|
}
|
|
244542
244542
|
|
|
244543
244543
|
// dist/version.js
|
|
244544
|
-
var version2 = "14.12.
|
|
244544
|
+
var version2 = "14.12.94";
|
|
244545
244545
|
|
|
244546
244546
|
// dist/cli-core.js
|
|
244547
244547
|
var { mapValues, omit, partition, pick } = import_lodash15.default;
|
package/package.json
CHANGED
|
@@ -80697,7 +80697,7 @@ async function getModuleInfo(goModPath) {
|
|
|
80697
80697
|
}
|
|
80698
80698
|
async function runGoModTidy(moduleDir, { continueOnError = false } = {}) {
|
|
80699
80699
|
logger.debug(`Running 'go mod tidy' in ${moduleDir}`);
|
|
80700
|
-
const { error } = await execNeverFail(["go", "mod", "tidy"], moduleDir);
|
|
80700
|
+
const { error } = await execNeverFail(["go", "mod", "tidy"], moduleDir, { timeout: 30 * 60 * 1e3 });
|
|
80701
80701
|
logger.debug(`'go mod tidy' finished`);
|
|
80702
80702
|
if (error) {
|
|
80703
80703
|
const { Module, Go } = await getModuleInfo(moduleDir);
|
|
@@ -103783,13 +103783,9 @@ var JavaCodeAwareVulnerabilityScanner = class _JavaCodeAwareVulnerabilityScanner
|
|
|
103783
103783
|
return new _JavaCodeAwareVulnerabilityScanner(apps, deps, depIdToPurl, timeoutInSeconds, statusUpdater);
|
|
103784
103784
|
}
|
|
103785
103785
|
static async initFromSocketArtifacts(subprojectDir, artifacts, tmpDir, timeoutInSeconds, statusUpdater) {
|
|
103786
|
-
const srcDirs = await glob("{**/,}src/{main,test}/{java,kotlin,scala,resources}", {
|
|
103787
|
-
cwd: subprojectDir,
|
|
103788
|
-
absolute: true
|
|
103789
|
-
});
|
|
103790
103786
|
const apps = {
|
|
103791
103787
|
"<app>": {
|
|
103792
|
-
src:
|
|
103788
|
+
src: [subprojectDir]
|
|
103793
103789
|
}
|
|
103794
103790
|
};
|
|
103795
103791
|
const { deps, depIdToPurl } = await convertSocketArtifacts2(subprojectDir, artifacts, tmpDir);
|