@abaplint/cli 2.113.2 → 2.113.3

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 +10 -2
  2. package/package.json +3 -3
package/build/cli.js CHANGED
@@ -35259,7 +35259,9 @@ class StatementFlow {
35259
35259
  var _a, _b, _c, _d;
35260
35260
  const ret = [];
35261
35261
  let name = "";
35262
- const structures = stru.findAllStructuresMulti([Structures.Form, Structures.ClassImplementation, Structures.FunctionModule]);
35262
+ const structures = stru.findAllStructuresMulti([
35263
+ Structures.Form, Structures.ClassImplementation, Structures.FunctionModule, Structures.Module
35264
+ ]);
35263
35265
  for (const s of structures) {
35264
35266
  if (s.get() instanceof Structures.Form) {
35265
35267
  name = "FORM " + ((_a = s.findFirstExpression(Expressions.FormName)) === null || _a === void 0 ? void 0 : _a.concatTokens());
@@ -35277,6 +35279,10 @@ class StatementFlow {
35277
35279
  name = "FUNCTION " + ((_d = s.findFirstExpression(Expressions.Field)) === null || _d === void 0 ? void 0 : _d.concatTokens());
35278
35280
  ret.push(this.run(s, name));
35279
35281
  }
35282
+ else if (s.get() instanceof Structures.Module) {
35283
+ name = s.getFirstStatement().concatTokens().toUpperCase();
35284
+ ret.push(this.run(s, name));
35285
+ }
35280
35286
  else {
35281
35287
  throw new Error("StatementFlow, unknown structure");
35282
35288
  }
@@ -44919,6 +44925,8 @@ function parseDynpros(parsed) {
44919
44925
  }
44920
44926
  dynpros.push({
44921
44927
  number: d.HEADER.SCREEN,
44928
+ description: d.HEADER.DESCRIPT,
44929
+ nextScreen: d.HEADER.NEXTSCREEN,
44922
44930
  fields: fields,
44923
44931
  });
44924
44932
  }
@@ -52674,7 +52682,7 @@ class Registry {
52674
52682
  }
52675
52683
  static abaplintVersion() {
52676
52684
  // magic, see build script "version.sh"
52677
- return "2.113.2";
52685
+ return "2.113.3";
52678
52686
  }
52679
52687
  getDDICReferences() {
52680
52688
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.113.2",
3
+ "version": "2.113.3",
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.2",
41
+ "@abaplint/core": "^2.113.3",
42
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.1",
46
+ "@types/node": "^22.5.2",
47
47
  "@types/progress": "^2.0.7",
48
48
  "chai": "^4.5.0",
49
49
  "chalk": "^5.3.0",