@abaplint/transpiler-cli 2.6.40 → 2.6.41

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 +6 -3
  2. package/package.json +3 -3
package/build/bundle.js CHANGED
@@ -19653,7 +19653,7 @@ class CurrentScope {
19653
19653
  return undefined;
19654
19654
  }
19655
19655
  const typePoolName = name.split("_")[0];
19656
- if (typePoolName.length !== 4) {
19656
+ if (typePoolName.length <= 2 || typePoolName.length > 5) {
19657
19657
  return undefined;
19658
19658
  }
19659
19659
  const typePool = this.reg.getObject("TYPE", typePoolName);
@@ -19670,7 +19670,10 @@ class CurrentScope {
19670
19670
  return undefined;
19671
19671
  }
19672
19672
  const typePoolName = name.split("_")[0];
19673
- if (typePoolName.length !== 4 || new ddic_1.DDIC(this.reg).lookupNoVoid(name) !== undefined) {
19673
+ if (typePoolName.length <= 2 || typePoolName.length > 5) {
19674
+ return undefined;
19675
+ }
19676
+ if (new ddic_1.DDIC(this.reg).lookupNoVoid(name) !== undefined) {
19674
19677
  // this is tricky, it should not do recursion when parsing the type pool itself,
19675
19678
  // think about DTEL ABAP_ENCOD vs TYPE ABAP
19676
19679
  return undefined;
@@ -46609,7 +46612,7 @@ class Registry {
46609
46612
  }
46610
46613
  static abaplintVersion() {
46611
46614
  // magic, see build script "version.sh"
46612
- return "2.99.3";
46615
+ return "2.99.4";
46613
46616
  }
46614
46617
  getDDICReferences() {
46615
46618
  return this.references;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/transpiler-cli",
3
- "version": "2.6.40",
3
+ "version": "2.6.41",
4
4
  "description": "Transpiler - Command Line Interface",
5
5
  "bin": {
6
6
  "abap_transpile": "./abap_transpile"
@@ -25,12 +25,12 @@
25
25
  "author": "abaplint",
26
26
  "license": "MIT",
27
27
  "devDependencies": {
28
- "@abaplint/transpiler": "^2.6.40",
28
+ "@abaplint/transpiler": "^2.6.41",
29
29
  "@types/glob": "^7.2.0",
30
30
  "glob": "=7.2.0",
31
31
  "@types/progress": "^2.0.5",
32
32
  "@types/node": "^18.16.3",
33
- "@abaplint/core": "^2.99.3",
33
+ "@abaplint/core": "^2.99.4",
34
34
  "progress": "^2.0.3",
35
35
  "webpack": "^5.81.0",
36
36
  "webpack-cli": "^5.0.2",