@parcel/workers 2.6.2 → 2.7.0

Sign up to get free protection for your applications and to get access to all the features.
package/lib/child.js CHANGED
@@ -192,8 +192,7 @@ class Child {
192
192
  try {
193
193
  let v8 = require('v8');
194
194
 
195
- result = responseFromContent( // $FlowFixMe
196
- v8.writeHeapSnapshot('heap-' + args[0] + '-' + (this.childId ? 'worker' + this.childId : 'main') + '.heapsnapshot'));
195
+ result = responseFromContent(v8.writeHeapSnapshot('heap-' + args[0] + '-' + (this.childId ? 'worker' + this.childId : 'main') + '.heapsnapshot'));
197
196
  } catch (e) {
198
197
  result = errorResponseFromError(e);
199
198
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parcel/workers",
3
- "version": "2.6.2",
3
+ "version": "2.7.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.6.2",
25
- "@parcel/logger": "2.6.2",
26
- "@parcel/types": "2.6.2",
27
- "@parcel/utils": "2.6.2",
24
+ "@parcel/diagnostic": "2.7.0",
25
+ "@parcel/logger": "2.7.0",
26
+ "@parcel/types": "2.7.0",
27
+ "@parcel/utils": "2.7.0",
28
28
  "chrome-trace-event": "^1.0.2",
29
29
  "nullthrows": "^1.1.1"
30
30
  },
31
31
  "peerDependencies": {
32
- "@parcel/core": "^2.6.2"
32
+ "@parcel/core": "^2.7.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": "e10fcfc1e8b71222da90978fb87f1b68e207473e"
39
+ "gitHead": "9e5d05586577e89991ccf90400f2c741dca11aa3"
40
40
  }
package/src/child.js CHANGED
@@ -163,7 +163,6 @@ export class Child {
163
163
  try {
164
164
  let v8 = require('v8');
165
165
  result = responseFromContent(
166
- // $FlowFixMe
167
166
  v8.writeHeapSnapshot(
168
167
  'heap-' +
169
168
  args[0] +