@abaplint/cli 2.113.199 → 2.113.201

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 +17 -5
  2. package/package.json +4 -4
package/build/cli.js CHANGED
@@ -16685,7 +16685,7 @@ const expressions_1 = __webpack_require__(/*! ../expressions */ "./node_modules/
16685
16685
  const version_1 = __webpack_require__(/*! ../../../version */ "./node_modules/@abaplint/core/build/src/version.js");
16686
16686
  class Select {
16687
16687
  getMatcher() {
16688
- const union = (0, combi_1.ver)(version_1.Version.v750, (0, combi_1.seq)("UNION", (0, combi_1.optPrio)((0, combi_1.altPrio)("DISTINCT", "ALL")), expressions_1.Select));
16688
+ const union = (0, combi_1.ver)(version_1.Version.v750, (0, combi_1.seq)("UNION", (0, combi_1.optPrio)((0, combi_1.altPrio)("DISTINCT", "ALL")), expressions_1.Select), version_1.Version.OpenABAP);
16689
16689
  return (0, combi_1.seq)(expressions_1.Select, (0, combi_1.starPrio)(union));
16690
16690
  }
16691
16691
  }
@@ -26150,8 +26150,11 @@ class FilterBody {
26150
26150
  source_1.Source.runSyntax(s, input);
26151
26151
  }
26152
26152
  }
26153
- const rowType = type instanceof basic_1.TableType ? type.getRowType() : undefined;
26154
- component_cond_1.ComponentCond.runSyntax(node.findDirectExpression(Expressions.ComponentCond), input, rowType);
26153
+ // todo
26154
+ if (node.findDirectTokenByText("EXCEPT") === undefined) {
26155
+ const rowType = type instanceof basic_1.TableType ? type.getRowType() : undefined;
26156
+ component_cond_1.ComponentCond.runSyntax(node.findDirectExpression(Expressions.ComponentCond), input, rowType);
26157
+ }
26155
26158
  return type ? type : targetType;
26156
26159
  }
26157
26160
  }
@@ -29982,6 +29985,11 @@ class Append {
29982
29985
  if (sourceType instanceof basic_1.TableType) {
29983
29986
  sourceType = sourceType.getRowType();
29984
29987
  }
29988
+ else if (!(sourceType instanceof basic_1.VoidType) && !(sourceType instanceof basic_1.UnknownType)) {
29989
+ const message = "LINES OF must be a table type";
29990
+ input.issues.push((0, _syntax_input_1.syntaxIssue)(input, node.getFirstToken(), message));
29991
+ return;
29992
+ }
29985
29993
  if (targetType instanceof basic_1.TableType) {
29986
29994
  targetType = targetType.getRowType();
29987
29995
  }
@@ -36591,14 +36599,18 @@ exports.SELECTION_EVENTS = [
36591
36599
  Statements.EndOfPage,
36592
36600
  ];
36593
36601
  exports.DECLARATION_STUFF = [
36602
+ Statements.Type,
36603
+ Statements.TypeBegin,
36604
+ Statements.TypeEnum,
36605
+ Statements.TypeEnumBegin,
36594
36606
  Statements.Data,
36595
36607
  Statements.DataBegin,
36596
36608
  Statements.Constant,
36609
+ Statements.ConstantBegin,
36597
36610
  Statements.Tables,
36598
36611
  Statements.Include, // this is not super correct, but anyhow
36599
36612
  Statements.Parameter,
36600
36613
  Statements.SelectionScreen,
36601
- Statements.ConstantBegin,
36602
36614
  Statements.Define,
36603
36615
  ];
36604
36616
  //# sourceMappingURL=selection_events.js.map
@@ -54989,7 +55001,7 @@ class Registry {
54989
55001
  }
54990
55002
  static abaplintVersion() {
54991
55003
  // magic, see build script "version.sh"
54992
- return "2.113.199";
55004
+ return "2.113.201";
54993
55005
  }
54994
55006
  getDDICReferences() {
54995
55007
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.113.199",
3
+ "version": "2.113.201",
4
4
  "description": "abaplint - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -38,11 +38,11 @@
38
38
  },
39
39
  "homepage": "https://abaplint.org",
40
40
  "devDependencies": {
41
- "@abaplint/core": "^2.113.199",
41
+ "@abaplint/core": "^2.113.201",
42
42
  "@types/chai": "^4.3.20",
43
43
  "@types/minimist": "^1.2.5",
44
44
  "@types/mocha": "^10.0.10",
45
- "@types/node": "^24.3.1",
45
+ "@types/node": "^24.4.0",
46
46
  "@types/progress": "^2.0.7",
47
47
  "chai": "^4.5.0",
48
48
  "p-limit": "^3.1.0",
@@ -50,7 +50,7 @@
50
50
  "eslint": "^9.35.0",
51
51
  "glob": "^11.0.3",
52
52
  "json5": "^2.2.3",
53
- "memfs": "^4.38.2",
53
+ "memfs": "^4.39.0",
54
54
  "minimist": "^1.2.8",
55
55
  "mocha": "^11.7.2",
56
56
  "progress": "^2.0.3",