@abaplint/transpiler-cli 2.8.16 → 2.8.17

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.
Files changed (2) hide show
  1. package/build/bundle.js +8 -1
  2. package/package.json +2 -2
package/build/bundle.js CHANGED
@@ -75400,7 +75400,14 @@ class SQLCondTranspiler {
75400
75400
  ret += `" + abap.expandDynamic(${code}, (name) => {try { return eval(name);} catch {}}) + "`;
75401
75401
  }
75402
75402
  else {
75403
- throw new Error("SQL Condition, transpiler todo, dyn cond, " + c.concatTokens() + ", " + traversal.getFilename());
75403
+ const concat = c.concatTokens();
75404
+ if (concat.toUpperCase() === "('ENABLE_SQLITE = ABAP_TRUE')") {
75405
+ // yea, this is a workaround
75406
+ ret += ` \\"enable_sqlite\\" = 'X'`;
75407
+ }
75408
+ else {
75409
+ throw new Error("SQL Condition, transpiler todo, dyn cond, " + concat + ", " + traversal.getFilename());
75410
+ }
75404
75411
  }
75405
75412
  }
75406
75413
  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.16",
3
+ "version": "2.8.17",
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.8.16",
29
+ "@abaplint/transpiler": "^2.8.17",
30
30
  "@types/glob": "^8.1.0",
31
31
  "glob": "=7.2.0",
32
32
  "@types/progress": "^2.0.7",