@abaplint/cli 2.113.102 → 2.113.103

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/cli.js +8 -5
  2. package/package.json +2 -2
package/build/cli.js CHANGED
@@ -10687,7 +10687,7 @@ const version_1 = __webpack_require__(/*! ../../../version */ "./node_modules/@a
10687
10687
  class CallOLE {
10688
10688
  getMatcher() {
10689
10689
  const rc = (0, combi_1.seq)("=", expressions_1.Target);
10690
- const ret = (0, combi_1.seq)("CALL METHOD OF", expressions_1.Source, expressions_1.Source, (0, combi_1.opt)(rc), (0, combi_1.opt)("NO FLUSH"), (0, combi_1.opt)("QUEUE-ONLY"), (0, combi_1.opt)(expressions_1.OLEExporting));
10690
+ const ret = (0, combi_1.seq)("CALL METHOD OF", expressions_1.Source, expressions_1.Source, (0, combi_1.opt)(rc), (0, combi_1.opt)("NO FLUSH"), (0, combi_1.opt)((0, combi_1.alt)("QUEUE-ONLY", "QUEUEONLY")), (0, combi_1.opt)(expressions_1.OLEExporting));
10691
10691
  return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
10692
10692
  }
10693
10693
  }
@@ -17345,7 +17345,7 @@ class Submit {
17345
17345
  const imm = (0, combi_1.seq)("IMMEDIATELY", expressions_1.Source);
17346
17346
  const dest = (0, combi_1.seq)("DESTINATION", expressions_1.Source);
17347
17347
  const language = (0, combi_1.seq)("LANGUAGE", expressions_1.Source);
17348
- const perm = (0, combi_1.per)((0, combi_1.plus)(awith), selectionTable, spool, lineSize, lineCount, archive, user, sset, ssetp, keep, cover, imm, layout, dest, language, free, newList, uss, "TO SAP-SPOOL", "WITHOUT SPOOL DYNPRO", "VIA SELECTION-SCREEN", exporting, expressions_1.AndReturn, job);
17348
+ const perm = (0, combi_1.per)((0, combi_1.plus)(awith), selectionTable, (0, combi_1.plus)(awith), spool, lineSize, lineCount, archive, user, sset, ssetp, keep, cover, imm, layout, dest, language, free, newList, uss, "TO SAP-SPOOL", "WITHOUT SPOOL DYNPRO", "VIA SELECTION-SCREEN", exporting, expressions_1.AndReturn, job);
17349
17349
  const ret = (0, combi_1.seq)("SUBMIT", prog, (0, combi_1.opt)(perm));
17350
17350
  return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
17351
17351
  }
@@ -27427,7 +27427,8 @@ class Select {
27427
27427
  }
27428
27428
  const fields = this.findFields(node, input);
27429
27429
  if (fields.length === 0
27430
- && node.findDirectExpression(Expressions.SQLFieldListLoop) === undefined) {
27430
+ && node.findDirectExpression(Expressions.SQLFieldListLoop) === undefined
27431
+ && node.findDirectExpression(Expressions.SQLAggregation) === undefined) {
27431
27432
  const message = `SELECT: fields missing`;
27432
27433
  input.issues.push((0, _syntax_input_1.syntaxIssue)(input, node.getFirstToken(), message));
27433
27434
  return;
@@ -53829,7 +53830,7 @@ class Registry {
53829
53830
  }
53830
53831
  static abaplintVersion() {
53831
53832
  // magic, see build script "version.sh"
53832
- return "2.113.102";
53833
+ return "2.113.103";
53833
53834
  }
53834
53835
  getDDICReferences() {
53835
53836
  return this.ddicReferences;
@@ -79150,6 +79151,8 @@ Builder.prototype.j2x = function(jObj, level, ajPath) {
79150
79151
  // null attribute should be ignored by the attribute list, but should not cause the tag closing
79151
79152
  if (this.isAttribute(key)) {
79152
79153
  val += '';
79154
+ } else if (key === this.options.cdataPropName) {
79155
+ val += '';
79153
79156
  } else if (key[0] === '?') {
79154
79157
  val += this.indentate(level) + '<' + key + '?' + this.tagEndChar;
79155
79158
  } else {
@@ -80147,7 +80150,7 @@ const replaceEntitiesValue = function(val){
80147
80150
  }
80148
80151
  function saveTextToParentTag(textData, currentNode, jPath, isLeafNode) {
80149
80152
  if (textData) { //store previously collected data as textNode
80150
- if(isLeafNode === undefined) isLeafNode = Object.keys(currentNode.child).length === 0
80153
+ if(isLeafNode === undefined) isLeafNode = currentNode.child.length === 0
80151
80154
 
80152
80155
  textData = this.parseTextData(textData,
80153
80156
  currentNode.tagname,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.113.102",
3
+ "version": "2.113.103",
4
4
  "description": "abaplint - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "homepage": "https://abaplint.org",
40
40
  "devDependencies": {
41
- "@abaplint/core": "^2.113.102",
41
+ "@abaplint/core": "^2.113.103",
42
42
  "@types/chai": "^4.3.20",
43
43
  "@types/glob": "^8.1.0",
44
44
  "@types/minimist": "^1.2.5",