@abaplint/cli 2.120.54 → 2.120.55
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 +13 -8
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -12387,7 +12387,7 @@ class CallTransaction {
|
|
|
12387
12387
|
getMatcher() {
|
|
12388
12388
|
const options = (0, combi_1.seq)("OPTIONS FROM", expressions_1.Source);
|
|
12389
12389
|
const messages = (0, combi_1.seq)("MESSAGES INTO", expressions_1.Target);
|
|
12390
|
-
const auth = (0, combi_1.ver)(version_1.Release.v740sp02, (0, combi_1.seq)((0, combi_1.altPrio)("WITH", "WITHOUT"), "AUTHORITY-CHECK"));
|
|
12390
|
+
const auth = (0, combi_1.ver)(version_1.Release.v740sp02, (0, combi_1.seq)((0, combi_1.altPrio)("WITH", "WITHOUT"), "AUTHORITY-CHECK"), { also: combi_1.AlsoIn.OpenABAP });
|
|
12391
12391
|
const perm = (0, combi_1.per)((0, combi_1.seq)("UPDATE", expressions_1.Source), "AND SKIP FIRST SCREEN", options, messages, (0, combi_1.seq)("MODE", expressions_1.Source));
|
|
12392
12392
|
const ret = (0, combi_1.seq)("CALL TRANSACTION", expressions_1.Source, (0, combi_1.optPrio)(auth), (0, combi_1.optPrio)((0, combi_1.seq)("USING", expressions_1.Source)), (0, combi_1.opt)(perm));
|
|
12393
12393
|
return (0, combi_1.verNotLang)(version_1.LanguageVersion.Cloud, ret);
|
|
@@ -70644,7 +70644,7 @@ class Registry {
|
|
|
70644
70644
|
}
|
|
70645
70645
|
static abaplintVersion() {
|
|
70646
70646
|
// magic, see build script "version.js"
|
|
70647
|
-
return "2.120.
|
|
70647
|
+
return "2.120.55";
|
|
70648
70648
|
}
|
|
70649
70649
|
getDDICReferences() {
|
|
70650
70650
|
return this.ddicReferences;
|
|
@@ -71583,7 +71583,7 @@ class AlignParameters extends _abap_rule_1.ABAPRule {
|
|
|
71583
71583
|
* CREATE OBJECT statements
|
|
71584
71584
|
* RAISE EVENT statements
|
|
71585
71585
|
|
|
71586
|
-
https://github.com/SAP/styleguides/blob/
|
|
71586
|
+
https://github.com/SAP/styleguides/blob/main/clean-abap/CleanABAP.md#align-parameters
|
|
71587
71587
|
|
|
71588
71588
|
Does not take effect on non functional method calls, use https://rules.abaplint.org/functional_writing/
|
|
71589
71589
|
|
|
@@ -76417,7 +76417,7 @@ class ConstantClasses {
|
|
|
76417
76417
|
key: "constant_classes",
|
|
76418
76418
|
title: "Validate constant classes",
|
|
76419
76419
|
shortDescription: `Checks that a class contains exactly the constants corresponding to a domain's fixed values.`,
|
|
76420
|
-
extendedInformation: `https://github.com/SAP/styleguides/blob/main/clean-abap/CleanABAP.md#prefer-
|
|
76420
|
+
extendedInformation: `https://github.com/SAP/styleguides/blob/main/clean-abap/CleanABAP.md#prefer-enum-to-constants-interfaces`,
|
|
76421
76421
|
tags: [_irule_1.RuleTag.Styleguide],
|
|
76422
76422
|
};
|
|
76423
76423
|
}
|
|
@@ -80608,6 +80608,10 @@ ${indentation} output = ${uniqueName}.\n`;
|
|
|
80608
80608
|
if (!(high.get() instanceof Statements.CallTransaction)) {
|
|
80609
80609
|
return undefined;
|
|
80610
80610
|
}
|
|
80611
|
+
else if (this.lowReg.getConfig().isOpenABAP()) {
|
|
80612
|
+
// open-abap supports the addition
|
|
80613
|
+
return undefined;
|
|
80614
|
+
}
|
|
80611
80615
|
const tokens = high.getTokens();
|
|
80612
80616
|
// the lexer splits "AUTHORITY-CHECK" into three tokens: AUTHORITY, -, CHECK
|
|
80613
80617
|
for (let i = 1; i < tokens.length - 3; i++) {
|
|
@@ -85848,7 +85852,7 @@ class KeywordCase extends _abap_rule_1.ABAPRule {
|
|
|
85848
85852
|
key: "keyword_case",
|
|
85849
85853
|
title: "Keyword case",
|
|
85850
85854
|
shortDescription: `Checks that keywords have the same case. Non-keywords must be lower case.`,
|
|
85851
|
-
extendedInformation: `https://github.com/SAP/styleguides/blob/main/clean-abap/CleanABAP.md#use-your-
|
|
85855
|
+
extendedInformation: `https://github.com/SAP/styleguides/blob/main/clean-abap/CleanABAP.md#use-your-teams-abap-formatter-settings`,
|
|
85852
85856
|
tags: [_irule_1.RuleTag.Styleguide, _irule_1.RuleTag.SingleFile, _irule_1.RuleTag.Quickfix],
|
|
85853
85857
|
badExample: `write 'hello world'.`,
|
|
85854
85858
|
goodExample: `WRITE 'hello world'.`,
|
|
@@ -92774,9 +92778,8 @@ class PreferInsertIntoTable extends _abap_rule_1.ABAPRule {
|
|
|
92774
92778
|
key: "prefer_insert_into_table",
|
|
92775
92779
|
title: "Prefer INSERT INTO TABLE over APPEND",
|
|
92776
92780
|
shortDescription: `Prefer INSERT INTO TABLE over APPEND`,
|
|
92777
|
-
|
|
92778
|
-
|
|
92779
|
-
https://github.com/SAP/styleguides/blob/main/clean-abap/CleanABAP.md`,
|
|
92781
|
+
// eslint-disable-next-line max-len
|
|
92782
|
+
extendedInformation: `INSERT INTO TABLE respects the table type, while APPEND always tries to add to the end. This will dump if the sort order of a sorted table would change.\n\nhttps://github.com/SAP/styleguides/blob/main/clean-abap/CleanABAP.md#prefer-insert-into-table-to-append-to`,
|
|
92780
92783
|
tags: [_irule_1.RuleTag.SingleFile, _irule_1.RuleTag.Styleguide, _irule_1.RuleTag.Quickfix],
|
|
92781
92784
|
badExample: `APPEND row TO itab.`,
|
|
92782
92785
|
goodExample: `INSERT row INTO TABLE itab.`,
|
|
@@ -95470,6 +95473,8 @@ class SequentialBlank extends _abap_rule_1.ABAPRule {
|
|
|
95470
95473
|
key: "sequential_blank",
|
|
95471
95474
|
title: "Sequential blank lines",
|
|
95472
95475
|
shortDescription: `Checks that code does not contain more than the configured number of blank lines in a row.`,
|
|
95476
|
+
// eslint-disable-next-line max-len
|
|
95477
|
+
extendedInformation: `https://github.com/SAP/styleguides/blob/main/clean-abap/CleanABAP.md#add-a-single-blank-line-to-separate-things-but-not-more`,
|
|
95473
95478
|
tags: [_irule_1.RuleTag.Whitespace, _irule_1.RuleTag.Quickfix, _irule_1.RuleTag.SingleFile],
|
|
95474
95479
|
};
|
|
95475
95480
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.120.
|
|
3
|
+
"version": "2.120.55",
|
|
4
4
|
"description": "abaplint - Command Line Interface",
|
|
5
5
|
"funding": "https://github.com/sponsors/larshp",
|
|
6
6
|
"bin": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"homepage": "https://abaplint.org",
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@abaplint/core": "^2.120.
|
|
42
|
+
"@abaplint/core": "^2.120.55",
|
|
43
43
|
"@types/chai": "^4.3.20",
|
|
44
44
|
"@types/minimist": "^1.2.5",
|
|
45
45
|
"@types/mocha": "^10.0.10",
|