@abaplint/transpiler-cli 2.5.16 → 2.5.18
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 +3 -2
- package/package.json +3 -3
package/build/bundle.js
CHANGED
|
@@ -46138,7 +46138,7 @@ class Registry {
|
|
|
46138
46138
|
}
|
|
46139
46139
|
static abaplintVersion() {
|
|
46140
46140
|
// magic, see build script "version.sh"
|
|
46141
|
-
return "2.95.
|
|
46141
|
+
return "2.95.31";
|
|
46142
46142
|
}
|
|
46143
46143
|
getDDICReferences() {
|
|
46144
46144
|
return this.references;
|
|
@@ -52891,9 +52891,10 @@ ${indentation} output = ${topTarget}.`;
|
|
|
52891
52891
|
}
|
|
52892
52892
|
const indent = " ".repeat(high.getFirstToken().getStart().getCol() - 1);
|
|
52893
52893
|
const bodyCode = this.buildCondBody(body, uniqueName, indent, lowFile, highSyntax);
|
|
52894
|
+
const last = i.findDirectTokenByText(")");
|
|
52894
52895
|
const abap = `DATA ${uniqueName} ${type}.\n` + bodyCode;
|
|
52895
52896
|
const fix1 = edit_helper_1.EditHelper.insertAt(lowFile, high.getFirstToken().getStart(), abap);
|
|
52896
|
-
const fix2 = edit_helper_1.EditHelper.replaceRange(lowFile, i.getFirstToken().getStart(),
|
|
52897
|
+
const fix2 = edit_helper_1.EditHelper.replaceRange(lowFile, i.getFirstToken().getStart(), last.getEnd(), uniqueName);
|
|
52897
52898
|
const fix = edit_helper_1.EditHelper.merge(fix2, fix1);
|
|
52898
52899
|
return issue_1.Issue.atToken(lowFile, i.getFirstToken(), "Downport COND", this.getMetadata().key, this.conf.severity, fix);
|
|
52899
52900
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/transpiler-cli",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.18",
|
|
4
4
|
"description": "Transpiler - Command Line Interface",
|
|
5
5
|
"bin": {
|
|
6
6
|
"abap_transpile": "./abap_transpile"
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
"author": "abaplint",
|
|
26
26
|
"license": "MIT",
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@abaplint/transpiler": "^2.5.
|
|
28
|
+
"@abaplint/transpiler": "^2.5.18",
|
|
29
29
|
"@types/glob": "^7.2.0",
|
|
30
30
|
"glob": "=7.2.0",
|
|
31
31
|
"@types/progress": "^2.0.5",
|
|
32
|
-
"@abaplint/core": "^2.95.
|
|
32
|
+
"@abaplint/core": "^2.95.31",
|
|
33
33
|
"progress": "^2.0.3",
|
|
34
34
|
"webpack": "^5.75.0",
|
|
35
35
|
"webpack-cli": "^5.0.1",
|