@abaplint/transpiler-cli 2.8.9 → 2.8.11
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 +7 -9
- package/package.json +3 -3
package/build/bundle.js
CHANGED
|
@@ -28108,13 +28108,11 @@ class Concatenate {
|
|
|
28108
28108
|
}
|
|
28109
28109
|
}
|
|
28110
28110
|
}
|
|
28111
|
-
|
|
28112
|
-
|
|
28113
|
-
|
|
28114
|
-
|
|
28115
|
-
|
|
28116
|
-
throw new Error("Source type not compatible");
|
|
28117
|
-
}
|
|
28111
|
+
for (const s of node.findDirectExpressions(Expressions.SimpleSource3)) {
|
|
28112
|
+
const type = new source_1.Source().runSyntax(s, scope, filename);
|
|
28113
|
+
const compatible = byteMode ? new _type_utils_1.TypeUtils(scope).isHexLike(type) : new _type_utils_1.TypeUtils(scope).isCharLikeStrict(type);
|
|
28114
|
+
if (compatible === false) {
|
|
28115
|
+
throw new Error("Source type not compatible");
|
|
28118
28116
|
}
|
|
28119
28117
|
}
|
|
28120
28118
|
}
|
|
@@ -50324,7 +50322,7 @@ class Registry {
|
|
|
50324
50322
|
}
|
|
50325
50323
|
static abaplintVersion() {
|
|
50326
50324
|
// magic, see build script "version.sh"
|
|
50327
|
-
return "2.106.
|
|
50325
|
+
return "2.106.2";
|
|
50328
50326
|
}
|
|
50329
50327
|
getDDICReferences() {
|
|
50330
50328
|
return this.ddicReferences;
|
|
@@ -75402,7 +75400,7 @@ class SQLCondTranspiler {
|
|
|
75402
75400
|
ret += `" + abap.expandDynamic(${code}, (name) => {try { return eval(name);} catch {}}) + "`;
|
|
75403
75401
|
}
|
|
75404
75402
|
else {
|
|
75405
|
-
throw new Error("SQL Condition, transpiler todo, dyn cond, " + c.concatTokens());
|
|
75403
|
+
throw new Error("SQL Condition, transpiler todo, dyn cond, " + c.concatTokens() + ", " + traversal.getFilename());
|
|
75406
75404
|
}
|
|
75407
75405
|
}
|
|
75408
75406
|
else if (c.findDirectExpression(abaplint.Expressions.SQLIn)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/transpiler-cli",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.11",
|
|
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.8.
|
|
29
|
+
"@abaplint/transpiler": "^2.8.11",
|
|
30
30
|
"@types/glob": "^8.1.0",
|
|
31
31
|
"glob": "=7.2.0",
|
|
32
32
|
"@types/progress": "^2.0.7",
|
|
33
33
|
"@types/node": "^20.11.25",
|
|
34
|
-
"@abaplint/core": "^2.106.
|
|
34
|
+
"@abaplint/core": "^2.106.2",
|
|
35
35
|
"progress": "^2.0.3",
|
|
36
36
|
"webpack": "^5.90.3",
|
|
37
37
|
"webpack-cli": "^5.1.4",
|