@markw65/monkeyc-optimizer 1.1.63 → 1.1.65
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 +15 -0
- package/README.md +5 -4
- package/build/api.cjs +35 -35
- package/build/{chunk-SG7ODKRM.cjs → chunk-67LU4GPQ.cjs} +54 -49
- package/build/{chunk-Y2ZRISYL.cjs → chunk-MDTDXRQB.cjs} +634 -310
- package/build/optimizer.cjs +20 -18
- package/build/sdk-util.cjs +15 -15
- package/build/src/ast.d.ts +1 -13
- package/build/src/build-config.d.ts +83 -0
- package/build/src/optimizer-types.d.ts +2 -49
- package/build/src/optimizer.d.ts +2 -1
- package/build/util.cjs +26 -26
- package/build/worker-thread.cjs +4 -4
- package/package.json +1 -1
package/build/optimizer.cjs
CHANGED
|
@@ -18,31 +18,33 @@ 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
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
21
|
+
StateNodeAttributes: () => import_chunk_MDTDXRQB.StateNodeAttributes,
|
|
22
|
+
buildConfigDescription: () => import_chunk_MDTDXRQB.buildConfigDescription,
|
|
23
|
+
buildOptimizedProject: () => import_chunk_MDTDXRQB.buildOptimizedProject,
|
|
24
|
+
copyRecursiveAsNeeded: () => import_chunk_67LU4GPQ.copyRecursiveAsNeeded,
|
|
25
|
+
defaultConfig: () => import_chunk_MDTDXRQB.defaultConfig,
|
|
26
|
+
display: () => import_chunk_MDTDXRQB.display,
|
|
27
|
+
generateOneConfig: () => import_chunk_MDTDXRQB.generateOneConfig,
|
|
28
|
+
generateOptimizedProject: () => import_chunk_MDTDXRQB.generateOptimizedProject,
|
|
29
|
+
getConfig: () => import_chunk_MDTDXRQB.getConfig,
|
|
30
|
+
getProjectAnalysis: () => import_chunk_MDTDXRQB.getProjectAnalysis,
|
|
31
|
+
get_jungle: () => import_chunk_MDTDXRQB.get_jungle,
|
|
32
|
+
isErrorWithLocation: () => import_chunk_MDTDXRQB.isErrorWithLocation,
|
|
33
|
+
launchSimulator: () => import_chunk_MDTDXRQB.launchSimulator,
|
|
34
|
+
manifestProducts: () => import_chunk_MDTDXRQB.manifestProducts,
|
|
35
|
+
mctree: () => import_chunk_MDTDXRQB.mctree,
|
|
36
|
+
simulateProgram: () => import_chunk_MDTDXRQB.simulateProgram
|
|
36
37
|
});
|
|
37
38
|
module.exports = __toCommonJS(optimizer_exports);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
39
|
+
var import_chunk_MDTDXRQB = require("./chunk-MDTDXRQB.cjs");
|
|
40
|
+
var import_chunk_67LU4GPQ = require("./chunk-67LU4GPQ.cjs");
|
|
40
41
|
var import_chunk_MBTLUWXR = require("./chunk-MBTLUWXR.cjs");
|
|
41
42
|
var import_chunk_ABYVSU2C = require("./chunk-ABYVSU2C.cjs");
|
|
42
|
-
(0,
|
|
43
|
+
(0, import_chunk_MDTDXRQB.init_optimizer)();
|
|
43
44
|
// Annotate the CommonJS export names for ESM import in node:
|
|
44
45
|
0 && (module.exports = {
|
|
45
46
|
StateNodeAttributes,
|
|
47
|
+
buildConfigDescription,
|
|
46
48
|
buildOptimizedProject,
|
|
47
49
|
copyRecursiveAsNeeded,
|
|
48
50
|
defaultConfig,
|
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_MDTDXRQB.SectionKinds,
|
|
22
|
+
appSupport: () => import_chunk_MDTDXRQB.appSupport,
|
|
23
|
+
connectiq: () => import_chunk_MDTDXRQB.connectiq,
|
|
24
|
+
getDeviceInfo: () => import_chunk_MDTDXRQB.getDeviceInfo,
|
|
25
|
+
getFunctionDocumentation: () => import_chunk_MDTDXRQB.getFunctionDocumentation,
|
|
26
|
+
getLanguages: () => import_chunk_MDTDXRQB.getLanguages,
|
|
27
|
+
getSdkPath: () => import_chunk_MDTDXRQB.getSdkPath,
|
|
28
|
+
isWin: () => import_chunk_MDTDXRQB.isWin,
|
|
29
|
+
optimizeProgram: () => import_chunk_MDTDXRQB.optimizeProgram,
|
|
30
|
+
readPrg: () => import_chunk_MDTDXRQB.readPrg,
|
|
31
|
+
readPrgWithOffsets: () => import_chunk_MDTDXRQB.readPrgWithOffsets,
|
|
32
|
+
xmlUtil: () => import_chunk_MDTDXRQB.xml_util_exports
|
|
33
33
|
});
|
|
34
34
|
module.exports = __toCommonJS(sdk_util_exports);
|
|
35
|
-
var
|
|
36
|
-
var
|
|
35
|
+
var import_chunk_MDTDXRQB = require("./chunk-MDTDXRQB.cjs");
|
|
36
|
+
var import_chunk_67LU4GPQ = require("./chunk-67LU4GPQ.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_MDTDXRQB.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/src/ast.d.ts
CHANGED
|
@@ -36,19 +36,7 @@ export declare function locRange(start: mctree.SourceLocation, end: mctree.Sourc
|
|
|
36
36
|
start: mctree.Position;
|
|
37
37
|
end: mctree.Position;
|
|
38
38
|
};
|
|
39
|
-
export declare function adjustLoc(loc: xmlUtil.SourceLocation, start?: number, end?: number):
|
|
40
|
-
readonly source: string | null | undefined;
|
|
41
|
-
readonly start: {
|
|
42
|
-
readonly offset: number;
|
|
43
|
-
readonly line: number;
|
|
44
|
-
readonly column: number;
|
|
45
|
-
};
|
|
46
|
-
readonly end: {
|
|
47
|
-
readonly offset: number;
|
|
48
|
-
readonly line: number;
|
|
49
|
-
readonly column: number;
|
|
50
|
-
};
|
|
51
|
-
};
|
|
39
|
+
export declare function adjustLoc(loc: xmlUtil.SourceLocation, start?: number, end?: number): xmlUtil.SourceLocation;
|
|
52
40
|
export declare function makeIdentifier(name: string, loc?: mctree.SourceLocation | null | undefined): {
|
|
53
41
|
type: "Identifier";
|
|
54
42
|
name: string;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
export type DiagnosticType = "ERROR" | "WARNING" | "INFO";
|
|
2
|
+
export type LookupRules = "COMPILER1" | "COMPILER2" | "DEFAULT";
|
|
3
|
+
export type EnforceStatic = "YES" | "NO";
|
|
4
|
+
export type BuildConfig = {
|
|
5
|
+
workspace?: string;
|
|
6
|
+
jungleFiles?: string;
|
|
7
|
+
developerKeyPath?: string;
|
|
8
|
+
typeCheckLevel?: "Off" | "Default" | "Gradual" | "Informative" | "Strict";
|
|
9
|
+
optimizationLevel?: "None" | "Basic" | "Fast" | "Slow";
|
|
10
|
+
compilerOptions?: string;
|
|
11
|
+
compilerWarnings?: boolean;
|
|
12
|
+
simulatorBuild?: boolean;
|
|
13
|
+
releaseBuild?: boolean;
|
|
14
|
+
testBuild?: boolean;
|
|
15
|
+
products?: string[];
|
|
16
|
+
buildDir?: string;
|
|
17
|
+
outputPath?: string;
|
|
18
|
+
program?: string;
|
|
19
|
+
skipOptimization?: boolean;
|
|
20
|
+
checkManifest?: boolean;
|
|
21
|
+
device?: string;
|
|
22
|
+
extraExcludes?: string;
|
|
23
|
+
ignoredExcludeAnnotations?: string;
|
|
24
|
+
ignoredAnnotations?: string;
|
|
25
|
+
ignoredSourcePaths?: string;
|
|
26
|
+
returnCommand?: boolean;
|
|
27
|
+
checkBuildPragmas?: boolean;
|
|
28
|
+
checkInvalidSymbols?: DiagnosticType | "OFF";
|
|
29
|
+
checkCompilerLookupRules?: DiagnosticType | "OFF";
|
|
30
|
+
compilerLookupRules?: LookupRules;
|
|
31
|
+
enforceStatic?: EnforceStatic;
|
|
32
|
+
sizeBasedPRE?: boolean | string;
|
|
33
|
+
prettier?: Record<string, unknown>;
|
|
34
|
+
extensionVersion?: string;
|
|
35
|
+
useLocalOptimizer?: boolean;
|
|
36
|
+
propagateTypes?: boolean;
|
|
37
|
+
trustDeclaredTypes?: boolean;
|
|
38
|
+
minimizeLocals?: boolean;
|
|
39
|
+
minimizeModules?: boolean;
|
|
40
|
+
postBuildOptimizer?: boolean;
|
|
41
|
+
singleUseCopyProp?: boolean;
|
|
42
|
+
iterateOptimizer?: boolean;
|
|
43
|
+
covarianceWarnings?: boolean;
|
|
44
|
+
checkTypes?: DiagnosticType | "OFF";
|
|
45
|
+
removeArgc?: boolean;
|
|
46
|
+
postBuildPRE?: boolean;
|
|
47
|
+
allowForbiddenOpts?: boolean;
|
|
48
|
+
runTests?: boolean;
|
|
49
|
+
};
|
|
50
|
+
interface BuildConfigEntryBase {
|
|
51
|
+
title?: string;
|
|
52
|
+
type: string;
|
|
53
|
+
description?: string;
|
|
54
|
+
taskDescription?: string;
|
|
55
|
+
launchDescription?: string;
|
|
56
|
+
markdownDescription?: string;
|
|
57
|
+
order?: number;
|
|
58
|
+
scope: "application" | "machine" | "machine-overridable" | "window" | "resource" | "tasks" | "launch" | "tasks_launch" | "language-overridable";
|
|
59
|
+
}
|
|
60
|
+
interface BuildConfigEntryBoolean extends BuildConfigEntryBase {
|
|
61
|
+
type: "boolean";
|
|
62
|
+
default?: boolean;
|
|
63
|
+
}
|
|
64
|
+
interface BuildConfigEntryString extends BuildConfigEntryBase {
|
|
65
|
+
type: "string";
|
|
66
|
+
default?: string;
|
|
67
|
+
}
|
|
68
|
+
interface BuildConfigEntryEnum<V> extends BuildConfigEntryBase {
|
|
69
|
+
type: "string";
|
|
70
|
+
default?: string;
|
|
71
|
+
enum: readonly V[];
|
|
72
|
+
enumDescriptions?: readonly string[];
|
|
73
|
+
}
|
|
74
|
+
type BuildConfigEntry<V> = boolean extends V ? BuildConfigEntryBoolean : [V] extends [string] ? [string] extends [V] ? BuildConfigEntryString : BuildConfigEntryEnum<V> : never;
|
|
75
|
+
type BuildConfigDescription = {
|
|
76
|
+
title: string;
|
|
77
|
+
type: "object";
|
|
78
|
+
properties: {
|
|
79
|
+
[K in keyof BuildConfig]?: BuildConfigEntry<NonNullable<BuildConfig[K]>>;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
export declare const buildConfigDescription: readonly BuildConfigDescription[];
|
|
83
|
+
export {};
|
|
@@ -1,54 +1,8 @@
|
|
|
1
1
|
import { mctree } from "@markw65/prettier-plugin-monkeyc";
|
|
2
|
+
import { BuildConfig, DiagnosticType, LookupRules } from "./build-config";
|
|
2
3
|
import { xmlUtil } from "./sdk-util";
|
|
3
4
|
import { ExactOrUnion } from "./type-flow/types";
|
|
4
|
-
export
|
|
5
|
-
export type LookupRules = "COMPILER1" | "COMPILER2" | "DEFAULT";
|
|
6
|
-
export type EnforceStatic = "YES" | "NO";
|
|
7
|
-
export type BuildConfig = {
|
|
8
|
-
workspace?: string;
|
|
9
|
-
jungleFiles?: string;
|
|
10
|
-
developerKeyPath?: string;
|
|
11
|
-
typeCheckLevel?: string;
|
|
12
|
-
optimizationLevel?: string;
|
|
13
|
-
compilerOptions?: string;
|
|
14
|
-
compilerWarnings?: boolean;
|
|
15
|
-
simulatorBuild?: boolean;
|
|
16
|
-
releaseBuild?: boolean;
|
|
17
|
-
testBuild?: boolean;
|
|
18
|
-
products?: string[];
|
|
19
|
-
buildDir?: string;
|
|
20
|
-
outputPath?: string;
|
|
21
|
-
program?: string;
|
|
22
|
-
skipOptimization?: boolean;
|
|
23
|
-
checkManifest?: boolean;
|
|
24
|
-
device?: string;
|
|
25
|
-
extraExcludes?: string;
|
|
26
|
-
ignoredExcludeAnnotations?: string;
|
|
27
|
-
ignoredAnnotations?: string;
|
|
28
|
-
ignoredSourcePaths?: string;
|
|
29
|
-
returnCommand?: boolean;
|
|
30
|
-
checkBuildPragmas?: boolean;
|
|
31
|
-
checkInvalidSymbols?: DiagnosticType | "OFF";
|
|
32
|
-
checkCompilerLookupRules?: DiagnosticType | "OFF";
|
|
33
|
-
compilerLookupRules?: LookupRules;
|
|
34
|
-
enforceStatic?: EnforceStatic;
|
|
35
|
-
sizeBasedPRE?: boolean | string;
|
|
36
|
-
prettier?: Record<string, unknown>;
|
|
37
|
-
extensionVersion?: string;
|
|
38
|
-
useLocalOptimizer?: boolean;
|
|
39
|
-
propagateTypes?: boolean;
|
|
40
|
-
trustDeclaredTypes?: boolean;
|
|
41
|
-
minimizeLocals?: boolean;
|
|
42
|
-
minimizeModules?: boolean;
|
|
43
|
-
postBuildOptimizer?: boolean;
|
|
44
|
-
singleUseCopyProp?: boolean;
|
|
45
|
-
iterateOptimizer?: boolean;
|
|
46
|
-
covarianceWarnings?: boolean;
|
|
47
|
-
checkTypes?: DiagnosticType | "OFF";
|
|
48
|
-
removeArgc?: boolean;
|
|
49
|
-
postBuildPRE?: boolean;
|
|
50
|
-
allowForbiddenOpts?: boolean;
|
|
51
|
-
};
|
|
5
|
+
export { BuildConfig, DiagnosticType };
|
|
52
6
|
export type StateNodeDecl = StateNode | mctree.EnumStringMember | mctree.TypedIdentifier;
|
|
53
7
|
export type StateNodeDecls = {
|
|
54
8
|
[key: string]: StateNodeDecl[];
|
|
@@ -250,4 +204,3 @@ export type FilesToOptimizeMap = {
|
|
|
250
204
|
hasTests?: boolean;
|
|
251
205
|
};
|
|
252
206
|
};
|
|
253
|
-
export {};
|
package/build/src/optimizer.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { mctree } from "@markw65/prettier-plugin-monkeyc";
|
|
2
|
+
import { buildConfigDescription } from "./build-config";
|
|
2
3
|
import { JungleBuildDependencies, JungleError, JungleQualifier, JungleResourceMap, ResolvedJungle, Target, get_jungle } from "./jungles";
|
|
3
4
|
import { launchSimulator, simulateProgram } from "./launch";
|
|
4
5
|
import { manifestProducts } from "./manifest";
|
|
@@ -8,7 +9,7 @@ import { TypeMap } from "./type-flow/interp";
|
|
|
8
9
|
import { copyRecursiveAsNeeded } from "./util";
|
|
9
10
|
export * from "./optimizer-types";
|
|
10
11
|
export { ExactOrUnion, display } from "./type-flow/types";
|
|
11
|
-
export { JungleBuildDependencies, JungleError, JungleResourceMap, ResolvedJungle, TypeMap, copyRecursiveAsNeeded, get_jungle, launchSimulator, manifestProducts, mctree, simulateProgram, };
|
|
12
|
+
export { JungleBuildDependencies, JungleError, JungleResourceMap, ResolvedJungle, TypeMap, buildConfigDescription, copyRecursiveAsNeeded, get_jungle, launchSimulator, manifestProducts, mctree, simulateProgram, };
|
|
12
13
|
export declare const defaultConfig: {
|
|
13
14
|
outputPath: string;
|
|
14
15
|
workspace: string;
|
package/build/util.cjs
CHANGED
|
@@ -18,35 +18,35 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var util_exports = {};
|
|
20
20
|
__export(util_exports, {
|
|
21
|
-
AwaitedError: () =>
|
|
22
|
-
GenericQueue: () =>
|
|
23
|
-
bumpLogging: () =>
|
|
24
|
-
copyRecursiveAsNeeded: () =>
|
|
25
|
-
every: () =>
|
|
26
|
-
first_modified: () =>
|
|
27
|
-
forEach: () =>
|
|
28
|
-
globSome: () =>
|
|
29
|
-
globa: () =>
|
|
30
|
-
last_modified: () =>
|
|
31
|
-
log: () =>
|
|
32
|
-
logPromise: () =>
|
|
33
|
-
logger: () =>
|
|
34
|
-
map: () =>
|
|
35
|
-
popcount: () =>
|
|
36
|
-
promiseAll: () =>
|
|
37
|
-
pushUnique: () =>
|
|
38
|
-
readByLine: () =>
|
|
39
|
-
reduce: () =>
|
|
40
|
-
sameArrays: () =>
|
|
41
|
-
setBanner: () =>
|
|
42
|
-
some: () =>
|
|
43
|
-
spawnByLine: () =>
|
|
44
|
-
wouldLog: () =>
|
|
21
|
+
AwaitedError: () => import_chunk_67LU4GPQ.AwaitedError,
|
|
22
|
+
GenericQueue: () => import_chunk_67LU4GPQ.GenericQueue,
|
|
23
|
+
bumpLogging: () => import_chunk_67LU4GPQ.bumpLogging,
|
|
24
|
+
copyRecursiveAsNeeded: () => import_chunk_67LU4GPQ.copyRecursiveAsNeeded,
|
|
25
|
+
every: () => import_chunk_67LU4GPQ.every,
|
|
26
|
+
first_modified: () => import_chunk_67LU4GPQ.first_modified,
|
|
27
|
+
forEach: () => import_chunk_67LU4GPQ.forEach,
|
|
28
|
+
globSome: () => import_chunk_67LU4GPQ.globSome,
|
|
29
|
+
globa: () => import_chunk_67LU4GPQ.globa,
|
|
30
|
+
last_modified: () => import_chunk_67LU4GPQ.last_modified,
|
|
31
|
+
log: () => import_chunk_67LU4GPQ.log,
|
|
32
|
+
logPromise: () => import_chunk_67LU4GPQ.logPromise,
|
|
33
|
+
logger: () => import_chunk_67LU4GPQ.logger,
|
|
34
|
+
map: () => import_chunk_67LU4GPQ.map,
|
|
35
|
+
popcount: () => import_chunk_67LU4GPQ.popcount,
|
|
36
|
+
promiseAll: () => import_chunk_67LU4GPQ.promiseAll,
|
|
37
|
+
pushUnique: () => import_chunk_67LU4GPQ.pushUnique,
|
|
38
|
+
readByLine: () => import_chunk_67LU4GPQ.readByLine,
|
|
39
|
+
reduce: () => import_chunk_67LU4GPQ.reduce,
|
|
40
|
+
sameArrays: () => import_chunk_67LU4GPQ.sameArrays,
|
|
41
|
+
setBanner: () => import_chunk_67LU4GPQ.setBanner,
|
|
42
|
+
some: () => import_chunk_67LU4GPQ.some,
|
|
43
|
+
spawnByLine: () => import_chunk_67LU4GPQ.spawnByLine,
|
|
44
|
+
wouldLog: () => import_chunk_67LU4GPQ.wouldLog
|
|
45
45
|
});
|
|
46
46
|
module.exports = __toCommonJS(util_exports);
|
|
47
|
-
var
|
|
47
|
+
var import_chunk_67LU4GPQ = require("./chunk-67LU4GPQ.cjs");
|
|
48
48
|
var import_chunk_ABYVSU2C = require("./chunk-ABYVSU2C.cjs");
|
|
49
|
-
(0,
|
|
49
|
+
(0, import_chunk_67LU4GPQ.init_util)();
|
|
50
50
|
// Annotate the CommonJS export names for ESM import in node:
|
|
51
51
|
0 && (module.exports = {
|
|
52
52
|
AwaitedError,
|
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
|
|
25
|
-
var
|
|
24
|
+
var import_chunk_MDTDXRQB = require("./chunk-MDTDXRQB.cjs");
|
|
25
|
+
var import_chunk_67LU4GPQ = require("./chunk-67LU4GPQ.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_MDTDXRQB.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_MDTDXRQB.performTask)(task));
|
|
35
35
|
});
|
|
36
36
|
}
|
|
37
37
|
}
|
package/package.json
CHANGED