@parcel/workers 2.3.2 → 2.5.0
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +7 -7
- package/src/child.js +1 -2
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@parcel/workers",
|
3
|
-
"version": "2.
|
3
|
+
"version": "2.5.0",
|
4
4
|
"description": "Blazing fast, zero configuration web application bundler",
|
5
5
|
"license": "MIT",
|
6
6
|
"publishConfig": {
|
@@ -21,20 +21,20 @@
|
|
21
21
|
"node": ">= 12.0.0"
|
22
22
|
},
|
23
23
|
"dependencies": {
|
24
|
-
"@parcel/diagnostic": "2.
|
25
|
-
"@parcel/logger": "2.
|
26
|
-
"@parcel/types": "2.
|
27
|
-
"@parcel/utils": "2.
|
24
|
+
"@parcel/diagnostic": "2.5.0",
|
25
|
+
"@parcel/logger": "2.5.0",
|
26
|
+
"@parcel/types": "2.5.0",
|
27
|
+
"@parcel/utils": "2.5.0",
|
28
28
|
"chrome-trace-event": "^1.0.2",
|
29
29
|
"nullthrows": "^1.1.1"
|
30
30
|
},
|
31
31
|
"peerDependencies": {
|
32
|
-
"@parcel/core": "^2.
|
32
|
+
"@parcel/core": "^2.5.0"
|
33
33
|
},
|
34
34
|
"browser": {
|
35
35
|
"./src/cpuCount.js": false,
|
36
36
|
"./src/process/ProcessWorker.js": false,
|
37
37
|
"./src/threads/ThreadsWorker.js": false
|
38
38
|
},
|
39
|
-
"gitHead": "
|
39
|
+
"gitHead": "5cfb846d742eb86b1232e531be6e0e513551d838"
|
40
40
|
}
|
package/src/child.js
CHANGED
@@ -10,7 +10,7 @@ import type {
|
|
10
10
|
ChildImpl,
|
11
11
|
} from './types';
|
12
12
|
import type {Async, IDisposable} from '@parcel/types';
|
13
|
-
import type {SharedReference
|
13
|
+
import type {SharedReference} from './WorkerFarm';
|
14
14
|
|
15
15
|
import invariant from 'assert';
|
16
16
|
import nullthrows from 'nullthrows';
|
@@ -39,7 +39,6 @@ export class Child {
|
|
39
39
|
loggerDisposable: IDisposable;
|
40
40
|
child: ChildImpl;
|
41
41
|
profiler: ?Profiler;
|
42
|
-
workerApi: WorkerApi;
|
43
42
|
handles: Map<number, Handle> = new Map();
|
44
43
|
sharedReferences: Map<SharedReference, mixed> = new Map();
|
45
44
|
sharedReferencesByValue: Map<mixed, SharedReference> = new Map();
|