@abaplint/cli 2.110.6 → 2.110.7

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 +5 -2
  2. package/package.json +4 -4
package/build/cli.js CHANGED
@@ -33408,7 +33408,10 @@ class Data {
33408
33408
  // INCLUDES
33409
33409
  const typeToken = (_a = c.findFirstExpression(Expressions.TypeName)) === null || _a === void 0 ? void 0 : _a.getFirstToken();
33410
33410
  const typeName = typeToken === null || typeToken === void 0 ? void 0 : typeToken.getStr();
33411
- const foundId = scope.findType(typeName);
33411
+ let foundId = scope.findType(typeName);
33412
+ if (foundId === undefined) {
33413
+ foundId = scope.findVariable(typeName);
33414
+ }
33412
33415
  let found = foundId === null || foundId === void 0 ? void 0 : foundId.getType();
33413
33416
  if (found === undefined) {
33414
33417
  const f = scope.getDDIC().lookupTableOrView(typeName).type;
@@ -51784,7 +51787,7 @@ class Registry {
51784
51787
  }
51785
51788
  static abaplintVersion() {
51786
51789
  // magic, see build script "version.sh"
51787
- return "2.110.6";
51790
+ return "2.110.7";
51788
51791
  }
51789
51792
  getDDICReferences() {
51790
51793
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.110.6",
3
+ "version": "2.110.7",
4
4
  "description": "abaplint - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -38,12 +38,12 @@
38
38
  },
39
39
  "homepage": "https://abaplint.org",
40
40
  "devDependencies": {
41
- "@abaplint/core": "^2.110.6",
41
+ "@abaplint/core": "^2.110.7",
42
42
  "@types/chai": "^4.3.16",
43
43
  "@types/glob": "^8.1.0",
44
44
  "@types/minimist": "^1.2.5",
45
45
  "@types/mocha": "^10.0.7",
46
- "@types/node": "^20.14.9",
46
+ "@types/node": "^20.14.10",
47
47
  "@types/progress": "^2.0.7",
48
48
  "chai": "^4.4.1",
49
49
  "chalk": "^5.3.0",
@@ -55,7 +55,7 @@
55
55
  "mocha": "^10.6.0",
56
56
  "progress": "^2.0.3",
57
57
  "typescript": "^5.5.3",
58
- "webpack": "^5.92.1",
58
+ "webpack": "^5.93.0",
59
59
  "webpack-cli": "^5.1.4",
60
60
  "xml-js": "^1.6.11"
61
61
  },