@parcel/workers 2.0.0-nightly.1441 → 2.0.0-nightly.1443
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/Worker.js +1 -1
- package/package.json +8 -8
- package/src/Worker.js +4 -1
package/lib/Worker.js
CHANGED
@@ -44,7 +44,7 @@ class Worker extends _events().default {
|
|
44
44
|
async fork(forkModule) {
|
45
45
|
let filteredArgs = [];
|
46
46
|
if (process.execArgv) {
|
47
|
-
filteredArgs = process.execArgv.filter(v => !/^--(debug|inspect|no-opt|max-old-space-size
|
47
|
+
filteredArgs = process.execArgv.filter(v => !/^--(debug|inspect|no-opt|max-old-space-size=|max-semi-space-size=|expose-gc)/.test(v));
|
48
48
|
for (let i = 0; i < filteredArgs.length; i++) {
|
49
49
|
let arg = filteredArgs[i];
|
50
50
|
let isArgWithParam = (arg === '-r' || arg === '--require') && filteredArgs[i + 1] === '@parcel/register' || arg === '--title';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@parcel/workers",
|
3
|
-
"version": "2.0.0-nightly.
|
3
|
+
"version": "2.0.0-nightly.1443+bf9cd7547",
|
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.0.0-nightly.
|
25
|
-
"@parcel/logger": "2.0.0-nightly.
|
26
|
-
"@parcel/profiler": "2.10.4-nightly.
|
27
|
-
"@parcel/types": "2.0.0-nightly.
|
28
|
-
"@parcel/utils": "2.0.0-nightly.
|
24
|
+
"@parcel/diagnostic": "2.0.0-nightly.1443+bf9cd7547",
|
25
|
+
"@parcel/logger": "2.0.0-nightly.1443+bf9cd7547",
|
26
|
+
"@parcel/profiler": "2.10.4-nightly.3066+bf9cd7547",
|
27
|
+
"@parcel/types": "2.0.0-nightly.1443+bf9cd7547",
|
28
|
+
"@parcel/utils": "2.0.0-nightly.1443+bf9cd7547",
|
29
29
|
"nullthrows": "^1.1.1"
|
30
30
|
},
|
31
31
|
"peerDependencies": {
|
32
|
-
"@parcel/core": "2.0.0-nightly.
|
32
|
+
"@parcel/core": "2.0.0-nightly.1441+bf9cd7547"
|
33
33
|
},
|
34
34
|
"browser": {
|
35
35
|
"./src/process/ProcessWorker.js": false,
|
36
36
|
"./src/threads/ThreadsWorker.js": false,
|
37
37
|
"./src/core-worker.js": "./src/core-worker.browser.js"
|
38
38
|
},
|
39
|
-
"gitHead": "
|
39
|
+
"gitHead": "bf9cd75476486852c9e87573625c12b688f22051"
|
40
40
|
}
|
package/src/Worker.js
CHANGED
@@ -51,7 +51,10 @@ export default class Worker extends EventEmitter {
|
|
51
51
|
let filteredArgs = [];
|
52
52
|
if (process.execArgv) {
|
53
53
|
filteredArgs = process.execArgv.filter(
|
54
|
-
v =>
|
54
|
+
v =>
|
55
|
+
!/^--(debug|inspect|no-opt|max-old-space-size=|max-semi-space-size=|expose-gc)/.test(
|
56
|
+
v,
|
57
|
+
),
|
55
58
|
);
|
56
59
|
|
57
60
|
for (let i = 0; i < filteredArgs.length; i++) {
|