@abaplint/core 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.
@@ -67,7 +67,7 @@ class Registry {
67
67
  }
68
68
  static abaplintVersion() {
69
69
  // magic, see build script "version.sh"
70
- return "2.113.7";
70
+ return "2.113.8";
71
71
  }
72
72
  getDDICReferences() {
73
73
  return this.ddicReferences;
@@ -63,7 +63,7 @@ https://docs.abapopenchecks.org/checks/16/`,
63
63
  const position = new position_1.Position(i + 1, column);
64
64
  // merge punc into previous row
65
65
  let rowContent = rows[i].trim();
66
- // if reported row contains a paranthesis, prefix with space if needed
66
+ // if reported row contains parentheses, prefix with space if needed
67
67
  if (rowContent.length > 1 && !rows[i - 1].endsWith(" ") && !rows[i - 1].endsWith(" \r")) {
68
68
  rowContent = " " + rowContent;
69
69
  }
@@ -73,7 +73,10 @@ https://docs.abapopenchecks.org/checks/16/`,
73
73
  }
74
74
  const startPos = new position_1.Position(i, rows[i - 1].length + 1 + offset);
75
75
  const endPos = new position_1.Position(i + 1, rows[i].length + 1);
76
- const fix = edit_helper_1.EditHelper.replaceRange(file, startPos, endPos, rowContent);
76
+ let fix = edit_helper_1.EditHelper.replaceRange(file, startPos, endPos, rowContent);
77
+ if (rows[i - 1] === undefined || rows[i - 1].indexOf("*") === 0 || rows[i - 1].includes(`"`)) {
78
+ fix = undefined;
79
+ }
77
80
  const issue = issue_1.Issue.atPosition(file, position, this.getMessage(), this.getMetadata().key, this.conf.severity, fix);
78
81
  issues.push(issue);
79
82
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.113.7",
3
+ "version": "2.113.8",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",
@@ -60,7 +60,7 @@
60
60
  "c8": "^10.1.2",
61
61
  "source-map-support": "^0.5.21",
62
62
  "ts-json-schema-generator": "^2.3.0",
63
- "typescript": "^5.5.4"
63
+ "typescript": "^5.6.2"
64
64
  },
65
65
  "dependencies": {
66
66
  "fast-xml-parser": "^4.5.0",