@abaplint/cli 2.112.20 → 2.112.22

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 +6 -4
  2. package/package.json +4 -4
package/build/cli.js CHANGED
@@ -35293,8 +35293,10 @@ class StatementFlow {
35293
35293
  }
35294
35294
  if (inFlow === true) {
35295
35295
  ret.push(this.runEvent(collected, name));
35296
- inFlow = false;
35297
- collected = [];
35296
+ }
35297
+ else if (collected.length > 0) {
35298
+ // implicit START-OF-SELECTION
35299
+ ret.push(this.runEvent(collected, "START-OF-SELECTION."));
35298
35300
  }
35299
35301
  return ret.map(f => f.reduce());
35300
35302
  }
@@ -52621,7 +52623,7 @@ class Registry {
52621
52623
  }
52622
52624
  static abaplintVersion() {
52623
52625
  // magic, see build script "version.sh"
52624
- return "2.112.20";
52626
+ return "2.112.22";
52625
52627
  }
52626
52628
  getDDICReferences() {
52627
52629
  return this.ddicReferences;
@@ -75699,7 +75701,7 @@ function xmlToArray(data) {
75699
75701
  if (data === undefined) {
75700
75702
  return [];
75701
75703
  }
75702
- else if (data.length) { // input data is an Array
75704
+ else if (Array.isArray(data)) {
75703
75705
  return data;
75704
75706
  }
75705
75707
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.112.20",
3
+ "version": "2.112.22",
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.112.20",
42
- "@types/chai": "^4.3.17",
41
+ "@abaplint/core": "^2.112.22",
42
+ "@types/chai": "^4.3.19",
43
43
  "@types/glob": "^8.1.0",
44
44
  "@types/minimist": "^1.2.5",
45
45
  "@types/mocha": "^10.0.7",
46
- "@types/node": "^22.5.0",
46
+ "@types/node": "^22.5.1",
47
47
  "@types/progress": "^2.0.7",
48
48
  "chai": "^4.5.0",
49
49
  "chalk": "^5.3.0",