@xylabs/threads 3.6.11 → 4.0.0
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/observable.d.ts +1 -1
- package/package.json +4 -4
- package/register.d.ts +1 -1
- package/src/index.ts +1 -1
- package/src/master/implementation.browser.ts +1 -1
- package/src/master/implementation.node.ts +1 -1
- package/src/master/index.ts +1 -1
- package/src/master/invocation-proxy.ts +1 -1
- package/src/master/pool.ts +1 -1
- package/src/master/spawn.ts +1 -1
- package/src/master/thread.ts +1 -1
- package/src/serializers.ts +1 -1
- package/src/worker/implementation.browser.ts +1 -1
- package/src/worker/implementation.tiny-worker.ts +1 -1
- package/src/worker/implementation.ts +1 -1
- package/src/worker/implementation.worker_threads.ts +1 -1
- package/src/worker/index.ts +1 -1
- package/test/lib/index.ts +1 -0
- package/test/observable-promise.test.ts +1 -1
- package/test/observable.test.ts +1 -1
- package/test/pool.test.ts +2 -2
- package/test/serialization.test.ts +1 -1
- package/test/spawn.chromium.mocha.ts +1 -1
- package/test/spawn.test.ts +1 -1
- package/test/transferables.test.ts +1 -1
- package/test/workers/minmax.ts +1 -1
- package/test/workers/serialization.ts +1 -1
- package/test-tooling/webpack/app-with-inlined-worker.ts +1 -1
- package/worker.d.ts +1 -1
package/observable.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
// eslint-disable-next-line import/no-internal-modules
|
|
1
|
+
// eslint-disable-next-line import-x/no-internal-modules
|
|
2
2
|
export * from './dist/observable'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xylabs/threads",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "Web workers & worker threads as simple as a function call",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -95,13 +95,13 @@
|
|
|
95
95
|
"@types/chai": "^4.3.17",
|
|
96
96
|
"@types/debug": "^4.1.12",
|
|
97
97
|
"@types/execa": "^2.0.0",
|
|
98
|
-
"@types/node": "^22.
|
|
98
|
+
"@types/node": "^22.2.0",
|
|
99
99
|
"@types/webpack": "^5.28.5",
|
|
100
100
|
"ava": "^6.1.3",
|
|
101
101
|
"chai": "^5.1.1",
|
|
102
102
|
"cross-env": "^7.0.3",
|
|
103
103
|
"execa": "^9.3.0",
|
|
104
|
-
"mocha": "^10.7.
|
|
104
|
+
"mocha": "^10.7.3",
|
|
105
105
|
"puppet-run": "^0.11.4",
|
|
106
106
|
"puppet-run-plugin-mocha": "^0.1.1",
|
|
107
107
|
"raw-loader": "^4.0.2",
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"ts-loader": "^9.5.1",
|
|
113
113
|
"ts-node": "^10.9.2",
|
|
114
114
|
"typescript": "^5.5.4",
|
|
115
|
-
"undici-types": "^6.19.
|
|
115
|
+
"undici-types": "^6.19.6",
|
|
116
116
|
"wavy": "^1.0.4",
|
|
117
117
|
"webpack": "^5.93.0",
|
|
118
118
|
"worker-plugin": "^5.0.1"
|
package/register.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
// eslint-disable-next-line import/no-internal-modules
|
|
1
|
+
// eslint-disable-next-line import-x/no-internal-modules
|
|
2
2
|
export * from './dist/master/register'
|
package/src/index.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-require-imports */
|
|
2
|
-
/* eslint-disable import/no-internal-modules */
|
|
2
|
+
/* eslint-disable import-x/no-internal-modules */
|
|
3
3
|
/* eslint-disable unicorn/no-process-exit */
|
|
4
4
|
/* eslint-disable unicorn/prefer-logical-operator-over-ternary */
|
|
5
5
|
/* eslint-disable unicorn/prefer-regexp-test */
|
package/src/master/index.ts
CHANGED
package/src/master/pool.ts
CHANGED
package/src/master/spawn.ts
CHANGED
package/src/master/thread.ts
CHANGED
package/src/serializers.ts
CHANGED
package/src/worker/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* eslint-disable import/no-internal-modules */
|
|
1
|
+
/* eslint-disable import-x/no-internal-modules */
|
|
2
2
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
3
3
|
/* eslint-disable @typescript-eslint/no-floating-promises */
|
|
4
4
|
import isSomeObservable from 'is-observable-2-1-0'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './serialization.js'
|
package/test/observable.test.ts
CHANGED
package/test/pool.test.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/* eslint-disable import/no-internal-modules */
|
|
1
|
+
/* eslint-disable import-x/no-internal-modules */
|
|
2
2
|
|
|
3
3
|
/* eslint-disable require-await */
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
5
5
|
|
|
6
|
-
// eslint-disable import/no-internal-modules
|
|
6
|
+
// eslint-disable import-x/no-internal-modules
|
|
7
7
|
import test from 'ava'
|
|
8
8
|
|
|
9
9
|
import { Pool, spawn, Worker } from '../src/index'
|
package/test/spawn.test.ts
CHANGED
package/test/workers/minmax.ts
CHANGED
package/worker.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* eslint-disable import/no-internal-modules */
|
|
1
|
+
/* eslint-disable import-x/no-internal-modules */
|
|
2
2
|
export * from './dist/worker/index'
|