@abaplint/transpiler-cli 2.7.57 → 2.7.58

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 +3 -2
  2. package/package.json +2 -2
package/build/bundle.js CHANGED
@@ -77684,12 +77684,13 @@ class SelectTranspiler {
77684
77684
  select = select.replace(search, `" + ${code} + "`);
77685
77685
  }
77686
77686
  }
77687
- if (node.concatTokens().toUpperCase().startsWith("SELECT SINGLE ")) {
77687
+ const concat = node.concatTokens().toUpperCase();
77688
+ if (concat.startsWith("SELECT SINGLE ")) {
77688
77689
  select += "UP TO 1 ROWS";
77689
77690
  }
77690
77691
  let runtimeOptions = "";
77691
77692
  const runtimeOptionsList = [];
77692
- if (node.concatTokens().toUpperCase().includes(" APPENDING TABLE ")) {
77693
+ if (concat.includes(" APPENDING TABLE ") || concat.includes(" APPENDING CORRESPONDING FIELDS OF TABLE ")) {
77693
77694
  runtimeOptionsList.push(`appending: true`);
77694
77695
  }
77695
77696
  if (runtimeOptionsList.length > 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/transpiler-cli",
3
- "version": "2.7.57",
3
+ "version": "2.7.58",
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.7.57",
29
+ "@abaplint/transpiler": "^2.7.58",
30
30
  "@types/glob": "^7.2.0",
31
31
  "glob": "=7.2.0",
32
32
  "@types/progress": "^2.0.5",