@abaplint/core 2.105.7 → 2.105.9

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.
@@ -4583,6 +4583,7 @@ declare class Oauth2Profile extends AbstractObject {
4583
4583
  allowNamespace: boolean;
4584
4584
  };
4585
4585
  getDescription(): string | undefined;
4586
+ listScopes(): string[];
4586
4587
  }
4587
4588
 
4588
4589
  declare class ObjectCharacteristic extends AbstractObject {
@@ -21,6 +21,9 @@ class TypeUtils {
21
21
  }
22
22
  return true;
23
23
  }
24
+ else if (type instanceof basic_1.TableType && type.isWithHeader()) {
25
+ return this.isCharLikeStrict(type.getRowType());
26
+ }
24
27
  else if (type instanceof basic_1.StringType
25
28
  || type instanceof basic_1.AnyType
26
29
  || type instanceof basic_1.CharacterType
@@ -90,6 +93,9 @@ class TypeUtils {
90
93
  }
91
94
  return true;
92
95
  }
96
+ else if (type instanceof basic_1.TableType && type.isWithHeader()) {
97
+ return this.isHexLike(type.getRowType());
98
+ }
93
99
  else if (type instanceof basic_1.XStringType
94
100
  || type instanceof basic_1.HexType
95
101
  || type instanceof basic_1.VoidType
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Oauth2Profile = void 0;
4
+ const xml_utils_1 = require("../xml_utils");
4
5
  const _abstract_object_1 = require("./_abstract_object");
5
6
  class Oauth2Profile extends _abstract_object_1.AbstractObject {
6
7
  getType() {
@@ -16,6 +17,15 @@ class Oauth2Profile extends _abstract_object_1.AbstractObject {
16
17
  // todo
17
18
  return undefined;
18
19
  }
20
+ listScopes() {
21
+ var _a, _b, _c;
22
+ const ret = [];
23
+ const parsed = super.parseRaw2();
24
+ for (const t of (0, xml_utils_1.xmlToArray)((_c = (_b = (_a = parsed.abapGit["asx:abap"]["asx:values"]) === null || _a === void 0 ? void 0 : _a.PROFILE) === null || _b === void 0 ? void 0 : _b.T_SCOPES) === null || _c === void 0 ? void 0 : _c.OA2P_SCOPES)) {
25
+ ret.push(t.SCOPE);
26
+ }
27
+ return ret;
28
+ }
19
29
  }
20
30
  exports.Oauth2Profile = Oauth2Profile;
21
31
  //# sourceMappingURL=oauth2_profile.js.map
@@ -65,7 +65,7 @@ class Registry {
65
65
  }
66
66
  static abaplintVersion() {
67
67
  // magic, see build script "version.sh"
68
- return "2.105.7";
68
+ return "2.105.9";
69
69
  }
70
70
  getDDICReferences() {
71
71
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.105.7",
3
+ "version": "2.105.9",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",
@@ -53,7 +53,7 @@
53
53
  "@microsoft/api-extractor": "^7.39.1",
54
54
  "@types/chai": "^4.3.11",
55
55
  "@types/mocha": "^10.0.6",
56
- "@types/node": "^20.10.6",
56
+ "@types/node": "^20.10.7",
57
57
  "chai": "^4.3.10",
58
58
  "eslint": "^8.56.0",
59
59
  "mocha": "^10.2.0",