@abaplint/cli 2.113.223 → 2.113.224
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 +9 -8
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -8013,7 +8013,7 @@ const _1 = __webpack_require__(/*! . */ "./node_modules/@abaplint/core/build/src
|
|
|
8013
8013
|
class SourceFieldSymbolChain extends combi_1.Expression {
|
|
8014
8014
|
getRunnable() {
|
|
8015
8015
|
const chain = (0, combi_1.seq)(new _1.ArrowOrDash(), _1.ComponentName);
|
|
8016
|
-
return (0, combi_1.seq)(_1.FieldSymbol, (0, combi_1.starPrio)(chain));
|
|
8016
|
+
return (0, combi_1.seq)(_1.FieldSymbol, (0, combi_1.starPrio)(chain), (0, combi_1.optPrio)(_1.TableBody));
|
|
8017
8017
|
}
|
|
8018
8018
|
}
|
|
8019
8019
|
exports.SourceFieldSymbolChain = SourceFieldSymbolChain;
|
|
@@ -54559,7 +54559,7 @@ class Registry {
|
|
|
54559
54559
|
}
|
|
54560
54560
|
static abaplintVersion() {
|
|
54561
54561
|
// magic, see build script "version.sh"
|
|
54562
|
-
return "2.113.
|
|
54562
|
+
return "2.113.224";
|
|
54563
54563
|
}
|
|
54564
54564
|
getDDICReferences() {
|
|
54565
54565
|
return this.ddicReferences;
|
|
@@ -57462,6 +57462,7 @@ const _basic_rule_config_1 = __webpack_require__(/*! ./_basic_rule_config */ "./
|
|
|
57462
57462
|
const _abap_object_1 = __webpack_require__(/*! ../objects/_abap_object */ "./node_modules/@abaplint/core/build/src/objects/_abap_object.js");
|
|
57463
57463
|
const include_graph_1 = __webpack_require__(/*! ../utils/include_graph */ "./node_modules/@abaplint/core/build/src/utils/include_graph.js");
|
|
57464
57464
|
const _irule_1 = __webpack_require__(/*! ./_irule */ "./node_modules/@abaplint/core/build/src/rules/_irule.js");
|
|
57465
|
+
const objects_1 = __webpack_require__(/*! ../objects */ "./node_modules/@abaplint/core/build/src/objects/index.js");
|
|
57465
57466
|
class CheckIncludeConf extends _basic_rule_config_1.BasicRuleConfig {
|
|
57466
57467
|
}
|
|
57467
57468
|
exports.CheckIncludeConf = CheckIncludeConf;
|
|
@@ -57477,7 +57478,8 @@ class CheckInclude {
|
|
|
57477
57478
|
extendedInformation: `
|
|
57478
57479
|
* Reports unused includes
|
|
57479
57480
|
* Errors if the includes are not found
|
|
57480
|
-
* Error if including a main program
|
|
57481
|
+
* Error if including a main program
|
|
57482
|
+
* Skips ZX* includes`,
|
|
57481
57483
|
tags: [_irule_1.RuleTag.Syntax],
|
|
57482
57484
|
};
|
|
57483
57485
|
}
|
|
@@ -57496,6 +57498,9 @@ class CheckInclude {
|
|
|
57496
57498
|
if (!(obj instanceof _abap_object_1.ABAPObject)) {
|
|
57497
57499
|
return [];
|
|
57498
57500
|
}
|
|
57501
|
+
if (obj instanceof objects_1.Program && obj.isInclude() === true && obj.getName().startsWith("ZX")) {
|
|
57502
|
+
return [];
|
|
57503
|
+
}
|
|
57499
57504
|
let ret = [];
|
|
57500
57505
|
for (const file of obj.getABAPFiles()) {
|
|
57501
57506
|
ret = ret.concat(this.graph.getIssuesFile(file));
|
|
@@ -77840,11 +77845,7 @@ class SkipLogic {
|
|
|
77840
77845
|
var _a;
|
|
77841
77846
|
if (this.tobj === undefined) {
|
|
77842
77847
|
this.tobj = {};
|
|
77843
|
-
for (const
|
|
77844
|
-
if (obj.getType() !== "TOBJ") {
|
|
77845
|
-
continue;
|
|
77846
|
-
}
|
|
77847
|
-
const tobj = obj;
|
|
77848
|
+
for (const tobj of this.reg.getObjectsByType("TOBJ")) {
|
|
77848
77849
|
const area = (_a = tobj.getArea()) === null || _a === void 0 ? void 0 : _a.toUpperCase();
|
|
77849
77850
|
if (area) {
|
|
77850
77851
|
this.tobj[area] = true;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.113.
|
|
3
|
+
"version": "2.113.224",
|
|
4
4
|
"description": "abaplint - Command Line Interface",
|
|
5
5
|
"funding": "https://github.com/sponsors/larshp",
|
|
6
6
|
"bin": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"homepage": "https://abaplint.org",
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@abaplint/core": "^2.113.
|
|
41
|
+
"@abaplint/core": "^2.113.224",
|
|
42
42
|
"@types/chai": "^4.3.20",
|
|
43
43
|
"@types/minimist": "^1.2.5",
|
|
44
44
|
"@types/mocha": "^10.0.10",
|