@abaplint/transpiler-cli 2.5.50 → 2.5.52

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 +5 -2
  2. package/package.json +2 -2
package/build/bundle.js CHANGED
@@ -69180,7 +69180,11 @@ class SQLCondTranspiler {
69180
69180
  ret += "'\" + " + name + ".get() + \"'";
69181
69181
  }
69182
69182
  else {
69183
- ret += source.concatTokens();
69183
+ let concat = source.concatTokens();
69184
+ if (concat.includes("~") && concat.split("~")[0].includes("/")) {
69185
+ concat = "'" + concat.replace("~", "'~");
69186
+ }
69187
+ ret += concat;
69184
69188
  }
69185
69189
  }
69186
69190
  else {
@@ -69428,7 +69432,6 @@ class SQLSourceTranspiler {
69428
69432
  if (concat.includes("~") && concat.split("~")[0].includes("/")) {
69429
69433
  concat = "'" + concat.replace("~", "'~");
69430
69434
  }
69431
- concat = concat.replace("~", ".");
69432
69435
  chunk.appendString(concat);
69433
69436
  return chunk;
69434
69437
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/transpiler-cli",
3
- "version": "2.5.50",
3
+ "version": "2.5.52",
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.5.50",
28
+ "@abaplint/transpiler": "^2.5.51",
29
29
  "@types/glob": "^7.2.0",
30
30
  "glob": "=7.2.0",
31
31
  "@types/progress": "^2.0.5",