@abaplint/cli 2.113.45 → 2.113.46

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 +12 -1
  2. package/package.json +2 -2
package/build/cli.js CHANGED
@@ -46794,6 +46794,17 @@ class DataDefinition extends _abstract_object_1.AbstractObject {
46794
46794
  hasParserError() {
46795
46795
  return this.parserError;
46796
46796
  }
46797
+ listKeys() {
46798
+ var _a;
46799
+ this.parse();
46800
+ const ret = [];
46801
+ for (const field of ((_a = this.parsedData) === null || _a === void 0 ? void 0 : _a.fields) || []) {
46802
+ if (field.key === true) {
46803
+ ret.push(field.name);
46804
+ }
46805
+ }
46806
+ return ret;
46807
+ }
46797
46808
  parse() {
46798
46809
  var _a, _b;
46799
46810
  if (this.isDirty() === false) {
@@ -53064,7 +53075,7 @@ class Registry {
53064
53075
  }
53065
53076
  static abaplintVersion() {
53066
53077
  // magic, see build script "version.sh"
53067
- return "2.113.45";
53078
+ return "2.113.46";
53068
53079
  }
53069
53080
  getDDICReferences() {
53070
53081
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.113.45",
3
+ "version": "2.113.46",
4
4
  "description": "abaplint - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "homepage": "https://abaplint.org",
40
40
  "devDependencies": {
41
- "@abaplint/core": "^2.113.45",
41
+ "@abaplint/core": "^2.113.46",
42
42
  "@types/chai": "^4.3.20",
43
43
  "@types/glob": "^8.1.0",
44
44
  "@types/minimist": "^1.2.5",