@abaplint/cli 2.113.99 → 2.113.100

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 +15 -4
  2. package/package.json +3 -3
package/build/cli.js CHANGED
@@ -11609,6 +11609,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
11609
11609
  exports.Convert = void 0;
11610
11610
  const combi_1 = __webpack_require__(/*! ../combi */ "./node_modules/@abaplint/core/build/src/abap/2_statements/combi.js");
11611
11611
  const expressions_1 = __webpack_require__(/*! ../expressions */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/index.js");
11612
+ const version_1 = __webpack_require__(/*! ../../../version */ "./node_modules/@abaplint/core/build/src/version.js");
11612
11613
  class Convert {
11613
11614
  getMatcher() {
11614
11615
  const intoTime = (0, combi_1.seq)("TIME", expressions_1.Target);
@@ -11620,10 +11621,12 @@ class Convert {
11620
11621
  const dat = (0, combi_1.seq)("DATE", expressions_1.Source);
11621
11622
  const tim = (0, combi_1.seq)("TIME", expressions_1.Source);
11622
11623
  const stamp = (0, combi_1.seq)("INTO TIME STAMP", expressions_1.Target);
11624
+ const intoutc = (0, combi_1.ver)(version_1.Version.v754, (0, combi_1.seq)("INTO UTCLONG", expressions_1.Target));
11623
11625
  const invert = (0, combi_1.seq)("INTO INVERTED-DATE", expressions_1.Target);
11624
- const date = (0, combi_1.seq)((0, combi_1.per)(dat, tim), (0, combi_1.per)(daylight, stamp, zone, invert));
11626
+ const date = (0, combi_1.seq)((0, combi_1.per)(dat, tim), (0, combi_1.per)(daylight, stamp, zone, invert, intoutc));
11625
11627
  const inv = (0, combi_1.seq)("INVERTED-DATE", expressions_1.Source, "INTO DATE", expressions_1.Target);
11626
- return (0, combi_1.seq)("CONVERT", (0, combi_1.alt)(time, date, inv));
11628
+ const utclong = (0, combi_1.ver)(version_1.Version.v754, (0, combi_1.seq)("UTCLONG", expressions_1.Source, (0, combi_1.per)(zone, into, daylight)));
11629
+ return (0, combi_1.seq)("CONVERT", (0, combi_1.alt)(time, date, inv, utclong));
11627
11630
  }
11628
11631
  }
11629
11632
  exports.Convert = Convert;
@@ -36190,6 +36193,13 @@ class StatementFlow {
36190
36193
  graph.addEdge(current, name, flow_graph_1.FLOW_EDGE_TYPE.undefined);
36191
36194
  graph.addEdge(name, graph.getEnd(), flow_graph_1.FLOW_EDGE_TYPE.undefined);
36192
36195
  }
36196
+ else if (type instanceof Structures.TestSeam) {
36197
+ const name = StatementFlow.buildName(n.getFirstStatement());
36198
+ const sub = this.traverseBody(this.findBody(n), context);
36199
+ graph.addEdge(current, name, flow_graph_1.FLOW_EDGE_TYPE.undefined);
36200
+ graph.addGraph(name, sub, flow_graph_1.FLOW_EDGE_TYPE.undefined);
36201
+ graph.addEdge(sub.getEnd(), graph.getEnd(), flow_graph_1.FLOW_EDGE_TYPE.undefined);
36202
+ }
36193
36203
  else if (type instanceof Structures.AtFirst
36194
36204
  || type instanceof Structures.AtLast
36195
36205
  || type instanceof Structures.At
@@ -36269,7 +36279,8 @@ class StatementFlow {
36269
36279
  graph.addEdge(caseName, graph.getEnd(), flow_graph_1.FLOW_EDGE_TYPE.undefined);
36270
36280
  }
36271
36281
  }
36272
- else if (type instanceof Structures.Define) {
36282
+ else if (type instanceof Structures.Define
36283
+ || type instanceof Structures.TestInjection) {
36273
36284
  // do nothing
36274
36285
  }
36275
36286
  else {
@@ -53825,7 +53836,7 @@ class Registry {
53825
53836
  }
53826
53837
  static abaplintVersion() {
53827
53838
  // magic, see build script "version.sh"
53828
- return "2.113.99";
53839
+ return "2.113.100";
53829
53840
  }
53830
53841
  getDDICReferences() {
53831
53842
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.113.99",
3
+ "version": "2.113.100",
4
4
  "description": "abaplint - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -38,12 +38,12 @@
38
38
  },
39
39
  "homepage": "https://abaplint.org",
40
40
  "devDependencies": {
41
- "@abaplint/core": "^2.113.99",
41
+ "@abaplint/core": "^2.113.100",
42
42
  "@types/chai": "^4.3.20",
43
43
  "@types/glob": "^8.1.0",
44
44
  "@types/minimist": "^1.2.5",
45
45
  "@types/mocha": "^10.0.10",
46
- "@types/node": "^22.10.10",
46
+ "@types/node": "^22.12.0",
47
47
  "@types/progress": "^2.0.7",
48
48
  "chai": "^4.5.0",
49
49
  "chalk": "^5.4.1",