@abaplint/cli 2.113.238 → 2.113.239

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.
Files changed (2) hide show
  1. package/build/cli.js +10 -7
  2. package/package.json +3 -3
package/build/cli.js CHANGED
@@ -54882,7 +54882,7 @@ class Registry {
54882
54882
  }
54883
54883
  static abaplintVersion() {
54884
54884
  // magic, see build script "version.sh"
54885
- return "2.113.238";
54885
+ return "2.113.239";
54886
54886
  }
54887
54887
  getDDICReferences() {
54888
54888
  return this.ddicReferences;
@@ -54920,13 +54920,16 @@ class Registry {
54920
54920
  }
54921
54921
  return undefined;
54922
54922
  }
54923
- getObjectCount(skipDependencies = true) {
54924
- let res = 0;
54923
+ getObjectCount() {
54924
+ const res = { total: 0, normal: 0, dependencies: 0 };
54925
54925
  for (const o of this.getObjects()) {
54926
- if (skipDependencies === true && this.isDependency(o)) {
54927
- continue;
54926
+ res.total++;
54927
+ if (this.isDependency(o)) {
54928
+ res.dependencies++;
54929
+ }
54930
+ else {
54931
+ res.normal++;
54928
54932
  }
54929
- res = res + 1;
54930
54933
  }
54931
54934
  return res;
54932
54935
  }
@@ -55093,7 +55096,7 @@ class Registry {
55093
55096
  return this;
55094
55097
  }
55095
55098
  ParsingPerformance.clear();
55096
- (_a = input === null || input === void 0 ? void 0 : input.progress) === null || _a === void 0 ? void 0 : _a.set(this.getObjectCount(false), "Lexing and parsing");
55099
+ (_a = input === null || input === void 0 ? void 0 : input.progress) === null || _a === void 0 ? void 0 : _a.set(this.getObjectCount().normal, "Lexing and parsing");
55097
55100
  for (const o of this.getObjects()) {
55098
55101
  await ((_b = input === null || input === void 0 ? void 0 : input.progress) === null || _b === void 0 ? void 0 : _b.tick("Lexing and parsing(" + this.conf.getVersion() + ") - " + o.getType() + " " + o.getName()));
55099
55102
  this.parsePrivate(o);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.113.238",
3
+ "version": "2.113.239",
4
4
  "description": "abaplint - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "homepage": "https://abaplint.org",
40
40
  "devDependencies": {
41
- "@abaplint/core": "^2.113.238",
41
+ "@abaplint/core": "^2.113.239",
42
42
  "@types/chai": "^4.3.20",
43
43
  "@types/minimist": "^1.2.5",
44
44
  "@types/mocha": "^10.0.10",
@@ -55,7 +55,7 @@
55
55
  "mocha": "^11.7.5",
56
56
  "progress": "^2.0.3",
57
57
  "typescript": "^5.9.3",
58
- "webpack": "^5.102.1",
58
+ "webpack": "^5.103.0",
59
59
  "webpack-cli": "^6.0.1",
60
60
  "xml-js": "^1.6.11"
61
61
  }