@abaplint/cli 2.112.12 → 2.112.13

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 -6
  2. package/package.json +4 -4
package/build/cli.js CHANGED
@@ -50933,8 +50933,11 @@ class Table extends _abstract_object_1.AbstractObject {
50933
50933
  return "TABL";
50934
50934
  }
50935
50935
  getDescription() {
50936
- // todo
50937
- return undefined;
50936
+ var _a;
50937
+ if (this.parsedData === undefined) {
50938
+ this.parseXML();
50939
+ }
50940
+ return (_a = this.parsedData) === null || _a === void 0 ? void 0 : _a.description;
50938
50941
  }
50939
50942
  getAllowedNaming() {
50940
50943
  let length = 30;
@@ -51162,7 +51165,7 @@ class Table extends _abstract_object_1.AbstractObject {
51162
51165
  }
51163
51166
  ///////////////
51164
51167
  parseXML() {
51165
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
51168
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
51166
51169
  const parsed = super.parseRaw2();
51167
51170
  if (parsed === undefined) {
51168
51171
  return;
@@ -51180,9 +51183,10 @@ class Table extends _abstract_object_1.AbstractObject {
51180
51183
  }
51181
51184
  // table category
51182
51185
  this.parsedData.tableCategory = (_f = (_e = parsed.abapGit["asx:abap"]["asx:values"]) === null || _e === void 0 ? void 0 : _e.DD02V) === null || _f === void 0 ? void 0 : _f.TABCLASS;
51183
- this.parsedData.dataClass = (_h = (_g = parsed.abapGit["asx:abap"]["asx:values"]) === null || _g === void 0 ? void 0 : _g.DD09L) === null || _h === void 0 ? void 0 : _h.TABART;
51186
+ this.parsedData.description = (_h = (_g = parsed.abapGit["asx:abap"]["asx:values"]) === null || _g === void 0 ? void 0 : _g.DD02V) === null || _h === void 0 ? void 0 : _h.DDTEXT;
51187
+ this.parsedData.dataClass = (_k = (_j = parsed.abapGit["asx:abap"]["asx:values"]) === null || _j === void 0 ? void 0 : _j.DD09L) === null || _k === void 0 ? void 0 : _k.TABART;
51184
51188
  // fields
51185
- const fields = (_j = parsed.abapGit["asx:abap"]["asx:values"]) === null || _j === void 0 ? void 0 : _j.DD03P_TABLE;
51189
+ const fields = (_l = parsed.abapGit["asx:abap"]["asx:values"]) === null || _l === void 0 ? void 0 : _l.DD03P_TABLE;
51186
51190
  for (const field of (0, xml_utils_1.xmlToArray)(fields === null || fields === void 0 ? void 0 : fields.DD03P)) {
51187
51191
  this.parsedData.fields.push({
51188
51192
  FIELDNAME: field.FIELDNAME,
@@ -52467,7 +52471,7 @@ class Registry {
52467
52471
  }
52468
52472
  static abaplintVersion() {
52469
52473
  // magic, see build script "version.sh"
52470
- return "2.112.12";
52474
+ return "2.112.13";
52471
52475
  }
52472
52476
  getDDICReferences() {
52473
52477
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.112.12",
3
+ "version": "2.112.13",
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.12",
41
+ "@abaplint/core": "^2.112.13",
42
42
  "@types/chai": "^4.3.17",
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.1.0",
46
+ "@types/node": "^22.2.0",
47
47
  "@types/progress": "^2.0.7",
48
48
  "chai": "^4.5.0",
49
49
  "chalk": "^5.3.0",
@@ -52,7 +52,7 @@
52
52
  "json5": "^2.2.3",
53
53
  "memfs": "=4.9.3",
54
54
  "minimist": "^1.2.8",
55
- "mocha": "^10.7.0",
55
+ "mocha": "^10.7.3",
56
56
  "progress": "^2.0.3",
57
57
  "typescript": "^5.5.4",
58
58
  "webpack": "^5.93.0",