@abaplint/transpiler-cli 2.10.44 → 2.10.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.
- package/abap_transpile +1 -1
- package/build/bundle.js +73 -4
- package/package.json +5 -5
- package/schema.json +0 -161
package/abap_transpile
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
1
|
+
#!/usr/bin/env node
|
|
2
2
|
require("./build/bundle");
|
package/build/bundle.js
CHANGED
|
@@ -5853,7 +5853,7 @@ exports.NamespaceSimpleName = void 0;
|
|
|
5853
5853
|
const combi_1 = __webpack_require__(/*! ../combi */ "./node_modules/@abaplint/core/build/src/abap/2_statements/combi.js");
|
|
5854
5854
|
class NamespaceSimpleName extends combi_1.Expression {
|
|
5855
5855
|
getRunnable() {
|
|
5856
|
-
return (0, combi_1.regex)(
|
|
5856
|
+
return (0, combi_1.regex)(/^!?((\w*\/\w+\/)|(\w*\/\w+\/)?[\w\*$%#]+)$/);
|
|
5857
5857
|
}
|
|
5858
5858
|
}
|
|
5859
5859
|
exports.NamespaceSimpleName = NamespaceSimpleName;
|
|
@@ -38165,7 +38165,9 @@ class ClassDefinition extends _identifier_1.Identifier {
|
|
|
38165
38165
|
if (m.getVisibility() === visibility_1.Visibility.Private) {
|
|
38166
38166
|
continue;
|
|
38167
38167
|
}
|
|
38168
|
-
else if (name === "CONSTRUCTOR"
|
|
38168
|
+
else if (name === "CONSTRUCTOR"
|
|
38169
|
+
|| name === "DESTRUCTOR"
|
|
38170
|
+
|| name === "CLASS_CONSTRUCTOR") {
|
|
38169
38171
|
continue;
|
|
38170
38172
|
}
|
|
38171
38173
|
names.add(name);
|
|
@@ -38176,7 +38178,8 @@ class ClassDefinition extends _identifier_1.Identifier {
|
|
|
38176
38178
|
sup = cdef === null || cdef === void 0 ? void 0 : cdef.getSuperClass();
|
|
38177
38179
|
}
|
|
38178
38180
|
for (const m of this.getMethodDefinitions().getAll()) {
|
|
38179
|
-
if (names.has(m.getName().toUpperCase())
|
|
38181
|
+
if (names.has(m.getName().toUpperCase())
|
|
38182
|
+
&& m.isRedefinition() === false) {
|
|
38180
38183
|
throw new Error(`${m.getName().toUpperCase()} already declared in superclass`);
|
|
38181
38184
|
}
|
|
38182
38185
|
}
|
|
@@ -45036,6 +45039,37 @@ exports.APIReleaseState = APIReleaseState;
|
|
|
45036
45039
|
|
|
45037
45040
|
/***/ }),
|
|
45038
45041
|
|
|
45042
|
+
/***/ "./node_modules/@abaplint/core/build/src/objects/application_descriptors_fiori.js":
|
|
45043
|
+
/*!****************************************************************************************!*\
|
|
45044
|
+
!*** ./node_modules/@abaplint/core/build/src/objects/application_descriptors_fiori.js ***!
|
|
45045
|
+
\****************************************************************************************/
|
|
45046
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
45047
|
+
|
|
45048
|
+
"use strict";
|
|
45049
|
+
|
|
45050
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
45051
|
+
exports.ApplicationDescriptorsFiori = void 0;
|
|
45052
|
+
const _abstract_object_1 = __webpack_require__(/*! ./_abstract_object */ "./node_modules/@abaplint/core/build/src/objects/_abstract_object.js");
|
|
45053
|
+
class ApplicationDescriptorsFiori extends _abstract_object_1.AbstractObject {
|
|
45054
|
+
getType() {
|
|
45055
|
+
return "UIAD";
|
|
45056
|
+
}
|
|
45057
|
+
getAllowedNaming() {
|
|
45058
|
+
return {
|
|
45059
|
+
maxLength: 60, // todo
|
|
45060
|
+
allowNamespace: true,
|
|
45061
|
+
};
|
|
45062
|
+
}
|
|
45063
|
+
getDescription() {
|
|
45064
|
+
// todo
|
|
45065
|
+
return undefined;
|
|
45066
|
+
}
|
|
45067
|
+
}
|
|
45068
|
+
exports.ApplicationDescriptorsFiori = ApplicationDescriptorsFiori;
|
|
45069
|
+
//# sourceMappingURL=application_descriptors_fiori.js.map
|
|
45070
|
+
|
|
45071
|
+
/***/ }),
|
|
45072
|
+
|
|
45039
45073
|
/***/ "./node_modules/@abaplint/core/build/src/objects/application_job_catalog_entry.js":
|
|
45040
45074
|
/*!****************************************************************************************!*\
|
|
45041
45075
|
!*** ./node_modules/@abaplint/core/build/src/objects/application_job_catalog_entry.js ***!
|
|
@@ -45490,6 +45524,37 @@ exports.BehaviorDefinition = BehaviorDefinition;
|
|
|
45490
45524
|
|
|
45491
45525
|
/***/ }),
|
|
45492
45526
|
|
|
45527
|
+
/***/ "./node_modules/@abaplint/core/build/src/objects/brf_plus_system_application.js":
|
|
45528
|
+
/*!**************************************************************************************!*\
|
|
45529
|
+
!*** ./node_modules/@abaplint/core/build/src/objects/brf_plus_system_application.js ***!
|
|
45530
|
+
\**************************************************************************************/
|
|
45531
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
45532
|
+
|
|
45533
|
+
"use strict";
|
|
45534
|
+
|
|
45535
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
45536
|
+
exports.BRFPlusSystemApplication = void 0;
|
|
45537
|
+
const _abstract_object_1 = __webpack_require__(/*! ./_abstract_object */ "./node_modules/@abaplint/core/build/src/objects/_abstract_object.js");
|
|
45538
|
+
class BRFPlusSystemApplication extends _abstract_object_1.AbstractObject {
|
|
45539
|
+
getType() {
|
|
45540
|
+
return "FDT0";
|
|
45541
|
+
}
|
|
45542
|
+
getAllowedNaming() {
|
|
45543
|
+
return {
|
|
45544
|
+
maxLength: 30,
|
|
45545
|
+
allowNamespace: true,
|
|
45546
|
+
};
|
|
45547
|
+
}
|
|
45548
|
+
getDescription() {
|
|
45549
|
+
// todo
|
|
45550
|
+
return undefined;
|
|
45551
|
+
}
|
|
45552
|
+
}
|
|
45553
|
+
exports.BRFPlusSystemApplication = BRFPlusSystemApplication;
|
|
45554
|
+
//# sourceMappingURL=brf_plus_system_application.js.map
|
|
45555
|
+
|
|
45556
|
+
/***/ }),
|
|
45557
|
+
|
|
45493
45558
|
/***/ "./node_modules/@abaplint/core/build/src/objects/bsp_application.js":
|
|
45494
45559
|
/*!**************************************************************************!*\
|
|
45495
45560
|
!*** ./node_modules/@abaplint/core/build/src/objects/bsp_application.js ***!
|
|
@@ -48194,11 +48259,13 @@ __exportStar(__webpack_require__(/*! ./atc_check_category */ "./node_modules/@ab
|
|
|
48194
48259
|
__exportStar(__webpack_require__(/*! ./atc_check_object */ "./node_modules/@abaplint/core/build/src/objects/atc_check_object.js"), exports);
|
|
48195
48260
|
__exportStar(__webpack_require__(/*! ./atc_check_variant */ "./node_modules/@abaplint/core/build/src/objects/atc_check_variant.js"), exports);
|
|
48196
48261
|
__exportStar(__webpack_require__(/*! ./authorization_check_field */ "./node_modules/@abaplint/core/build/src/objects/authorization_check_field.js"), exports);
|
|
48262
|
+
__exportStar(__webpack_require__(/*! ./application_descriptors_fiori */ "./node_modules/@abaplint/core/build/src/objects/application_descriptors_fiori.js"), exports);
|
|
48197
48263
|
__exportStar(__webpack_require__(/*! ./authorization_group */ "./node_modules/@abaplint/core/build/src/objects/authorization_group.js"), exports);
|
|
48198
48264
|
__exportStar(__webpack_require__(/*! ./authorization_object_class */ "./node_modules/@abaplint/core/build/src/objects/authorization_object_class.js"), exports);
|
|
48199
48265
|
__exportStar(__webpack_require__(/*! ./authorization_object_extension */ "./node_modules/@abaplint/core/build/src/objects/authorization_object_extension.js"), exports);
|
|
48200
48266
|
__exportStar(__webpack_require__(/*! ./authorization_object */ "./node_modules/@abaplint/core/build/src/objects/authorization_object.js"), exports);
|
|
48201
48267
|
__exportStar(__webpack_require__(/*! ./behavior_definition */ "./node_modules/@abaplint/core/build/src/objects/behavior_definition.js"), exports);
|
|
48268
|
+
__exportStar(__webpack_require__(/*! ./brf_plus_system_application */ "./node_modules/@abaplint/core/build/src/objects/brf_plus_system_application.js"), exports);
|
|
48202
48269
|
__exportStar(__webpack_require__(/*! ./bsp_application */ "./node_modules/@abaplint/core/build/src/objects/bsp_application.js"), exports);
|
|
48203
48270
|
__exportStar(__webpack_require__(/*! ./business_add_in_implementation */ "./node_modules/@abaplint/core/build/src/objects/business_add_in_implementation.js"), exports);
|
|
48204
48271
|
__exportStar(__webpack_require__(/*! ./business_catalog_app_assignment */ "./node_modules/@abaplint/core/build/src/objects/business_catalog_app_assignment.js"), exports);
|
|
@@ -52772,7 +52839,7 @@ class Registry {
|
|
|
52772
52839
|
}
|
|
52773
52840
|
static abaplintVersion() {
|
|
52774
52841
|
// magic, see build script "version.sh"
|
|
52775
|
-
return "2.113.
|
|
52842
|
+
return "2.113.110";
|
|
52776
52843
|
}
|
|
52777
52844
|
getDDICReferences() {
|
|
52778
52845
|
return this.ddicReferences;
|
|
@@ -56412,8 +56479,10 @@ class CloudTypes {
|
|
|
56412
56479
|
static isCloud(obj) {
|
|
56413
56480
|
return obj instanceof Objects.ApplicationJobCatalogEntry
|
|
56414
56481
|
|| obj instanceof Objects.ApplicationJobTemplate
|
|
56482
|
+
|| obj instanceof Objects.APIReleaseState
|
|
56415
56483
|
|| obj instanceof Objects.AssignmentServiceToAuthorizationGroup
|
|
56416
56484
|
|| obj instanceof Objects.ATCCheckCategory
|
|
56485
|
+
|| obj instanceof Objects.ApplicationDescriptorsFiori
|
|
56417
56486
|
|| obj instanceof Objects.ATCCheckObject
|
|
56418
56487
|
|| obj instanceof Objects.ATCCheckVariant
|
|
56419
56488
|
|| obj instanceof Objects.AuthorizationCheckField
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/transpiler-cli",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.46",
|
|
4
4
|
"description": "Transpiler - Command Line Interface",
|
|
5
5
|
"funding": "https://github.com/sponsors/larshp",
|
|
6
6
|
"bin": {
|
|
@@ -27,16 +27,16 @@
|
|
|
27
27
|
"author": "abaplint",
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@abaplint/core": "^2.113.
|
|
31
|
-
"@abaplint/transpiler": "^2.10.
|
|
30
|
+
"@abaplint/core": "^2.113.110",
|
|
31
|
+
"@abaplint/transpiler": "^2.10.46",
|
|
32
32
|
"@types/glob": "^8.1.0",
|
|
33
|
-
"@types/node": "^22.
|
|
33
|
+
"@types/node": "^22.15.2",
|
|
34
34
|
"@types/progress": "^2.0.7",
|
|
35
35
|
"glob": "=7.2.0",
|
|
36
36
|
"progress": "^2.0.3",
|
|
37
37
|
"ts-json-schema-generator": "^2.4.0",
|
|
38
38
|
"typescript": "^5.8.3",
|
|
39
39
|
"webpack-cli": "^6.0.1",
|
|
40
|
-
"webpack": "^5.99.
|
|
40
|
+
"webpack": "^5.99.7"
|
|
41
41
|
}
|
|
42
42
|
}
|
package/schema.json
DELETED
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$ref": "#/definitions/ITranspilerConfig",
|
|
3
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"definitions": {
|
|
5
|
-
"ITranspilerConfig": {
|
|
6
|
-
"additionalProperties": false,
|
|
7
|
-
"properties": {
|
|
8
|
-
"input_filter": {
|
|
9
|
-
"description": "list of regex, case insensitive, empty gives all files, positive list",
|
|
10
|
-
"items": {
|
|
11
|
-
"type": "string"
|
|
12
|
-
},
|
|
13
|
-
"type": "array"
|
|
14
|
-
},
|
|
15
|
-
"input_folder": {
|
|
16
|
-
"anyOf": [
|
|
17
|
-
{
|
|
18
|
-
"type": "string"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"items": {
|
|
22
|
-
"type": "string"
|
|
23
|
-
},
|
|
24
|
-
"type": "array"
|
|
25
|
-
}
|
|
26
|
-
]
|
|
27
|
-
},
|
|
28
|
-
"lib": {
|
|
29
|
-
"deprecated": true,
|
|
30
|
-
"description": "to be deprecated, \"lib\", use \"libs\" instead",
|
|
31
|
-
"type": "string"
|
|
32
|
-
},
|
|
33
|
-
"libs": {
|
|
34
|
-
"items": {
|
|
35
|
-
"additionalProperties": false,
|
|
36
|
-
"properties": {
|
|
37
|
-
"files": {
|
|
38
|
-
"anyOf": [
|
|
39
|
-
{
|
|
40
|
-
"type": "string"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"items": {
|
|
44
|
-
"type": "string"
|
|
45
|
-
},
|
|
46
|
-
"type": "array"
|
|
47
|
-
}
|
|
48
|
-
]
|
|
49
|
-
},
|
|
50
|
-
"folder": {
|
|
51
|
-
"type": "string"
|
|
52
|
-
},
|
|
53
|
-
"url": {
|
|
54
|
-
"type": "string"
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
"type": "object"
|
|
58
|
-
},
|
|
59
|
-
"type": "array"
|
|
60
|
-
},
|
|
61
|
-
"options": {
|
|
62
|
-
"$ref": "#/definitions/ITranspilerOptions"
|
|
63
|
-
},
|
|
64
|
-
"output_folder": {
|
|
65
|
-
"type": "string"
|
|
66
|
-
},
|
|
67
|
-
"write_source_map": {
|
|
68
|
-
"type": "boolean"
|
|
69
|
-
},
|
|
70
|
-
"write_unit_tests": {
|
|
71
|
-
"type": "boolean"
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
"required": [
|
|
75
|
-
"input_folder",
|
|
76
|
-
"output_folder",
|
|
77
|
-
"options"
|
|
78
|
-
],
|
|
79
|
-
"type": "object"
|
|
80
|
-
},
|
|
81
|
-
"ITranspilerOptions": {
|
|
82
|
-
"additionalProperties": false,
|
|
83
|
-
"properties": {
|
|
84
|
-
"addCommonJS": {
|
|
85
|
-
"description": "adds common js modules",
|
|
86
|
-
"type": "boolean"
|
|
87
|
-
},
|
|
88
|
-
"addFilenames": {
|
|
89
|
-
"description": "adds filenames as comments in the output js",
|
|
90
|
-
"type": "boolean"
|
|
91
|
-
},
|
|
92
|
-
"extraSetup": {
|
|
93
|
-
"description": "extra setup script to be executed during initialization",
|
|
94
|
-
"type": "string"
|
|
95
|
-
},
|
|
96
|
-
"ignoreSourceMap": {
|
|
97
|
-
"description": "ignore source map",
|
|
98
|
-
"type": "boolean"
|
|
99
|
-
},
|
|
100
|
-
"ignoreSyntaxCheck": {
|
|
101
|
-
"description": "ignore syntax check, used for internal testing",
|
|
102
|
-
"type": "boolean"
|
|
103
|
-
},
|
|
104
|
-
"keywords": {
|
|
105
|
-
"description": "list of keywords to rename, if not supplied default will be used",
|
|
106
|
-
"items": {
|
|
107
|
-
"type": "string"
|
|
108
|
-
},
|
|
109
|
-
"type": "array"
|
|
110
|
-
},
|
|
111
|
-
"skip": {
|
|
112
|
-
"$ref": "#/definitions/TestMethodList",
|
|
113
|
-
"description": "list of unit tests to skip"
|
|
114
|
-
},
|
|
115
|
-
"skipConstants": {
|
|
116
|
-
"description": "skip outputing constants, used for internal testing",
|
|
117
|
-
"type": "boolean"
|
|
118
|
-
},
|
|
119
|
-
"skipReposrc": {
|
|
120
|
-
"description": "dont insert into REPOSRC",
|
|
121
|
-
"type": "boolean"
|
|
122
|
-
},
|
|
123
|
-
"unknownTypes": {
|
|
124
|
-
"$ref": "#/definitions/UnknownTypesEnum",
|
|
125
|
-
"description": "sets behavior for unknown types, either fail at compile- or run-time"
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
"type": "object"
|
|
129
|
-
},
|
|
130
|
-
"TestMethodList": {
|
|
131
|
-
"items": {
|
|
132
|
-
"additionalProperties": false,
|
|
133
|
-
"properties": {
|
|
134
|
-
"class": {
|
|
135
|
-
"type": "string"
|
|
136
|
-
},
|
|
137
|
-
"method": {
|
|
138
|
-
"type": "string"
|
|
139
|
-
},
|
|
140
|
-
"object": {
|
|
141
|
-
"type": "string"
|
|
142
|
-
}
|
|
143
|
-
},
|
|
144
|
-
"required": [
|
|
145
|
-
"object",
|
|
146
|
-
"class",
|
|
147
|
-
"method"
|
|
148
|
-
],
|
|
149
|
-
"type": "object"
|
|
150
|
-
},
|
|
151
|
-
"type": "array"
|
|
152
|
-
},
|
|
153
|
-
"UnknownTypesEnum": {
|
|
154
|
-
"enum": [
|
|
155
|
-
"compileError",
|
|
156
|
-
"runtimeError"
|
|
157
|
-
],
|
|
158
|
-
"type": "string"
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
}
|