@parcel/workers 2.5.0 → 2.6.2

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.
@@ -54,6 +54,7 @@ class ProcessChild {
54
54
  let processSend = (0, _nullthrows().default)(process.send).bind(process);
55
55
  processSend((0, _core().serialize)(data).toString('base64'), err => {
56
56
  if (err && err instanceof Error) {
57
+ // $FlowFixMe[prop-missing]
57
58
  if (err.code === 'ERR_IPC_CHANNEL_CLOSED') {
58
59
  // IPC connection closed
59
60
  // no need to keep the worker running if it can't send or receive data
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parcel/workers",
3
- "version": "2.5.0",
3
+ "version": "2.6.2",
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.5.0",
25
- "@parcel/logger": "2.5.0",
26
- "@parcel/types": "2.5.0",
27
- "@parcel/utils": "2.5.0",
24
+ "@parcel/diagnostic": "2.6.2",
25
+ "@parcel/logger": "2.6.2",
26
+ "@parcel/types": "2.6.2",
27
+ "@parcel/utils": "2.6.2",
28
28
  "chrome-trace-event": "^1.0.2",
29
29
  "nullthrows": "^1.1.1"
30
30
  },
31
31
  "peerDependencies": {
32
- "@parcel/core": "^2.5.0"
32
+ "@parcel/core": "^2.6.2"
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": "5cfb846d742eb86b1232e531be6e0e513551d838"
39
+ "gitHead": "e10fcfc1e8b71222da90978fb87f1b68e207473e"
40
40
  }
@@ -37,6 +37,7 @@ export default class ProcessChild implements ChildImpl {
37
37
  let processSend = nullthrows(process.send).bind(process);
38
38
  processSend(serialize(data).toString('base64'), err => {
39
39
  if (err && err instanceof Error) {
40
+ // $FlowFixMe[prop-missing]
40
41
  if (err.code === 'ERR_IPC_CHANNEL_CLOSED') {
41
42
  // IPC connection closed
42
43
  // no need to keep the worker running if it can't send or receive data