@abaplint/cli 2.105.8 → 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.
- package/build/cli.js +11 -1
- package/package.json +3 -3
package/build/cli.js
CHANGED
|
@@ -48109,6 +48109,7 @@ exports.NumberRange = NumberRange;
|
|
|
48109
48109
|
|
|
48110
48110
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
48111
48111
|
exports.Oauth2Profile = void 0;
|
|
48112
|
+
const xml_utils_1 = __webpack_require__(/*! ../xml_utils */ "./node_modules/@abaplint/core/build/src/xml_utils.js");
|
|
48112
48113
|
const _abstract_object_1 = __webpack_require__(/*! ./_abstract_object */ "./node_modules/@abaplint/core/build/src/objects/_abstract_object.js");
|
|
48113
48114
|
class Oauth2Profile extends _abstract_object_1.AbstractObject {
|
|
48114
48115
|
getType() {
|
|
@@ -48124,6 +48125,15 @@ class Oauth2Profile extends _abstract_object_1.AbstractObject {
|
|
|
48124
48125
|
// todo
|
|
48125
48126
|
return undefined;
|
|
48126
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
|
+
}
|
|
48127
48137
|
}
|
|
48128
48138
|
exports.Oauth2Profile = Oauth2Profile;
|
|
48129
48139
|
//# sourceMappingURL=oauth2_profile.js.map
|
|
@@ -51115,7 +51125,7 @@ class Registry {
|
|
|
51115
51125
|
}
|
|
51116
51126
|
static abaplintVersion() {
|
|
51117
51127
|
// magic, see build script "version.sh"
|
|
51118
|
-
return "2.105.
|
|
51128
|
+
return "2.105.9";
|
|
51119
51129
|
}
|
|
51120
51130
|
getDDICReferences() {
|
|
51121
51131
|
return this.ddicReferences;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.105.
|
|
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.
|
|
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.
|
|
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",
|