@atolljs/core 0.1.8 → 0.1.10
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/dist/index23.js +1 -1
- package/package.json +3 -3
- package/src/worker/workerBootstrap.ts +6 -1
package/dist/index23.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atolljs/core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"description": "Typed shared-memory worker pools — defineWorker/connectWorker, SharedArrayBuffer contracts, cross-thread reactivity",
|
|
5
5
|
"homepage": "https://jwhenry3.github.io/atolljs/consumer/quickstart/",
|
|
6
6
|
"type": "module",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"@angular/core": "^22.2.0",
|
|
48
48
|
"@angular/platform-browser": "^22.2.0",
|
|
49
49
|
"@angular/platform-browser-dynamic": "^22.2.0",
|
|
50
|
-
"@nestjs/common": "^
|
|
51
|
-
"@nestjs/core": "^
|
|
50
|
+
"@nestjs/common": "^12.1.2",
|
|
51
|
+
"@nestjs/core": "^12.1.2",
|
|
52
52
|
"@sveltejs/vite-plugin-svelte": "^7.3.1",
|
|
53
53
|
"@types/react": "^19.3.0",
|
|
54
54
|
"@types/react-dom": "^19.3.0",
|
|
@@ -95,4 +95,9 @@ export function installWorkerListener(): void {
|
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
|
|
98
|
+
// Deferred to a microtask so the whole worker entry graph evaluates first:
|
|
99
|
+
// bundlers that flatten modules into shared chunks (rolldown/rollup) cannot
|
|
100
|
+
// guarantee this module runs after a `self`-binding shim, and deferring
|
|
101
|
+
// still beats the first inbound port message, which arrives on a later
|
|
102
|
+
// macrotask.
|
|
103
|
+
queueMicrotask(installWorkerListener);
|