@abaplint/transpiler-cli 2.3.121 → 2.3.122

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 +1 -1
  2. package/package.json +2 -2
package/build/bundle.js CHANGED
@@ -68500,7 +68500,7 @@ class SQLCondTranspiler {
68500
68500
  const chain = (_a = c.findDirectExpression(abaplint.Expressions.Dynamic)) === null || _a === void 0 ? void 0 : _a.findFirstExpression(abaplint.Expressions.FieldChain);
68501
68501
  if (chain) {
68502
68502
  const code = new field_chain_1.FieldChainTranspiler(true).transpile(chain, traversal).getCode();
68503
- ret += `" + ${code} + "`;
68503
+ ret += `" + (${code} === "" ? "1 = 1" : ${code}) + "`;
68504
68504
  }
68505
68505
  else {
68506
68506
  throw new Error("SQL Condition, transpiler todo, dyn cond, " + c.concatTokens());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/transpiler-cli",
3
- "version": "2.3.121",
3
+ "version": "2.3.122",
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.3.121",
28
+ "@abaplint/transpiler": "^2.3.122",
29
29
  "@types/glob": "^7.2.0",
30
30
  "glob": "=7.2.0",
31
31
  "@types/progress": "^2.0.5",