@abaplint/transpiler-cli 2.13.88 → 2.13.89

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/bundle.js +13 -8
  2. package/package.json +3 -3
package/build/bundle.js CHANGED
@@ -12875,7 +12875,7 @@ class CallTransaction {
12875
12875
  getMatcher() {
12876
12876
  const options = (0, combi_1.seq)("OPTIONS FROM", expressions_1.Source);
12877
12877
  const messages = (0, combi_1.seq)("MESSAGES INTO", expressions_1.Target);
12878
- const auth = (0, combi_1.ver)(version_1.Release.v740sp02, (0, combi_1.seq)((0, combi_1.altPrio)("WITH", "WITHOUT"), "AUTHORITY-CHECK"));
12878
+ 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 });
12879
12879
  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));
12880
12880
  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));
12881
12881
  return (0, combi_1.verNotLang)(version_1.LanguageVersion.Cloud, ret);
@@ -71132,7 +71132,7 @@ class Registry {
71132
71132
  }
71133
71133
  static abaplintVersion() {
71134
71134
  // magic, see build script "version.js"
71135
- return "2.120.54";
71135
+ return "2.120.55";
71136
71136
  }
71137
71137
  getDDICReferences() {
71138
71138
  return this.ddicReferences;
@@ -72071,7 +72071,7 @@ class AlignParameters extends _abap_rule_1.ABAPRule {
72071
72071
  * CREATE OBJECT statements
72072
72072
  * RAISE EVENT statements
72073
72073
 
72074
- https://github.com/SAP/styleguides/blob/master/clean-abap/CleanABAP.md#align-parameters
72074
+ https://github.com/SAP/styleguides/blob/main/clean-abap/CleanABAP.md#align-parameters
72075
72075
 
72076
72076
  Does not take effect on non functional method calls, use https://rules.abaplint.org/functional_writing/
72077
72077
 
@@ -76905,7 +76905,7 @@ class ConstantClasses {
76905
76905
  key: "constant_classes",
76906
76906
  title: "Validate constant classes",
76907
76907
  shortDescription: `Checks that a class contains exactly the constants corresponding to a domain's fixed values.`,
76908
- extendedInformation: `https://github.com/SAP/styleguides/blob/main/clean-abap/CleanABAP.md#prefer-enumeration-classes-to-constants-interfaces`,
76908
+ extendedInformation: `https://github.com/SAP/styleguides/blob/main/clean-abap/CleanABAP.md#prefer-enum-to-constants-interfaces`,
76909
76909
  tags: [_irule_1.RuleTag.Styleguide],
76910
76910
  };
76911
76911
  }
@@ -81096,6 +81096,10 @@ ${indentation} output = ${uniqueName}.\n`;
81096
81096
  if (!(high.get() instanceof Statements.CallTransaction)) {
81097
81097
  return undefined;
81098
81098
  }
81099
+ else if (this.lowReg.getConfig().isOpenABAP()) {
81100
+ // open-abap supports the addition
81101
+ return undefined;
81102
+ }
81099
81103
  const tokens = high.getTokens();
81100
81104
  // the lexer splits "AUTHORITY-CHECK" into three tokens: AUTHORITY, -, CHECK
81101
81105
  for (let i = 1; i < tokens.length - 3; i++) {
@@ -86336,7 +86340,7 @@ class KeywordCase extends _abap_rule_1.ABAPRule {
86336
86340
  key: "keyword_case",
86337
86341
  title: "Keyword case",
86338
86342
  shortDescription: `Checks that keywords have the same case. Non-keywords must be lower case.`,
86339
- extendedInformation: `https://github.com/SAP/styleguides/blob/main/clean-abap/CleanABAP.md#use-your-pretty-printer-team-settings`,
86343
+ extendedInformation: `https://github.com/SAP/styleguides/blob/main/clean-abap/CleanABAP.md#use-your-teams-abap-formatter-settings`,
86340
86344
  tags: [_irule_1.RuleTag.Styleguide, _irule_1.RuleTag.SingleFile, _irule_1.RuleTag.Quickfix],
86341
86345
  badExample: `write 'hello world'.`,
86342
86346
  goodExample: `WRITE 'hello world'.`,
@@ -93262,9 +93266,8 @@ class PreferInsertIntoTable extends _abap_rule_1.ABAPRule {
93262
93266
  key: "prefer_insert_into_table",
93263
93267
  title: "Prefer INSERT INTO TABLE over APPEND",
93264
93268
  shortDescription: `Prefer INSERT INTO TABLE over APPEND`,
93265
- extendedInformation: `INSERT INTO TABLE respects the table type, while APPEND always adds to the end regardless of table type.
93266
-
93267
- https://github.com/SAP/styleguides/blob/main/clean-abap/CleanABAP.md`,
93269
+ // eslint-disable-next-line max-len
93270
+ 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`,
93268
93271
  tags: [_irule_1.RuleTag.SingleFile, _irule_1.RuleTag.Styleguide, _irule_1.RuleTag.Quickfix],
93269
93272
  badExample: `APPEND row TO itab.`,
93270
93273
  goodExample: `INSERT row INTO TABLE itab.`,
@@ -95958,6 +95961,8 @@ class SequentialBlank extends _abap_rule_1.ABAPRule {
95958
95961
  key: "sequential_blank",
95959
95962
  title: "Sequential blank lines",
95960
95963
  shortDescription: `Checks that code does not contain more than the configured number of blank lines in a row.`,
95964
+ // eslint-disable-next-line max-len
95965
+ extendedInformation: `https://github.com/SAP/styleguides/blob/main/clean-abap/CleanABAP.md#add-a-single-blank-line-to-separate-things-but-not-more`,
95961
95966
  tags: [_irule_1.RuleTag.Whitespace, _irule_1.RuleTag.Quickfix, _irule_1.RuleTag.SingleFile],
95962
95967
  };
95963
95968
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/transpiler-cli",
3
- "version": "2.13.88",
3
+ "version": "2.13.89",
4
4
  "description": "Transpiler - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -27,8 +27,8 @@
27
27
  "author": "abaplint",
28
28
  "license": "MIT",
29
29
  "devDependencies": {
30
- "@abaplint/core": "^2.120.54",
31
- "@abaplint/transpiler": "^2.13.88",
30
+ "@abaplint/core": "^2.120.55",
31
+ "@abaplint/transpiler": "^2.13.89",
32
32
  "@types/glob": "^9.0.0",
33
33
  "@types/node": "^26.4.1",
34
34
  "@types/progress": "^2.0.7",