@abaplint/transpiler-cli 2.3.0 → 2.3.1
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 +1 -1
- package/package.json +2 -2
package/build/bundle.js
CHANGED
|
@@ -13766,7 +13766,7 @@ eval("\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\n
|
|
|
13766
13766
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
13767
13767
|
|
|
13768
13768
|
"use strict";
|
|
13769
|
-
eval("\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\nexports.HandleEnqu = void 0;\r\nconst chunk_1 = __webpack_require__(/*! ../chunk */ \"./node_modules/@abaplint/transpiler/build/src/chunk.js\");\r\n// view, much like the tables\r\nclass HandleEnqu {\r\n runObject(obj, _reg) {\r\n var _a;\r\n const filename = (_a = obj.getXMLFile()) === null || _a === void 0 ? void 0 : _a.getFilename().replace(\".xml\", \".mjs\").toLowerCase();\r\n if (filename === undefined) {\r\n return [];\r\n }\r\n const chunk = new chunk_1.Chunk().appendString(`// enqueue object\r\nabap.FunctionModules[\"ENQUEUE_${obj.getName().toUpperCase()}
|
|
13769
|
+
eval("\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\nexports.HandleEnqu = void 0;\r\nconst chunk_1 = __webpack_require__(/*! ../chunk */ \"./node_modules/@abaplint/transpiler/build/src/chunk.js\");\r\n// view, much like the tables\r\nclass HandleEnqu {\r\n runObject(obj, _reg) {\r\n var _a;\r\n const filename = (_a = obj.getXMLFile()) === null || _a === void 0 ? void 0 : _a.getFilename().replace(\".xml\", \".mjs\").toLowerCase();\r\n if (filename === undefined) {\r\n return [];\r\n }\r\n const chunk = new chunk_1.Chunk().appendString(`// enqueue object\r\nabap.FunctionModules[\"ENQUEUE_${obj.getName().toUpperCase()}\"] = async (INPUT) => {\r\n const lookup = abap.Classes[\"KERNEL_LOCK\"];\r\n if (lookup === undefined) {\r\n throw new Error(\"Lock, kernel class missing\");\r\n }\r\n await lookup.enqueue(INPUT);\r\n};\r\nabap.FunctionModules[\"DEQUEUE_${obj.getName().toUpperCase()}\"] = async (INPUT) => {\r\n const lookup = abap.Classes[\"KERNEL_LOCK\"];\r\n if (lookup === undefined) {\r\n throw new Error(\"Lock, kernel class missing\");\r\n }\r\n await lookup.dequeue(INPUT);\r\n};`);\r\n const output = {\r\n object: {\r\n name: obj.getName(),\r\n type: obj.getType(),\r\n },\r\n filename: filename,\r\n chunk: chunk,\r\n requires: [],\r\n exports: [],\r\n };\r\n return [output];\r\n }\r\n}\r\nexports.HandleEnqu = HandleEnqu;\r\n//# sourceMappingURL=handle_enqu.js.map\n\n//# sourceURL=webpack://@abaplint/transpiler-cli/./node_modules/@abaplint/transpiler/build/src/handlers/handle_enqu.js?");
|
|
13770
13770
|
|
|
13771
13771
|
/***/ }),
|
|
13772
13772
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/transpiler-cli",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.1",
|
|
4
4
|
"description": "Transpiler - Command Line Interface",
|
|
5
5
|
"bin": {
|
|
6
6
|
"abap_transpile": "./abap_transpile"
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"author": "abaplint",
|
|
26
26
|
"license": "MIT",
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@abaplint/transpiler": "^2.3.
|
|
28
|
+
"@abaplint/transpiler": "^2.3.1",
|
|
29
29
|
"@types/glob": "^7.2.0",
|
|
30
30
|
"glob": "=7.2.0",
|
|
31
31
|
"@types/progress": "^2.0.5",
|