@abaplint/transpiler-cli 2.4.2 → 2.4.4
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 +9 -2
- package/package.json +2 -2
package/build/bundle.js
CHANGED
|
@@ -68558,7 +68558,14 @@ class SQLCondTranspiler {
|
|
|
68558
68558
|
if (fieldName === undefined || operator === undefined || source === undefined) {
|
|
68559
68559
|
throw new Error("SQL Condition, transpiler todo2, " + c.concatTokens());
|
|
68560
68560
|
}
|
|
68561
|
-
|
|
68561
|
+
let op = operator.concatTokens();
|
|
68562
|
+
if (op.toUpperCase() === "EQ") {
|
|
68563
|
+
op = "=";
|
|
68564
|
+
}
|
|
68565
|
+
else if (op.toUpperCase() === "NE") {
|
|
68566
|
+
op = "<>";
|
|
68567
|
+
}
|
|
68568
|
+
ret += fieldName.concatTokens() + " " + op + " ";
|
|
68562
68569
|
ret += this.sqlSource(source, traversal);
|
|
68563
68570
|
return ret;
|
|
68564
68571
|
}
|
|
@@ -73921,7 +73928,7 @@ class SelectTranspiler {
|
|
|
73921
73928
|
}
|
|
73922
73929
|
prevToken = token;
|
|
73923
73930
|
}
|
|
73924
|
-
if (prevToken && prevToken.getStr() === "WHERE") {
|
|
73931
|
+
if (prevToken && prevToken.getStr().toUpperCase() === "WHERE") {
|
|
73925
73932
|
return true;
|
|
73926
73933
|
}
|
|
73927
73934
|
else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/transpiler-cli",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.4",
|
|
4
4
|
"description": "Transpiler - Command Line Interface",
|
|
5
5
|
"bin": {
|
|
6
6
|
"abap_transpile": "./abap_transpile"
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"author": "abaplint",
|
|
26
26
|
"license": "MIT",
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@abaplint/transpiler": "^2.4.
|
|
28
|
+
"@abaplint/transpiler": "^2.4.4",
|
|
29
29
|
"@types/glob": "^7.2.0",
|
|
30
30
|
"glob": "=7.2.0",
|
|
31
31
|
"@types/progress": "^2.0.5",
|