@abaplint/cli 2.115.11 → 2.115.12
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 +18 -2
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -40195,7 +40195,7 @@ exports.FormDefinition = FormDefinition;
|
|
|
40195
40195
|
"use strict";
|
|
40196
40196
|
|
|
40197
40197
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
40198
|
-
exports.FunctionModuleDefinition = exports.FunctionModuleParameterDirection = void 0;
|
|
40198
|
+
exports.FunctionModuleDefinition = exports.FunctionModuleType = exports.FunctionModuleParameterDirection = void 0;
|
|
40199
40199
|
const xml_utils_1 = __webpack_require__(/*! ../../xml_utils */ "./node_modules/@abaplint/core/build/src/xml_utils.js");
|
|
40200
40200
|
var FunctionModuleParameterDirection;
|
|
40201
40201
|
(function (FunctionModuleParameterDirection) {
|
|
@@ -40204,6 +40204,12 @@ var FunctionModuleParameterDirection;
|
|
|
40204
40204
|
FunctionModuleParameterDirection["changing"] = "changing";
|
|
40205
40205
|
FunctionModuleParameterDirection["tables"] = "tables";
|
|
40206
40206
|
})(FunctionModuleParameterDirection || (exports.FunctionModuleParameterDirection = FunctionModuleParameterDirection = {}));
|
|
40207
|
+
var FunctionModuleType;
|
|
40208
|
+
(function (FunctionModuleType) {
|
|
40209
|
+
FunctionModuleType["regular"] = "regular";
|
|
40210
|
+
FunctionModuleType["remote"] = "remoteEnabled";
|
|
40211
|
+
FunctionModuleType["update"] = "update";
|
|
40212
|
+
})(FunctionModuleType || (exports.FunctionModuleType = FunctionModuleType = {}));
|
|
40207
40213
|
class FunctionModuleDefinition {
|
|
40208
40214
|
constructor(data) {
|
|
40209
40215
|
this.parse(data);
|
|
@@ -40211,6 +40217,9 @@ class FunctionModuleDefinition {
|
|
|
40211
40217
|
getParameters() {
|
|
40212
40218
|
return this.parameters;
|
|
40213
40219
|
}
|
|
40220
|
+
getModuleType() {
|
|
40221
|
+
return this.moduleType;
|
|
40222
|
+
}
|
|
40214
40223
|
getDescription() {
|
|
40215
40224
|
return this.description;
|
|
40216
40225
|
}
|
|
@@ -40225,6 +40234,13 @@ class FunctionModuleDefinition {
|
|
|
40225
40234
|
this.name = data.FUNCNAME;
|
|
40226
40235
|
this.description = data.SHORT_TEXT;
|
|
40227
40236
|
this.parameters = [];
|
|
40237
|
+
this.moduleType = FunctionModuleType.regular;
|
|
40238
|
+
if (data.REMOTE_CALL === "R") {
|
|
40239
|
+
this.moduleType = FunctionModuleType.remote;
|
|
40240
|
+
}
|
|
40241
|
+
else if (data.UPDATE_TASK !== undefined) {
|
|
40242
|
+
this.moduleType = FunctionModuleType.update;
|
|
40243
|
+
}
|
|
40228
40244
|
if (data.IMPORT) {
|
|
40229
40245
|
for (const param of (0, xml_utils_1.xmlToArray)(data.IMPORT.RSIMP)) {
|
|
40230
40246
|
if (param.PARAMETER === undefined) {
|
|
@@ -55315,7 +55331,7 @@ class Registry {
|
|
|
55315
55331
|
}
|
|
55316
55332
|
static abaplintVersion() {
|
|
55317
55333
|
// magic, see build script "version.sh"
|
|
55318
|
-
return "2.115.
|
|
55334
|
+
return "2.115.12";
|
|
55319
55335
|
}
|
|
55320
55336
|
getDDICReferences() {
|
|
55321
55337
|
return this.ddicReferences;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.115.
|
|
3
|
+
"version": "2.115.12",
|
|
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.115.
|
|
41
|
+
"@abaplint/core": "^2.115.12",
|
|
42
42
|
"@types/chai": "^4.3.20",
|
|
43
43
|
"@types/minimist": "^1.2.5",
|
|
44
44
|
"@types/mocha": "^10.0.10",
|