@abaplint/transpiler-cli 2.11.79 → 2.11.81
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 +12 -7
- package/package.json +3 -3
package/build/bundle.js
CHANGED
|
@@ -25051,8 +25051,11 @@ class FilterBody {
|
|
|
25051
25051
|
source_1.Source.runSyntax(s, input);
|
|
25052
25052
|
}
|
|
25053
25053
|
}
|
|
25054
|
-
|
|
25055
|
-
|
|
25054
|
+
// todo
|
|
25055
|
+
if (node.findDirectTokenByText("EXCEPT") === undefined) {
|
|
25056
|
+
const rowType = type instanceof basic_1.TableType ? type.getRowType() : undefined;
|
|
25057
|
+
component_cond_1.ComponentCond.runSyntax(node.findDirectExpression(Expressions.ComponentCond), input, rowType);
|
|
25058
|
+
}
|
|
25056
25059
|
return type ? type : targetType;
|
|
25057
25060
|
}
|
|
25058
25061
|
}
|
|
@@ -53890,7 +53893,7 @@ class Registry {
|
|
|
53890
53893
|
}
|
|
53891
53894
|
static abaplintVersion() {
|
|
53892
53895
|
// magic, see build script "version.sh"
|
|
53893
|
-
return "2.113.
|
|
53896
|
+
return "2.113.200";
|
|
53894
53897
|
}
|
|
53895
53898
|
getDDICReferences() {
|
|
53896
53899
|
return this.ddicReferences;
|
|
@@ -80013,7 +80016,8 @@ class MethodCallTranspiler {
|
|
|
80013
80016
|
// todo: this is not correct, the method name might be shadowed
|
|
80014
80017
|
name = "abap.builtin." + name + "(";
|
|
80015
80018
|
if (name === "abap.builtin.line_exists(" || name === "abap.builtin.line_index(") {
|
|
80016
|
-
name
|
|
80019
|
+
name = `await ` + name;
|
|
80020
|
+
name += "async () => {";
|
|
80017
80021
|
post = "}";
|
|
80018
80022
|
}
|
|
80019
80023
|
}
|
|
@@ -80128,7 +80132,8 @@ class MethodCallChainTranspiler {
|
|
|
80128
80132
|
for (const c of node.getChildren()) {
|
|
80129
80133
|
if (c instanceof core_1.Nodes.ExpressionNode && c.get() instanceof core_1.Expressions.MethodCall) {
|
|
80130
80134
|
const sub = traversal.traverse(c);
|
|
80131
|
-
if (sub.getCode().startsWith("abap.builtin.")
|
|
80135
|
+
if (sub.getCode().startsWith("abap.builtin.")
|
|
80136
|
+
|| sub.getCode().startsWith("await abap.builtin.")) {
|
|
80132
80137
|
ret.appendChunk(sub);
|
|
80133
80138
|
}
|
|
80134
80139
|
else {
|
|
@@ -82090,10 +82095,10 @@ class TableExpressionTranspiler {
|
|
|
82090
82095
|
throw new Error("TableExpressionTranspiler: todo, other, " + c.concatTokens());
|
|
82091
82096
|
}
|
|
82092
82097
|
}
|
|
82093
|
-
extra.push("withKey: (i) => {return " + withKey.join(" && ") + ";}");
|
|
82098
|
+
extra.push("withKey: async (i) => {return " + withKey.join(" && ") + ";}");
|
|
82094
82099
|
extra.push("usesTableLine: " + usesTableLine);
|
|
82095
82100
|
}
|
|
82096
|
-
ret.appendString(`abap.operators.tableExpression(${source.getCode()}, {${extra.join(", ")} })`);
|
|
82101
|
+
ret.appendString(`(await abap.operators.tableExpression(${source.getCode()}, {${extra.join(", ")} }))`);
|
|
82097
82102
|
return ret;
|
|
82098
82103
|
}
|
|
82099
82104
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/transpiler-cli",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.81",
|
|
4
4
|
"description": "Transpiler - Command Line Interface",
|
|
5
5
|
"funding": "https://github.com/sponsors/larshp",
|
|
6
6
|
"bin": {
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"author": "abaplint",
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@abaplint/core": "^2.113.
|
|
31
|
-
"@abaplint/transpiler": "^2.11.
|
|
30
|
+
"@abaplint/core": "^2.113.200",
|
|
31
|
+
"@abaplint/transpiler": "^2.11.81",
|
|
32
32
|
"@types/glob": "^8.1.0",
|
|
33
33
|
"@types/node": "^24.3.1",
|
|
34
34
|
"@types/progress": "^2.0.7",
|