@parcel/workers 2.6.2 → 2.7.0
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/lib/child.js +1 -2
- package/package.json +7 -7
- package/src/child.js +0 -1
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(
|
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.
|
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.
|
25
|
-
"@parcel/logger": "2.
|
26
|
-
"@parcel/types": "2.
|
27
|
-
"@parcel/utils": "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.
|
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": "
|
39
|
+
"gitHead": "9e5d05586577e89991ccf90400f2c741dca11aa3"
|
40
40
|
}
|