@coana-tech/cli 14.12.123 → 14.12.125
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 +3 -2
- 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/jelly-private/dist/bundle/approx.js +3 -3
- package/repos/coana-tech/jelly-private/dist/bundle/{chunk-RUAUP2X2.js → chunk-D4F3MOY5.js} +2 -2
- package/repos/coana-tech/jelly-private/dist/bundle/{chunk-XXE5Z2AZ.js → chunk-L7Z5ACXW.js} +2 -2
- package/repos/coana-tech/jelly-private/dist/bundle/{chunk-US4VPHJ4.js → chunk-NNOCQRBG.js} +34 -4
- package/repos/coana-tech/jelly-private/dist/bundle/{chunk-VENMYXZQ.js → chunk-XK6IPQRH.js} +2 -2
- package/repos/coana-tech/jelly-private/dist/bundle/hooks.js +3 -3
- package/repos/coana-tech/jelly-private/dist/bundle/jelly.js +603 -161
package/cli.mjs
CHANGED
|
@@ -251019,7 +251019,7 @@ async function onlineScan(dependencyTree, apiKey, timeout) {
|
|
|
251019
251019
|
}
|
|
251020
251020
|
|
|
251021
251021
|
// dist/version.js
|
|
251022
|
-
var version3 = "14.12.
|
|
251022
|
+
var version3 = "14.12.125";
|
|
251023
251023
|
|
|
251024
251024
|
// dist/cli-core.js
|
|
251025
251025
|
var { mapValues, omit, partition, pickBy: pickBy2 } = import_lodash15.default;
|
package/package.json
CHANGED
|
@@ -110410,11 +110410,12 @@ async function runJellyAnalysis(mainProjectRoot, projectRoot, jellyOptions, reac
|
|
|
110410
110410
|
--basedir ${mainProjectRoot}
|
|
110411
110411
|
--timeout ${timeoutInSeconds}
|
|
110412
110412
|
--vulnerabilities ${vulnerabilitiesFile}
|
|
110413
|
+
${experiment === "LAZY_EXPERIMENT" && ["--lazy", "--lazy-cleanup"]}
|
|
110413
110414
|
--reachable-json ${affectedPackagesFile}
|
|
110414
110415
|
${getExcludes(mainProjectRoot, projectRoot, reachabilityAnalysisOptions)}
|
|
110415
110416
|
--diagnostics-json ${diagnosticsFile}
|
|
110416
110417
|
--max-indirections=${jellyOptions.maxIndirections}
|
|
110417
|
-
${!!jellyOptions.includePackages
|
|
110418
|
+
${!!jellyOptions.includePackages && jellyOptions.includePackages.length ? ["--include-packages", ...jellyOptions.includePackages] : ["--ignore-dependencies"]}
|
|
110418
110419
|
${jellyOptions.approx && "--approx"}
|
|
110419
110420
|
${logFile ? ["--logfile", logFile] : []}
|
|
110420
110421
|
--callstacks-json ${callStackFile}
|
|
@@ -110483,7 +110484,7 @@ async function runJellyImportReachabilityAnalysis(mainProjectRoot, projectRoot,
|
|
|
110483
110484
|
const reachableModulesFile = resolve14(tmpFolder, "reachable-modules.json");
|
|
110484
110485
|
const jellyCmd = cmdt`${await getNodeExecutable(ToolPathResolver.nodeExecutablePath)} --max-old-space-size=${options.memoryLimitInMB}
|
|
110485
110486
|
${ToolPathResolver.jellyPath} --basedir ${mainProjectRoot} --modules-only
|
|
110486
|
-
${
|
|
110487
|
+
${includePackages.length ? ["--include-packages", ...includePackages] : ["--ignore-dependencies"]}
|
|
110487
110488
|
${getExcludes(mainProjectRoot, projectRoot, options)}
|
|
110488
110489
|
--reachable-json ${reachableModulesFile}
|
|
110489
110490
|
${options.entryPoints ?? projectRoot}`;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -7,11 +7,11 @@ import "./iterator-helpers-polyfill.js";
|
|
|
7
7
|
import {
|
|
8
8
|
require_hints,
|
|
9
9
|
require_parser
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-D4F3MOY5.js";
|
|
11
11
|
import {
|
|
12
12
|
require_proxy,
|
|
13
13
|
require_sandbox
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-XK6IPQRH.js";
|
|
15
15
|
import {
|
|
16
16
|
__commonJS,
|
|
17
17
|
__name,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
require_options,
|
|
22
22
|
require_transform,
|
|
23
23
|
require_util
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-NNOCQRBG.js";
|
|
25
25
|
|
|
26
26
|
// lib/approx/approx.js
|
|
27
27
|
var require_approx = __commonJS({
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
require_options,
|
|
15
15
|
require_tokens,
|
|
16
16
|
require_util
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-NNOCQRBG.js";
|
|
18
18
|
|
|
19
19
|
// lib/parsing/parser.js
|
|
20
20
|
var require_parser = __commonJS({
|
|
@@ -516,4 +516,4 @@ export {
|
|
|
516
516
|
require_patching,
|
|
517
517
|
require_hints
|
|
518
518
|
};
|
|
519
|
-
//# sourceMappingURL=chunk-
|
|
519
|
+
//# sourceMappingURL=chunk-D4F3MOY5.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
__commonJS,
|
|
9
9
|
__name,
|
|
10
10
|
__require
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-NNOCQRBG.js";
|
|
12
12
|
|
|
13
13
|
// node_modules/source-map/lib/base64.js
|
|
14
14
|
var require_base64 = __commonJS({
|
|
@@ -224380,4 +224380,4 @@ typescript/lib/typescript.js:
|
|
|
224380
224380
|
and limitations under the License.
|
|
224381
224381
|
***************************************************************************** *)
|
|
224382
224382
|
*/
|
|
224383
|
-
//# sourceMappingURL=chunk-
|
|
224383
|
+
//# sourceMappingURL=chunk-L7Z5ACXW.js.map
|
|
@@ -74,6 +74,7 @@ var require_package = __commonJS({
|
|
|
74
74
|
"@babel/traverse": "^7.28.5",
|
|
75
75
|
"@babel/types": "^7.28.5",
|
|
76
76
|
commander: "^9.5.0",
|
|
77
|
+
lodash: "^4.17.21",
|
|
77
78
|
micromatch: "^4.0.8",
|
|
78
79
|
semver: "^7.7.3",
|
|
79
80
|
stringify2stream: "^1.1.0",
|
|
@@ -88,10 +89,12 @@ var require_package = __commonJS({
|
|
|
88
89
|
"@types/node": "^24.10.1",
|
|
89
90
|
"@types/semver": "^7.7.1",
|
|
90
91
|
esbuild: "^0.25.9",
|
|
92
|
+
"fast-check": "^4.2.0",
|
|
91
93
|
jest: "^30.2.0",
|
|
92
94
|
"jest-expect-message": "^1.1.3",
|
|
95
|
+
tar: "^7.4.3",
|
|
93
96
|
"ts-jest": "^29.4.6",
|
|
94
|
-
|
|
97
|
+
tsx: "^4.0.0"
|
|
95
98
|
},
|
|
96
99
|
pkg: {
|
|
97
100
|
targets: [
|
|
@@ -10868,7 +10871,9 @@ var require_options = __commonJS({
|
|
|
10868
10871
|
reachableJson: void 0,
|
|
10869
10872
|
callstacksJson: void 0,
|
|
10870
10873
|
vulnerabilitiesFull: false,
|
|
10871
|
-
modulesJson: void 0
|
|
10874
|
+
modulesJson: void 0,
|
|
10875
|
+
lazy: false,
|
|
10876
|
+
lazyCleanup: false
|
|
10872
10877
|
};
|
|
10873
10878
|
function setOptions(opts) {
|
|
10874
10879
|
for (const opt of Object.getOwnPropertyNames(exports.options)) {
|
|
@@ -10952,6 +10957,7 @@ var require_util = __commonJS({
|
|
|
10952
10957
|
exports.strHash = strHash;
|
|
10953
10958
|
exports.isArrayIndex = isArrayIndex;
|
|
10954
10959
|
exports.percent = percent;
|
|
10960
|
+
exports.getReverseGraph = getReverseGraph;
|
|
10955
10961
|
exports.mapCallsToFunctions = mapCallsToFunctions;
|
|
10956
10962
|
exports.longestCommonPrefix = longestCommonPrefix;
|
|
10957
10963
|
exports.stringify = stringify;
|
|
@@ -11242,6 +11248,15 @@ var require_util = __commonJS({
|
|
|
11242
11248
|
return `${(100 * x).toFixed(2)}%`;
|
|
11243
11249
|
}
|
|
11244
11250
|
__name(percent, "percent");
|
|
11251
|
+
function getReverseGraph(g) {
|
|
11252
|
+
const r = /* @__PURE__ */ new Map();
|
|
11253
|
+
for (const [from, tos] of g)
|
|
11254
|
+
if (tos?.size)
|
|
11255
|
+
for (const to of tos)
|
|
11256
|
+
mapGetSet(r, to).add(from);
|
|
11257
|
+
return r;
|
|
11258
|
+
}
|
|
11259
|
+
__name(getReverseGraph, "getReverseGraph");
|
|
11245
11260
|
var SourceLocationsToJSON = class {
|
|
11246
11261
|
static {
|
|
11247
11262
|
__name(this, "SourceLocationsToJSON");
|
|
@@ -13627,6 +13642,7 @@ var require_infos = __commonJS({
|
|
|
13627
13642
|
isIncluded;
|
|
13628
13643
|
functions = /* @__PURE__ */ new Set();
|
|
13629
13644
|
loc;
|
|
13645
|
+
ast;
|
|
13630
13646
|
hash;
|
|
13631
13647
|
directDependents = /* @__PURE__ */ new Set();
|
|
13632
13648
|
constructor(relativePath, packageInfo, isEntry, isIncluded) {
|
|
@@ -13698,7 +13714,7 @@ var require_accesspaths = __commonJS({
|
|
|
13698
13714
|
"lib/analysis/accesspaths.js"(exports) {
|
|
13699
13715
|
"use strict";
|
|
13700
13716
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13701
|
-
exports.UnknownAccessPath = exports.IgnoredAccessPath = exports.ComponentAccessPath = exports.CallResultAccessPath = exports.PropertyAccessPath = exports.ModuleAccessPath = exports.AccessPath = void 0;
|
|
13717
|
+
exports.LazyAccessPath = exports.UnknownAccessPath = exports.IgnoredAccessPath = exports.ComponentAccessPath = exports.CallResultAccessPath = exports.PropertyAccessPath = exports.ModuleAccessPath = exports.AccessPath = void 0;
|
|
13702
13718
|
var infos_1 = require_infos();
|
|
13703
13719
|
var AccessPath = class {
|
|
13704
13720
|
static {
|
|
@@ -13782,6 +13798,19 @@ var require_accesspaths = __commonJS({
|
|
|
13782
13798
|
}
|
|
13783
13799
|
};
|
|
13784
13800
|
exports.UnknownAccessPath = UnknownAccessPath;
|
|
13801
|
+
var LazyAccessPath = class extends AccessPath {
|
|
13802
|
+
static {
|
|
13803
|
+
__name(this, "LazyAccessPath");
|
|
13804
|
+
}
|
|
13805
|
+
moduleInfo;
|
|
13806
|
+
dependents;
|
|
13807
|
+
constructor(moduleInfo, dependents) {
|
|
13808
|
+
super(`${dependents ? "<<" : ">>"}${moduleInfo}`);
|
|
13809
|
+
this.moduleInfo = moduleInfo;
|
|
13810
|
+
this.dependents = dependents;
|
|
13811
|
+
}
|
|
13812
|
+
};
|
|
13813
|
+
exports.LazyAccessPath = LazyAccessPath;
|
|
13785
13814
|
}
|
|
13786
13815
|
});
|
|
13787
13816
|
|
|
@@ -13831,6 +13860,7 @@ var require_astvisitor = __commonJS({
|
|
|
13831
13860
|
const fun = (0, asthelpers_1.getEnclosingNonArrowFunction)(path);
|
|
13832
13861
|
if (fun) {
|
|
13833
13862
|
solver.addSubsetConstraint(vp.thisVar(fun), vp.nodeVar(path.node));
|
|
13863
|
+
f.registerThis(fun);
|
|
13834
13864
|
} else {
|
|
13835
13865
|
solver.addTokenConstraint(op.exportsObjectToken, vp.nodeVar(path.node));
|
|
13836
13866
|
}
|
|
@@ -19839,4 +19869,4 @@ fill-range/index.js:
|
|
|
19839
19869
|
* Licensed under the MIT License.
|
|
19840
19870
|
*)
|
|
19841
19871
|
*/
|
|
19842
|
-
//# sourceMappingURL=chunk-
|
|
19872
|
+
//# sourceMappingURL=chunk-NNOCQRBG.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
__name,
|
|
10
10
|
__require,
|
|
11
11
|
require_transform
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-NNOCQRBG.js";
|
|
13
13
|
|
|
14
14
|
// lib/approx/proxy.js
|
|
15
15
|
var require_proxy = __commonJS({
|
|
@@ -268,4 +268,4 @@ export {
|
|
|
268
268
|
require_proxy,
|
|
269
269
|
require_sandbox
|
|
270
270
|
};
|
|
271
|
-
//# sourceMappingURL=chunk-
|
|
271
|
+
//# sourceMappingURL=chunk-XK6IPQRH.js.map
|
|
@@ -6,10 +6,10 @@ import "./iterator-helpers-polyfill.js";
|
|
|
6
6
|
|
|
7
7
|
import {
|
|
8
8
|
require_moduleresolver
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-L7Z5ACXW.js";
|
|
10
10
|
import {
|
|
11
11
|
require_sandbox
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-XK6IPQRH.js";
|
|
13
13
|
import {
|
|
14
14
|
__commonJS,
|
|
15
15
|
__name,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
require_files,
|
|
18
18
|
require_options,
|
|
19
19
|
require_transform
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-NNOCQRBG.js";
|
|
21
21
|
|
|
22
22
|
// lib/approx/hooks.js
|
|
23
23
|
var require_hooks = __commonJS({
|