@markw65/monkeyc-optimizer 1.1.35 → 1.1.36
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/CHANGELOG.md +5 -0
- package/build/api.cjs +31 -31
- package/build/{chunk-Q5WTV4CN.cjs → chunk-FD2NCZK4.cjs} +523 -802
- package/build/optimizer.cjs +17 -17
- package/build/sdk-util.cjs +14 -14
- package/build/worker-thread.cjs +3 -3
- package/package.json +2 -2
package/build/optimizer.cjs
CHANGED
|
@@ -18,29 +18,29 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var optimizer_exports = {};
|
|
20
20
|
__export(optimizer_exports, {
|
|
21
|
-
StateNodeAttributes: () =>
|
|
22
|
-
buildOptimizedProject: () =>
|
|
21
|
+
StateNodeAttributes: () => import_chunk_FD2NCZK4.StateNodeAttributes,
|
|
22
|
+
buildOptimizedProject: () => import_chunk_FD2NCZK4.buildOptimizedProject,
|
|
23
23
|
copyRecursiveAsNeeded: () => import_chunk_PVBIKZYZ.copyRecursiveAsNeeded,
|
|
24
|
-
defaultConfig: () =>
|
|
25
|
-
display: () =>
|
|
26
|
-
generateApiMirTests: () =>
|
|
27
|
-
generateOneConfig: () =>
|
|
28
|
-
generateOptimizedProject: () =>
|
|
29
|
-
getConfig: () =>
|
|
30
|
-
getProjectAnalysis: () =>
|
|
31
|
-
get_jungle: () =>
|
|
32
|
-
isErrorWithLocation: () =>
|
|
33
|
-
launchSimulator: () =>
|
|
34
|
-
manifestProducts: () =>
|
|
35
|
-
mctree: () =>
|
|
36
|
-
simulateProgram: () =>
|
|
24
|
+
defaultConfig: () => import_chunk_FD2NCZK4.defaultConfig,
|
|
25
|
+
display: () => import_chunk_FD2NCZK4.display,
|
|
26
|
+
generateApiMirTests: () => import_chunk_FD2NCZK4.generateApiMirTests,
|
|
27
|
+
generateOneConfig: () => import_chunk_FD2NCZK4.generateOneConfig,
|
|
28
|
+
generateOptimizedProject: () => import_chunk_FD2NCZK4.generateOptimizedProject,
|
|
29
|
+
getConfig: () => import_chunk_FD2NCZK4.getConfig,
|
|
30
|
+
getProjectAnalysis: () => import_chunk_FD2NCZK4.getProjectAnalysis,
|
|
31
|
+
get_jungle: () => import_chunk_FD2NCZK4.get_jungle,
|
|
32
|
+
isErrorWithLocation: () => import_chunk_FD2NCZK4.isErrorWithLocation,
|
|
33
|
+
launchSimulator: () => import_chunk_FD2NCZK4.launchSimulator,
|
|
34
|
+
manifestProducts: () => import_chunk_FD2NCZK4.manifestProducts,
|
|
35
|
+
mctree: () => import_chunk_FD2NCZK4.mctree,
|
|
36
|
+
simulateProgram: () => import_chunk_FD2NCZK4.simulateProgram
|
|
37
37
|
});
|
|
38
38
|
module.exports = __toCommonJS(optimizer_exports);
|
|
39
|
-
var
|
|
39
|
+
var import_chunk_FD2NCZK4 = require("./chunk-FD2NCZK4.cjs");
|
|
40
40
|
var import_chunk_PVBIKZYZ = require("./chunk-PVBIKZYZ.cjs");
|
|
41
41
|
var import_chunk_MBTLUWXR = require("./chunk-MBTLUWXR.cjs");
|
|
42
42
|
var import_chunk_ABYVSU2C = require("./chunk-ABYVSU2C.cjs");
|
|
43
|
-
(0,
|
|
43
|
+
(0, import_chunk_FD2NCZK4.init_optimizer)();
|
|
44
44
|
// Annotate the CommonJS export names for ESM import in node:
|
|
45
45
|
0 && (module.exports = {
|
|
46
46
|
StateNodeAttributes,
|
package/build/sdk-util.cjs
CHANGED
|
@@ -18,25 +18,25 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var sdk_util_exports = {};
|
|
20
20
|
__export(sdk_util_exports, {
|
|
21
|
-
SectionKinds: () =>
|
|
22
|
-
appSupport: () =>
|
|
23
|
-
connectiq: () =>
|
|
24
|
-
getDeviceInfo: () =>
|
|
25
|
-
getFunctionDocumentation: () =>
|
|
26
|
-
getLanguages: () =>
|
|
27
|
-
getSdkPath: () =>
|
|
28
|
-
isWin: () =>
|
|
29
|
-
optimizeProgram: () =>
|
|
30
|
-
readPrg: () =>
|
|
31
|
-
readPrgWithOffsets: () =>
|
|
32
|
-
xmlUtil: () =>
|
|
21
|
+
SectionKinds: () => import_chunk_FD2NCZK4.SectionKinds,
|
|
22
|
+
appSupport: () => import_chunk_FD2NCZK4.appSupport,
|
|
23
|
+
connectiq: () => import_chunk_FD2NCZK4.connectiq,
|
|
24
|
+
getDeviceInfo: () => import_chunk_FD2NCZK4.getDeviceInfo,
|
|
25
|
+
getFunctionDocumentation: () => import_chunk_FD2NCZK4.getFunctionDocumentation,
|
|
26
|
+
getLanguages: () => import_chunk_FD2NCZK4.getLanguages,
|
|
27
|
+
getSdkPath: () => import_chunk_FD2NCZK4.getSdkPath,
|
|
28
|
+
isWin: () => import_chunk_FD2NCZK4.isWin,
|
|
29
|
+
optimizeProgram: () => import_chunk_FD2NCZK4.optimizeProgram,
|
|
30
|
+
readPrg: () => import_chunk_FD2NCZK4.readPrg,
|
|
31
|
+
readPrgWithOffsets: () => import_chunk_FD2NCZK4.readPrgWithOffsets,
|
|
32
|
+
xmlUtil: () => import_chunk_FD2NCZK4.xml_util_exports
|
|
33
33
|
});
|
|
34
34
|
module.exports = __toCommonJS(sdk_util_exports);
|
|
35
|
-
var
|
|
35
|
+
var import_chunk_FD2NCZK4 = require("./chunk-FD2NCZK4.cjs");
|
|
36
36
|
var import_chunk_PVBIKZYZ = require("./chunk-PVBIKZYZ.cjs");
|
|
37
37
|
var import_chunk_MBTLUWXR = require("./chunk-MBTLUWXR.cjs");
|
|
38
38
|
var import_chunk_ABYVSU2C = require("./chunk-ABYVSU2C.cjs");
|
|
39
|
-
(0,
|
|
39
|
+
(0, import_chunk_FD2NCZK4.init_sdk_util)();
|
|
40
40
|
// Annotate the CommonJS export names for ESM import in node:
|
|
41
41
|
0 && (module.exports = {
|
|
42
42
|
SectionKinds,
|
package/build/worker-thread.cjs
CHANGED
|
@@ -21,17 +21,17 @@ __export(worker_thread_exports, {
|
|
|
21
21
|
default: () => worker_thread_default
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(worker_thread_exports);
|
|
24
|
-
var
|
|
24
|
+
var import_chunk_FD2NCZK4 = require("./chunk-FD2NCZK4.cjs");
|
|
25
25
|
var import_chunk_PVBIKZYZ = require("./chunk-PVBIKZYZ.cjs");
|
|
26
26
|
var import_chunk_MBTLUWXR = require("./chunk-MBTLUWXR.cjs");
|
|
27
27
|
var import_chunk_ABYVSU2C = require("./chunk-ABYVSU2C.cjs");
|
|
28
28
|
var import_node_worker_threads = require("node:worker_threads");
|
|
29
29
|
var require_worker_thread = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
30
30
|
"src/worker-thread.ts"() {
|
|
31
|
-
(0,
|
|
31
|
+
(0, import_chunk_FD2NCZK4.init_worker_task)();
|
|
32
32
|
if (import_node_worker_threads.parentPort) {
|
|
33
33
|
import_node_worker_threads.parentPort.on("message", async (task) => {
|
|
34
|
-
return import_node_worker_threads.parentPort.postMessage(await (0,
|
|
34
|
+
return import_node_worker_threads.parentPort.postMessage(await (0, import_chunk_FD2NCZK4.performTask)(task));
|
|
35
35
|
});
|
|
36
36
|
}
|
|
37
37
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markw65/monkeyc-optimizer",
|
|
3
3
|
"type": "commonjs",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.36",
|
|
5
5
|
"description": "Source to source optimizer for Garmin Monkey C code",
|
|
6
6
|
"main": "build/optimizer.cjs",
|
|
7
7
|
"types": "build/src/optimizer.d.ts",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"author": "markw65",
|
|
50
50
|
"license": "MIT",
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@markw65/prettier-plugin-monkeyc": "^1.0.
|
|
52
|
+
"@markw65/prettier-plugin-monkeyc": "^1.0.52"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@types/chai": "^4.3.4",
|