@abaplint/transpiler-cli 2.8.21 → 2.8.23

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 +8 -4
  2. package/package.json +3 -3
package/build/bundle.js CHANGED
@@ -75960,16 +75960,19 @@ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/tr
75960
75960
  const sql_field_name_1 = __webpack_require__(/*! ./sql_field_name */ "./node_modules/@abaplint/transpiler/build/src/expressions/sql_field_name.js");
75961
75961
  class SQLOrderByTranspiler {
75962
75962
  transpile(node, traversal) {
75963
- const ret = new chunk_1.Chunk();
75963
+ let text = "";
75964
75964
  for (const c of node.getChildren()) {
75965
75965
  if (c instanceof abaplint.Nodes.ExpressionNode && c.get() instanceof abaplint.Expressions.SQLFieldName) {
75966
- ret.appendString(new sql_field_name_1.SQLFieldNameTranspiler().transpile(c, traversal).getCode() + " ");
75966
+ if (text !== "" && text.endsWith(`" `)) {
75967
+ text += ", ";
75968
+ }
75969
+ text += new sql_field_name_1.SQLFieldNameTranspiler().transpile(c, traversal).getCode().toLowerCase() + " ";
75967
75970
  }
75968
75971
  else {
75969
- ret.appendString(c.concatTokens() + " ");
75972
+ text += c.concatTokens() + " ";
75970
75973
  }
75971
75974
  }
75972
- return ret;
75975
+ return new chunk_1.Chunk().appendString(text);
75973
75976
  }
75974
75977
  }
75975
75978
  exports.SQLOrderByTranspiler = SQLOrderByTranspiler;
@@ -85339,6 +85342,7 @@ run().then(() => {
85339
85342
  || obj instanceof abaplint.Objects.LockObject
85340
85343
  || obj instanceof abaplint.Objects.MessageClass
85341
85344
  || obj instanceof abaplint.Objects.MIMEObject
85345
+ || obj instanceof abaplint.Objects.Oauth2Profile
85342
85346
  || obj instanceof abaplint.Objects.WebMIME
85343
85347
  || obj instanceof abaplint.Objects.TypePool
85344
85348
  || obj instanceof abaplint.Objects.TableType) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/transpiler-cli",
3
- "version": "2.8.21",
3
+ "version": "2.8.23",
4
4
  "description": "Transpiler - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -26,11 +26,11 @@
26
26
  "author": "abaplint",
27
27
  "license": "MIT",
28
28
  "devDependencies": {
29
- "@abaplint/transpiler": "^2.8.21",
29
+ "@abaplint/transpiler": "^2.8.23",
30
30
  "@types/glob": "^8.1.0",
31
31
  "glob": "=7.2.0",
32
32
  "@types/progress": "^2.0.7",
33
- "@types/node": "^20.11.30",
33
+ "@types/node": "^20.12.3",
34
34
  "@abaplint/core": "^2.106.5",
35
35
  "progress": "^2.0.3",
36
36
  "webpack": "^5.91.0",