@parcel/workers 2.0.0-nightly.1442 → 2.0.0-nightly.1445

Sign up to get free protection for your applications and to get access to all the features.
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=)/.test(v));
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.1442+d741b10c6",
3
+ "version": "2.0.0-nightly.1445+d1d24bf2b",
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.1442+d741b10c6",
25
- "@parcel/logger": "2.0.0-nightly.1442+d741b10c6",
26
- "@parcel/profiler": "2.10.4-nightly.3065+d741b10c6",
27
- "@parcel/types": "2.0.0-nightly.1442+d741b10c6",
28
- "@parcel/utils": "2.0.0-nightly.1442+d741b10c6",
24
+ "@parcel/diagnostic": "2.0.0-nightly.1445+d1d24bf2b",
25
+ "@parcel/logger": "2.0.0-nightly.1445+d1d24bf2b",
26
+ "@parcel/profiler": "2.10.4-nightly.3068+d1d24bf2b",
27
+ "@parcel/types": "2.0.0-nightly.1445+d1d24bf2b",
28
+ "@parcel/utils": "2.0.0-nightly.1445+d1d24bf2b",
29
29
  "nullthrows": "^1.1.1"
30
30
  },
31
31
  "peerDependencies": {
32
- "@parcel/core": "2.0.0-nightly.1440+d741b10c6"
32
+ "@parcel/core": "2.0.0-nightly.1443+d1d24bf2b"
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": "d741b10c6172ac52bb17b491689f312d04d4191b"
39
+ "gitHead": "d1d24bf2bda29b23f7351548fa0e3cbf93983acb"
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 => !/^--(debug|inspect|no-opt|max-old-space-size=)/.test(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++) {