@abaplint/cli 2.99.2 → 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.
- package/build/cli.js +12 -1
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -20599,6 +20599,9 @@ class CurrentScope {
|
|
|
20599
20599
|
return undefined;
|
|
20600
20600
|
}
|
|
20601
20601
|
const typePoolName = name.split("_")[0];
|
|
20602
|
+
if (typePoolName.length <= 2 || typePoolName.length > 5) {
|
|
20603
|
+
return undefined;
|
|
20604
|
+
}
|
|
20602
20605
|
const typePool = this.reg.getObject("TYPE", typePoolName);
|
|
20603
20606
|
if (typePool === undefined) {
|
|
20604
20607
|
return undefined;
|
|
@@ -20613,6 +20616,14 @@ class CurrentScope {
|
|
|
20613
20616
|
return undefined;
|
|
20614
20617
|
}
|
|
20615
20618
|
const typePoolName = name.split("_")[0];
|
|
20619
|
+
if (typePoolName.length <= 2 || typePoolName.length > 5) {
|
|
20620
|
+
return undefined;
|
|
20621
|
+
}
|
|
20622
|
+
if (new ddic_1.DDIC(this.reg).lookupNoVoid(name) !== undefined) {
|
|
20623
|
+
// this is tricky, it should not do recursion when parsing the type pool itself,
|
|
20624
|
+
// think about DTEL ABAP_ENCOD vs TYPE ABAP
|
|
20625
|
+
return undefined;
|
|
20626
|
+
}
|
|
20616
20627
|
const typePool = this.reg.getObject("TYPE", typePoolName);
|
|
20617
20628
|
if (typePool === undefined) {
|
|
20618
20629
|
return undefined;
|
|
@@ -47547,7 +47558,7 @@ class Registry {
|
|
|
47547
47558
|
}
|
|
47548
47559
|
static abaplintVersion() {
|
|
47549
47560
|
// magic, see build script "version.sh"
|
|
47550
|
-
return "2.99.
|
|
47561
|
+
return "2.99.4";
|
|
47551
47562
|
}
|
|
47552
47563
|
getDDICReferences() {
|
|
47553
47564
|
return this.references;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.99.
|
|
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.
|
|
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",
|