@xylabs/threads 3.6.3 → 3.6.5
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/package.json +6 -5
- package/src/master/pool.ts +0 -1
- package/src/worker/implementation.browser.ts +0 -1
- package/src/worker/implementation.tiny-worker.ts +0 -1
- package/src/worker/implementation.ts +0 -1
- package/src/worker/implementation.worker_threads.ts +0 -1
- package/src/worker_threads.ts +0 -1
- package/test-tooling/rollup/rollup.config.ts +0 -1
- package/test-tooling/webpack/app-with-inlined-worker.ts +0 -2
- package/test-tooling/webpack/app.ts +0 -1
- package/worker.d.ts +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xylabs/threads",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.5",
|
|
4
4
|
"description": "Web workers & worker threads as simple as a function call",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -95,23 +95,24 @@
|
|
|
95
95
|
"@types/chai": "^4.3.16",
|
|
96
96
|
"@types/debug": "^4.1.12",
|
|
97
97
|
"@types/execa": "^2.0.0",
|
|
98
|
-
"@types/node": "^20.14.
|
|
98
|
+
"@types/node": "^20.14.12",
|
|
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.
|
|
104
|
+
"mocha": "^10.7.0",
|
|
105
105
|
"puppet-run": "^0.11.4",
|
|
106
106
|
"puppet-run-plugin-mocha": "^0.1.1",
|
|
107
107
|
"raw-loader": "^4.0.2",
|
|
108
108
|
"rimraf": "^5.0.9",
|
|
109
|
-
"rollup": "^4.
|
|
109
|
+
"rollup": "^4.19.0",
|
|
110
110
|
"threads-plugin": "^1.4.0",
|
|
111
111
|
"tiny-worker": "^2.3.0",
|
|
112
112
|
"ts-loader": "^9.5.1",
|
|
113
113
|
"ts-node": "^10.9.2",
|
|
114
|
-
"typescript": "^5.5.
|
|
114
|
+
"typescript": "^5.5.4",
|
|
115
|
+
"undici-types": "^6.19.4",
|
|
115
116
|
"wavy": "^1.0.4",
|
|
116
117
|
"webpack": "^5.93.0",
|
|
117
118
|
"worker-plugin": "^5.0.1"
|
package/src/master/pool.ts
CHANGED
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/member-ordering */
|
|
5
5
|
/* eslint-disable unicorn/no-array-reduce */
|
|
6
6
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
7
|
-
/* eslint-disable import/export */
|
|
8
7
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
9
8
|
/* eslint-disable @typescript-eslint/no-floating-promises */
|
|
10
9
|
import DebugLogger from 'debug'
|
package/src/worker_threads.ts
CHANGED
|
@@ -19,7 +19,6 @@ function selectImplementation(): WorkerThreadsModule {
|
|
|
19
19
|
return typeof __non_webpack_require__ === 'function' ? __non_webpack_require__('worker_threads') : eval('require')('worker_threads')
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
// eslint-disable-next-line import/no-default-export
|
|
23
22
|
export default function getImplementation(): WorkerThreadsModule {
|
|
24
23
|
if (!implementation) {
|
|
25
24
|
implementation = selectImplementation()
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* eslint-disable import/no-unresolved */
|
|
2
1
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
3
2
|
|
|
4
3
|
/// <reference types="./raw-loader" />
|
|
@@ -25,5 +24,4 @@ async function test() {
|
|
|
25
24
|
return 'test succeeded'
|
|
26
25
|
}
|
|
27
26
|
|
|
28
|
-
// eslint-disable-next-line import/no-default-export
|
|
29
27
|
export default test
|
package/worker.d.ts
CHANGED