@abaplint/cli 2.113.7 → 2.113.8

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/cli.js +6 -3
  2. package/package.json +3 -3
package/build/cli.js CHANGED
@@ -52714,7 +52714,7 @@ class Registry {
52714
52714
  }
52715
52715
  static abaplintVersion() {
52716
52716
  // magic, see build script "version.sh"
52717
- return "2.113.7";
52717
+ return "2.113.8";
52718
52718
  }
52719
52719
  getDDICReferences() {
52720
52720
  return this.ddicReferences;
@@ -64894,7 +64894,7 @@ https://docs.abapopenchecks.org/checks/16/`,
64894
64894
  const position = new position_1.Position(i + 1, column);
64895
64895
  // merge punc into previous row
64896
64896
  let rowContent = rows[i].trim();
64897
- // if reported row contains a paranthesis, prefix with space if needed
64897
+ // if reported row contains parentheses, prefix with space if needed
64898
64898
  if (rowContent.length > 1 && !rows[i - 1].endsWith(" ") && !rows[i - 1].endsWith(" \r")) {
64899
64899
  rowContent = " " + rowContent;
64900
64900
  }
@@ -64904,7 +64904,10 @@ https://docs.abapopenchecks.org/checks/16/`,
64904
64904
  }
64905
64905
  const startPos = new position_1.Position(i, rows[i - 1].length + 1 + offset);
64906
64906
  const endPos = new position_1.Position(i + 1, rows[i].length + 1);
64907
- const fix = edit_helper_1.EditHelper.replaceRange(file, startPos, endPos, rowContent);
64907
+ let fix = edit_helper_1.EditHelper.replaceRange(file, startPos, endPos, rowContent);
64908
+ if (rows[i - 1] === undefined || rows[i - 1].indexOf("*") === 0 || rows[i - 1].includes(`"`)) {
64909
+ fix = undefined;
64910
+ }
64908
64911
  const issue = issue_1.Issue.atPosition(file, position, this.getMessage(), this.getMetadata().key, this.conf.severity, fix);
64909
64912
  issues.push(issue);
64910
64913
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.113.7",
3
+ "version": "2.113.8",
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.7",
41
+ "@abaplint/core": "^2.113.8",
42
42
  "@types/chai": "^4.3.19",
43
43
  "@types/glob": "^8.1.0",
44
44
  "@types/minimist": "^1.2.5",
@@ -54,7 +54,7 @@
54
54
  "minimist": "^1.2.8",
55
55
  "mocha": "^10.7.3",
56
56
  "progress": "^2.0.3",
57
- "typescript": "^5.5.4",
57
+ "typescript": "^5.6.2",
58
58
  "webpack": "^5.94.0",
59
59
  "webpack-cli": "^5.1.4",
60
60
  "xml-js": "^1.6.11"