@abaplint/cli 2.99.3 → 2.99.4

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 +6 -3
  2. package/package.json +2 -2
package/build/cli.js CHANGED
@@ -20599,7 +20599,7 @@ class CurrentScope {
20599
20599
  return undefined;
20600
20600
  }
20601
20601
  const typePoolName = name.split("_")[0];
20602
- if (typePoolName.length !== 4) {
20602
+ if (typePoolName.length <= 2 || typePoolName.length > 5) {
20603
20603
  return undefined;
20604
20604
  }
20605
20605
  const typePool = this.reg.getObject("TYPE", typePoolName);
@@ -20616,7 +20616,10 @@ class CurrentScope {
20616
20616
  return undefined;
20617
20617
  }
20618
20618
  const typePoolName = name.split("_")[0];
20619
- if (typePoolName.length !== 4 || new ddic_1.DDIC(this.reg).lookupNoVoid(name) !== undefined) {
20619
+ if (typePoolName.length <= 2 || typePoolName.length > 5) {
20620
+ return undefined;
20621
+ }
20622
+ if (new ddic_1.DDIC(this.reg).lookupNoVoid(name) !== undefined) {
20620
20623
  // this is tricky, it should not do recursion when parsing the type pool itself,
20621
20624
  // think about DTEL ABAP_ENCOD vs TYPE ABAP
20622
20625
  return undefined;
@@ -47555,7 +47558,7 @@ class Registry {
47555
47558
  }
47556
47559
  static abaplintVersion() {
47557
47560
  // magic, see build script "version.sh"
47558
- return "2.99.3";
47561
+ return "2.99.4";
47559
47562
  }
47560
47563
  getDDICReferences() {
47561
47564
  return this.references;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.99.3",
3
+ "version": "2.99.4",
4
4
  "description": "abaplint - Command Line Interface",
5
5
  "bin": {
6
6
  "abaplint": "./abaplint"
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "homepage": "https://abaplint.org",
39
39
  "devDependencies": {
40
- "@abaplint/core": "^2.99.3",
40
+ "@abaplint/core": "^2.99.4",
41
41
  "@types/chai": "^4.3.5",
42
42
  "@types/glob": "^7.2.0",
43
43
  "@types/minimist": "^1.2.2",