@abaplint/transpiler-cli 2.11.33 → 2.11.34
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/bundle.js +9 -2
- package/package.json +2 -2
package/build/bundle.js
CHANGED
|
@@ -81925,12 +81925,15 @@ class HandleFUGR {
|
|
|
81925
81925
|
constructor(options) {
|
|
81926
81926
|
this.options = options;
|
|
81927
81927
|
}
|
|
81928
|
+
static shouldSkip(obj, reg) {
|
|
81929
|
+
// @ts-ignore todo
|
|
81930
|
+
return new abaplint.SkipLogic(reg).isGeneratedFunctionGroup(obj);
|
|
81931
|
+
}
|
|
81928
81932
|
// function groups are compiled into a single file, with one closure for the function groups top variables
|
|
81929
81933
|
runObject(obj, reg) {
|
|
81930
81934
|
const spaghetti = new abaplint.SyntaxLogic(reg, obj).run().spaghetti;
|
|
81931
81935
|
const chunk = new chunk_1.Chunk().appendString("{\n");
|
|
81932
|
-
|
|
81933
|
-
if (new abaplint.SkipLogic(reg).isGeneratedFunctionGroup(obj)) {
|
|
81936
|
+
if (HandleFUGR.shouldSkip(obj, reg)) {
|
|
81934
81937
|
return [];
|
|
81935
81938
|
}
|
|
81936
81939
|
for (const file of obj.getSequencedFiles()) {
|
|
@@ -82474,6 +82477,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
82474
82477
|
exports.Initialization = void 0;
|
|
82475
82478
|
exports.escapeNamespaceFilename = escapeNamespaceFilename;
|
|
82476
82479
|
const abaplint = __webpack_require__(/*! @abaplint/core */ "./node_modules/@abaplint/core/build/src/index.js");
|
|
82480
|
+
const handle_fugr_1 = __webpack_require__(/*! ./handlers/handle_fugr */ "./node_modules/@abaplint/transpiler/build/src/handlers/handle_fugr.js");
|
|
82477
82481
|
function escapeNamespaceFilename(filename) {
|
|
82478
82482
|
// ES modules are resolved and cached as URLs. This means that special characters must be
|
|
82479
82483
|
// percent-encoded, such as # with %23 and ? with %3F.
|
|
@@ -82561,6 +82565,9 @@ export async function initializeABAP() {\n`;
|
|
|
82561
82565
|
else if (obj instanceof abaplint.Objects.Program && obj.isInclude() === true) {
|
|
82562
82566
|
continue;
|
|
82563
82567
|
}
|
|
82568
|
+
else if (obj instanceof abaplint.Objects.FunctionGroup && handle_fugr_1.HandleFUGR.shouldSkip(obj, reg) === true) {
|
|
82569
|
+
continue;
|
|
82570
|
+
}
|
|
82564
82571
|
else if (obj instanceof abaplint.Objects.Interface
|
|
82565
82572
|
|| obj instanceof abaplint.Objects.FunctionGroup
|
|
82566
82573
|
|| (options?.importProg === true && obj instanceof abaplint.Objects.Program)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/transpiler-cli",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.34",
|
|
4
4
|
"description": "Transpiler - Command Line Interface",
|
|
5
5
|
"funding": "https://github.com/sponsors/larshp",
|
|
6
6
|
"bin": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@abaplint/core": "^2.113.176",
|
|
31
|
-
"@abaplint/transpiler": "^2.11.
|
|
31
|
+
"@abaplint/transpiler": "^2.11.34",
|
|
32
32
|
"@types/glob": "^8.1.0",
|
|
33
33
|
"@types/node": "^24.3.0",
|
|
34
34
|
"@types/progress": "^2.0.7",
|