@parcel/workers 2.3.2 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/package.json +7 -7
  2. 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.2",
3
+ "version": "2.4.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.3.2",
25
- "@parcel/logger": "2.3.2",
26
- "@parcel/types": "2.3.2",
27
- "@parcel/utils": "2.3.2",
24
+ "@parcel/diagnostic": "2.4.0",
25
+ "@parcel/logger": "2.4.0",
26
+ "@parcel/types": "2.4.0",
27
+ "@parcel/utils": "2.4.0",
28
28
  "chrome-trace-event": "^1.0.2",
29
29
  "nullthrows": "^1.1.1"
30
30
  },
31
31
  "peerDependencies": {
32
- "@parcel/core": "^2.3.2"
32
+ "@parcel/core": "^2.4.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": "47379bf8fabeb2cfe03ade8802d942388b153e5b"
39
+ "gitHead": "b1bbfdab2e902d33c0b6ff75bfba2d22283a8de6"
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, WorkerApi} from './WorkerFarm';
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();