@abaplint/transpiler-cli 2.11.37 → 2.11.38

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 +4 -4
  2. package/package.json +2 -2
package/build/bundle.js CHANGED
@@ -87833,10 +87833,6 @@ class SelectTranspiler {
87833
87833
  if (from) {
87834
87834
  select += new sql_from_1.SQLFromTranspiler().transpile(from, traversal).getCode();
87835
87835
  }
87836
- const groupBy = node.findFirstExpression(abaplint.Expressions.SQLGroupBy);
87837
- if (groupBy) {
87838
- select += new sql_group_by_1.SQLGroupByTranspiler().transpile(groupBy, traversal).getCode();
87839
- }
87840
87836
  const { table, keys } = this.findTable(node, traversal);
87841
87837
  let where = undefined;
87842
87838
  for (const sqlCond of node.findAllExpressions(abaplint.Expressions.SQLCond)) {
@@ -87847,6 +87843,10 @@ class SelectTranspiler {
87847
87843
  if (where) {
87848
87844
  select += "WHERE " + new expressions_1.SQLCondTranspiler().transpile(where, traversal, table).getCode() + " ";
87849
87845
  }
87846
+ const groupBy = node.findFirstExpression(abaplint.Expressions.SQLGroupBy);
87847
+ if (groupBy) {
87848
+ select += new sql_group_by_1.SQLGroupByTranspiler().transpile(groupBy, traversal).getCode() + " ";
87849
+ }
87850
87850
  const upTo = node.findFirstExpression(abaplint.Expressions.SQLUpTo);
87851
87851
  if (upTo) {
87852
87852
  const s = upTo.findFirstExpression(abaplint.Expressions.SimpleSource3);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/transpiler-cli",
3
- "version": "2.11.37",
3
+ "version": "2.11.38",
4
4
  "description": "Transpiler - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -28,7 +28,7 @@
28
28
  "license": "MIT",
29
29
  "devDependencies": {
30
30
  "@abaplint/core": "^2.113.180",
31
- "@abaplint/transpiler": "^2.11.37",
31
+ "@abaplint/transpiler": "^2.11.38",
32
32
  "@types/glob": "^8.1.0",
33
33
  "@types/node": "^24.3.0",
34
34
  "@types/progress": "^2.0.7",