| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -49,6 +49,8 @@ if (!hasOpenSSL3) { | |||
| 49 | 49 | documented.delete('--openssl-shared-config'); | |
| 50 | 50 | } | |
| 51 | 51 | ||
| 52 | + const isV8Sandboxed = process.config.variables.v8_enable_sandbox; | ||
| 53 | + | ||
| 52 | 54 | // Filter out options that are conditionally present. | |
| 53 | 55 | const conditionalOpts = [ | |
| 54 | 56 | { | |
@@ -74,6 +76,9 @@ const conditionalOpts = [ | |||
| 74 | 76 | }, { | |
| 75 | 77 | include: process.features.inspector, | |
| 76 | 78 | filter: (opt) => opt.startsWith('--inspect') || opt === '--debug-port' | |
| 79 | + }, { | ||
| 80 | + include: !isV8Sandboxed, | ||
| 81 | + filter: (opt) => ['--secure-heap', '--secure-heap-min'].includes(opt) | ||
| 77 | 82 | }, | |
| 78 | 83 | ]; | |
| 79 | 84 | documented.forEach((opt) => { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments