@abaplint/cli 2.113.238 → 2.113.240

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 +11 -7
  2. package/package.json +3 -3
package/build/cli.js CHANGED
@@ -48537,6 +48537,7 @@ class DataElement extends _abstract_object_1.AbstractObject {
48537
48537
  var _a;
48538
48538
  const references = [];
48539
48539
  let lookup = undefined;
48540
+ this.parse();
48540
48541
  if (this.parsedXML === undefined) {
48541
48542
  lookup = { type: new Types.UnknownType("Data Element " + this.getName() + ", parser error") };
48542
48543
  }
@@ -54882,7 +54883,7 @@ class Registry {
54882
54883
  }
54883
54884
  static abaplintVersion() {
54884
54885
  // magic, see build script "version.sh"
54885
- return "2.113.238";
54886
+ return "2.113.240";
54886
54887
  }
54887
54888
  getDDICReferences() {
54888
54889
  return this.ddicReferences;
@@ -54920,13 +54921,16 @@ class Registry {
54920
54921
  }
54921
54922
  return undefined;
54922
54923
  }
54923
- getObjectCount(skipDependencies = true) {
54924
- let res = 0;
54924
+ getObjectCount() {
54925
+ const res = { total: 0, normal: 0, dependencies: 0 };
54925
54926
  for (const o of this.getObjects()) {
54926
- if (skipDependencies === true && this.isDependency(o)) {
54927
- continue;
54927
+ res.total++;
54928
+ if (this.isDependency(o)) {
54929
+ res.dependencies++;
54930
+ }
54931
+ else {
54932
+ res.normal++;
54928
54933
  }
54929
- res = res + 1;
54930
54934
  }
54931
54935
  return res;
54932
54936
  }
@@ -55093,7 +55097,7 @@ class Registry {
55093
55097
  return this;
55094
55098
  }
55095
55099
  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");
55100
+ (_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
55101
  for (const o of this.getObjects()) {
55098
55102
  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
55103
  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.240",
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.240",
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
  }