chore: bump node to v18.17.1 (main) (#39457)
* chore: bump node in DEPS to v18.17.1
* chore: update patches
* policy: disable process.binding() when enabled
d4570fae35
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
parent
127584dc37
commit
ef5d5f888d
7 changed files with 33 additions and 12 deletions
|
@ -258,13 +258,9 @@ bool IsAllowedOption(base::StringPiece option) {
|
|||
// See https://nodejs.org/api/cli.html#cli_node_options_options
|
||||
void SetNodeOptions(base::Environment* env) {
|
||||
// Options that are unilaterally disallowed
|
||||
static constexpr auto disallowed = base::MakeFixedFlatSet<base::StringPiece>({
|
||||
"--enable-fips",
|
||||
"--force-fips",
|
||||
"--openssl-config",
|
||||
"--use-bundled-ca",
|
||||
"--use-openssl-ca",
|
||||
});
|
||||
static constexpr auto disallowed = base::MakeFixedFlatSet<base::StringPiece>(
|
||||
{"--enable-fips", "--force-fips", "--openssl-config", "--use-bundled-ca",
|
||||
"--use-openssl-ca", "--experimental-policy"});
|
||||
|
||||
static constexpr auto pkg_opts = base::MakeFixedFlatSet<base::StringPiece>({
|
||||
"--http-parser",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue