@abaplint/transpiler-cli 2.10.65 → 2.10.66

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/bundle.js +7 -3
  2. package/package.json +3 -3
package/build/bundle.js CHANGED
@@ -47305,8 +47305,12 @@ class DataElement extends _abstract_object_1.AbstractObject {
47305
47305
  references.push({ object: lookup.object });
47306
47306
  }
47307
47307
  reg.getDDICReferences().setUsing(this, references);
47308
- this.parsedType = lookup.type;
47309
- return this.parsedType;
47308
+ if (!(lookup.type instanceof Types.UnknownType)) {
47309
+ // the referenced type might not exist or contain syntax errors(for CLAS)
47310
+ // so dont cache it, expect the user to fix it
47311
+ this.parsedType = lookup.type;
47312
+ }
47313
+ return lookup.type;
47310
47314
  }
47311
47315
  parse() {
47312
47316
  var _a, _b, _c;
@@ -53581,7 +53585,7 @@ class Registry {
53581
53585
  }
53582
53586
  static abaplintVersion() {
53583
53587
  // magic, see build script "version.sh"
53584
- return "2.113.148";
53588
+ return "2.113.149";
53585
53589
  }
53586
53590
  getDDICReferences() {
53587
53591
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/transpiler-cli",
3
- "version": "2.10.65",
3
+ "version": "2.10.66",
4
4
  "description": "Transpiler - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -27,8 +27,8 @@
27
27
  "author": "abaplint",
28
28
  "license": "MIT",
29
29
  "devDependencies": {
30
- "@abaplint/core": "^2.113.148",
31
- "@abaplint/transpiler": "^2.10.65",
30
+ "@abaplint/core": "^2.113.149",
31
+ "@abaplint/transpiler": "^2.10.66",
32
32
  "@types/glob": "^8.1.0",
33
33
  "@types/node": "^22.16.5",
34
34
  "@types/progress": "^2.0.7",