@abaplint/transpiler-cli 2.10.18 → 2.10.19
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/bundle.js +6 -3
- package/package.json +3 -3
package/build/bundle.js
CHANGED
|
@@ -51655,7 +51655,7 @@ class Registry {
|
|
|
51655
51655
|
}
|
|
51656
51656
|
static abaplintVersion() {
|
|
51657
51657
|
// magic, see build script "version.sh"
|
|
51658
|
-
return "2.113.
|
|
51658
|
+
return "2.113.8";
|
|
51659
51659
|
}
|
|
51660
51660
|
getDDICReferences() {
|
|
51661
51661
|
return this.ddicReferences;
|
|
@@ -63835,7 +63835,7 @@ https://docs.abapopenchecks.org/checks/16/`,
|
|
|
63835
63835
|
const position = new position_1.Position(i + 1, column);
|
|
63836
63836
|
// merge punc into previous row
|
|
63837
63837
|
let rowContent = rows[i].trim();
|
|
63838
|
-
// if reported row contains
|
|
63838
|
+
// if reported row contains parentheses, prefix with space if needed
|
|
63839
63839
|
if (rowContent.length > 1 && !rows[i - 1].endsWith(" ") && !rows[i - 1].endsWith(" \r")) {
|
|
63840
63840
|
rowContent = " " + rowContent;
|
|
63841
63841
|
}
|
|
@@ -63845,7 +63845,10 @@ https://docs.abapopenchecks.org/checks/16/`,
|
|
|
63845
63845
|
}
|
|
63846
63846
|
const startPos = new position_1.Position(i, rows[i - 1].length + 1 + offset);
|
|
63847
63847
|
const endPos = new position_1.Position(i + 1, rows[i].length + 1);
|
|
63848
|
-
|
|
63848
|
+
let fix = edit_helper_1.EditHelper.replaceRange(file, startPos, endPos, rowContent);
|
|
63849
|
+
if (rows[i - 1] === undefined || rows[i - 1].indexOf("*") === 0 || rows[i - 1].includes(`"`)) {
|
|
63850
|
+
fix = undefined;
|
|
63851
|
+
}
|
|
63849
63852
|
const issue = issue_1.Issue.atPosition(file, position, this.getMessage(), this.getMetadata().key, this.conf.severity, fix);
|
|
63850
63853
|
issues.push(issue);
|
|
63851
63854
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/transpiler-cli",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.19",
|
|
4
4
|
"description": "Transpiler - Command Line Interface",
|
|
5
5
|
"funding": "https://github.com/sponsors/larshp",
|
|
6
6
|
"bin": {
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
"author": "abaplint",
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@abaplint/transpiler": "^2.10.
|
|
29
|
+
"@abaplint/transpiler": "^2.10.19",
|
|
30
30
|
"@types/glob": "^8.1.0",
|
|
31
31
|
"glob": "=7.2.0",
|
|
32
32
|
"@types/progress": "^2.0.7",
|
|
33
33
|
"@types/node": "^22.5.4",
|
|
34
|
-
"@abaplint/core": "^2.113.
|
|
34
|
+
"@abaplint/core": "^2.113.8",
|
|
35
35
|
"progress": "^2.0.3",
|
|
36
36
|
"webpack": "^5.94.0",
|
|
37
37
|
"webpack-cli": "^5.1.4",
|