@abaplint/cli 2.102.23 → 2.102.25

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 +3 -3
  2. package/package.json +3 -3
package/build/cli.js CHANGED
@@ -17631,7 +17631,7 @@ const _combi_1 = __webpack_require__(/*! ./_combi */ "./node_modules/@abaplint/c
17631
17631
  const when_type_1 = __webpack_require__(/*! ./when_type */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/when_type.js");
17632
17632
  class CaseType {
17633
17633
  getMatcher() {
17634
- return (0, _combi_1.beginEnd)((0, _combi_1.sta)(Statements.CaseType), (0, _combi_1.star)((0, _combi_1.sub)(when_type_1.WhenType)), (0, _combi_1.sta)(Statements.EndCase));
17634
+ return (0, _combi_1.beginEnd)((0, _combi_1.sta)(Statements.CaseType), (0, _combi_1.star)((0, _combi_1.alt)((0, _combi_1.sub)(when_type_1.WhenType), (0, _combi_1.sta)(Statements.Data))), (0, _combi_1.sta)(Statements.EndCase));
17635
17635
  }
17636
17636
  }
17637
17637
  exports.CaseType = CaseType;
@@ -20707,7 +20707,7 @@ class CurrentScope {
20707
20707
  return undefined;
20708
20708
  }
20709
20709
  const typePoolName = name.split("_")[0];
20710
- if (typePoolName.length <= 2 || typePoolName.length > 5) {
20710
+ if (typePoolName.length <= 1 || typePoolName.length > 5) {
20711
20711
  return undefined;
20712
20712
  }
20713
20713
  const typePool = this.reg.getObject("TYPE", typePoolName);
@@ -48732,7 +48732,7 @@ class Registry {
48732
48732
  }
48733
48733
  static abaplintVersion() {
48734
48734
  // magic, see build script "version.sh"
48735
- return "2.102.23";
48735
+ return "2.102.25";
48736
48736
  }
48737
48737
  getDDICReferences() {
48738
48738
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.102.23",
3
+ "version": "2.102.25",
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.102.23",
41
+ "@abaplint/core": "^2.102.25",
42
42
  "@types/chai": "^4.3.5",
43
43
  "@types/glob": "^7.2.0",
44
44
  "@types/minimist": "^1.2.2",
45
45
  "@types/mocha": "^10.0.1",
46
- "@types/node": "^20.5.0",
46
+ "@types/node": "^20.5.1",
47
47
  "@types/progress": "^2.0.5",
48
48
  "chai": "^4.3.7",
49
49
  "chalk": "^5.3.0",