@abaplint/cli 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.
Files changed (2) hide show
  1. package/build/cli.js +17 -1
  2. package/package.json +3 -3
package/build/cli.js CHANGED
@@ -22291,6 +22291,9 @@ class TypeUtils {
22291
22291
  }
22292
22292
  return true;
22293
22293
  }
22294
+ else if (type instanceof basic_1.TableType && type.isWithHeader()) {
22295
+ return this.isCharLikeStrict(type.getRowType());
22296
+ }
22294
22297
  else if (type instanceof basic_1.StringType
22295
22298
  || type instanceof basic_1.AnyType
22296
22299
  || type instanceof basic_1.CharacterType
@@ -22360,6 +22363,9 @@ class TypeUtils {
22360
22363
  }
22361
22364
  return true;
22362
22365
  }
22366
+ else if (type instanceof basic_1.TableType && type.isWithHeader()) {
22367
+ return this.isHexLike(type.getRowType());
22368
+ }
22363
22369
  else if (type instanceof basic_1.XStringType
22364
22370
  || type instanceof basic_1.HexType
22365
22371
  || type instanceof basic_1.VoidType
@@ -48103,6 +48109,7 @@ exports.NumberRange = NumberRange;
48103
48109
 
48104
48110
  Object.defineProperty(exports, "__esModule", ({ value: true }));
48105
48111
  exports.Oauth2Profile = void 0;
48112
+ const xml_utils_1 = __webpack_require__(/*! ../xml_utils */ "./node_modules/@abaplint/core/build/src/xml_utils.js");
48106
48113
  const _abstract_object_1 = __webpack_require__(/*! ./_abstract_object */ "./node_modules/@abaplint/core/build/src/objects/_abstract_object.js");
48107
48114
  class Oauth2Profile extends _abstract_object_1.AbstractObject {
48108
48115
  getType() {
@@ -48118,6 +48125,15 @@ class Oauth2Profile extends _abstract_object_1.AbstractObject {
48118
48125
  // todo
48119
48126
  return undefined;
48120
48127
  }
48128
+ listScopes() {
48129
+ var _a, _b, _c;
48130
+ const ret = [];
48131
+ const parsed = super.parseRaw2();
48132
+ 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)) {
48133
+ ret.push(t.SCOPE);
48134
+ }
48135
+ return ret;
48136
+ }
48121
48137
  }
48122
48138
  exports.Oauth2Profile = Oauth2Profile;
48123
48139
  //# sourceMappingURL=oauth2_profile.js.map
@@ -51109,7 +51125,7 @@ class Registry {
51109
51125
  }
51110
51126
  static abaplintVersion() {
51111
51127
  // magic, see build script "version.sh"
51112
- return "2.105.7";
51128
+ return "2.105.9";
51113
51129
  }
51114
51130
  getDDICReferences() {
51115
51131
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.105.7",
3
+ "version": "2.105.9",
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.105.7",
41
+ "@abaplint/core": "^2.105.9",
42
42
  "@types/chai": "^4.3.11",
43
43
  "@types/glob": "^7.2.0",
44
44
  "@types/minimist": "^1.2.5",
45
45
  "@types/mocha": "^10.0.6",
46
- "@types/node": "^20.10.6",
46
+ "@types/node": "^20.10.7",
47
47
  "@types/progress": "^2.0.7",
48
48
  "chai": "^4.3.10",
49
49
  "chalk": "^5.3.0",