@abaplint/transpiler-cli 2.5.60 → 2.5.62

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 -3
  2. package/package.json +2 -2
package/build/bundle.js CHANGED
@@ -74903,9 +74903,11 @@ class SelectTranspiler {
74903
74903
  for await (const ${unique} of abap.statements.loop(${faeTranspiled})) {
74904
74904
  await abap.statements.select(${target}, {select: "${select.trim()}"${extra}}, {appending: true});
74905
74905
  }
74906
- abap.statements.sort(${target}, {by: ${by}.map(k => { return {component: k}; })});
74907
- await abap.statements.deleteInternal(${target}, {adjacent: true, by: ${by}});
74908
- abap.builtin.sy.get().dbcnt.set(${target}.array().length);
74906
+ if (!(${target} instanceof abap.types.HashedTable)) {
74907
+ abap.statements.sort(${target}, {by: ${by}.map(k => { return {component: k}; })});
74908
+ await abap.statements.deleteInternal(${target}, {adjacent: true, by: ${by}});
74909
+ }
74910
+ abap.builtin.sy.get().dbcnt.set(${target}.getArrayLength());
74909
74911
  }`;
74910
74912
  return new chunk_1.Chunk().append(code, node, traversal);
74911
74913
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/transpiler-cli",
3
- "version": "2.5.60",
3
+ "version": "2.5.62",
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.60",
28
+ "@abaplint/transpiler": "^2.5.62",
29
29
  "@types/glob": "^7.2.0",
30
30
  "glob": "=7.2.0",
31
31
  "@types/progress": "^2.0.5",