@abaplint/transpiler-cli 2.7.42 → 2.7.43
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 +13 -0
- package/package.json +2 -2
package/build/bundle.js
CHANGED
|
@@ -76727,6 +76727,19 @@ class ModifyInternalTranspiler {
|
|
|
76727
76727
|
const s = new expressions_1.SourceTranspiler().transpile(from, traversal).getCode();
|
|
76728
76728
|
extra.push("from: " + s);
|
|
76729
76729
|
}
|
|
76730
|
+
const whereNode = node.findDirectExpression(abaplint.Expressions.ComponentCond);
|
|
76731
|
+
if (whereNode) {
|
|
76732
|
+
// todo, replacing "await" is a hack
|
|
76733
|
+
extra.push("where: " + traversal.traverse(whereNode).getCode().replace("await ", ""));
|
|
76734
|
+
}
|
|
76735
|
+
const transporting = node.findDirectExpressions(abaplint.Expressions.ComponentChainSimple);
|
|
76736
|
+
if (transporting.length > 0) {
|
|
76737
|
+
const list = [];
|
|
76738
|
+
for (const t of transporting) {
|
|
76739
|
+
list.push("\"" + t.concatTokens().toLowerCase() + "\"");
|
|
76740
|
+
}
|
|
76741
|
+
extra.push("transporting: [" + list.join(",") + "]");
|
|
76742
|
+
}
|
|
76730
76743
|
let concat = "";
|
|
76731
76744
|
if (extra.length > 0) {
|
|
76732
76745
|
concat = ",{" + extra.join(",") + "}";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/transpiler-cli",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.43",
|
|
4
4
|
"description": "Transpiler - Command Line Interface",
|
|
5
5
|
"funding": "https://github.com/sponsors/larshp",
|
|
6
6
|
"bin": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"author": "abaplint",
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@abaplint/transpiler": "^2.7.
|
|
29
|
+
"@abaplint/transpiler": "^2.7.42",
|
|
30
30
|
"@types/glob": "^7.2.0",
|
|
31
31
|
"glob": "=7.2.0",
|
|
32
32
|
"@types/progress": "^2.0.5",
|