@abaplint/cli 2.100.4 → 2.100.5
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 +15 -4
- package/package.json +3 -3
package/build/cli.js
CHANGED
|
@@ -47757,7 +47757,7 @@ class Registry {
|
|
|
47757
47757
|
}
|
|
47758
47758
|
static abaplintVersion() {
|
|
47759
47759
|
// magic, see build script "version.sh"
|
|
47760
|
-
return "2.100.
|
|
47760
|
+
return "2.100.5";
|
|
47761
47761
|
}
|
|
47762
47762
|
getDDICReferences() {
|
|
47763
47763
|
return this.ddicReferences;
|
|
@@ -57098,7 +57098,16 @@ IF condition1.
|
|
|
57098
57098
|
...
|
|
57099
57099
|
ELSEIF condition2.
|
|
57100
57100
|
...
|
|
57101
|
-
ENDIF
|
|
57101
|
+
ENDIF.
|
|
57102
|
+
|
|
57103
|
+
CASE variable.
|
|
57104
|
+
WHEN value1.
|
|
57105
|
+
...
|
|
57106
|
+
WHEN value2.
|
|
57107
|
+
IF condition2.
|
|
57108
|
+
...
|
|
57109
|
+
ENDIF.
|
|
57110
|
+
ENDCASE.`,
|
|
57102
57111
|
tags: [_irule_1.RuleTag.Styleguide, _irule_1.RuleTag.SingleFile, _irule_1.RuleTag.Quickfix],
|
|
57103
57112
|
};
|
|
57104
57113
|
}
|
|
@@ -65717,13 +65726,15 @@ class TypesNaming extends _abap_rule_1.ABAPRule {
|
|
|
65717
65726
|
if (stat.get() instanceof Statements.Type && nesting === 0) {
|
|
65718
65727
|
expr = stat.findFirstExpression(Expressions.NamespaceSimpleName);
|
|
65719
65728
|
}
|
|
65720
|
-
else if (stat.get() instanceof Statements.TypeBegin
|
|
65729
|
+
else if (stat.get() instanceof Statements.TypeBegin
|
|
65730
|
+
|| stat.get() instanceof Statements.TypeEnumBegin) {
|
|
65721
65731
|
if (nesting === 0) {
|
|
65722
65732
|
expr = stat.findFirstExpression(Expressions.NamespaceSimpleName);
|
|
65723
65733
|
}
|
|
65724
65734
|
nesting = nesting + 1;
|
|
65725
65735
|
}
|
|
65726
|
-
else if (stat.get() instanceof Statements.TypeEnd
|
|
65736
|
+
else if (stat.get() instanceof Statements.TypeEnd
|
|
65737
|
+
|| stat.get() instanceof Statements.TypeEnumEnd) {
|
|
65727
65738
|
nesting = nesting - 1;
|
|
65728
65739
|
continue;
|
|
65729
65740
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.100.
|
|
3
|
+
"version": "2.100.5",
|
|
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.100.
|
|
41
|
+
"@abaplint/core": "^2.100.5",
|
|
42
42
|
"@types/chai": "^4.3.5",
|
|
43
43
|
"@types/glob": "^7.2.0",
|
|
44
44
|
"@types/minimist": "^1.2.2",
|
|
45
45
|
"@types/mocha": "^10.0.1",
|
|
46
|
-
"@types/node": "^20.2.
|
|
46
|
+
"@types/node": "^20.2.1",
|
|
47
47
|
"@types/progress": "^2.0.5",
|
|
48
48
|
"chai": "^4.3.7",
|
|
49
49
|
"chalk": "^5.2.0",
|