From bf3bc4ec2fc532216215aa068208c70a192f32a8 Mon Sep 17 00:00:00 2001 From: Rafael Gonzaga Date: Fri, 3 Jan 2025 11:07:56 -0300 Subject: [PATCH] src: drop --experimental-permission in favour of --permission Refs: https://github.com/nodejs/node/pull/56201 PR-URL: https://github.com/nodejs/node/pull/56240 Reviewed-By: James M Snell Reviewed-By: Yagiz Nizipli Reviewed-By: Marco Ippolito Reviewed-By: Luigi Pinca --- doc/api/cli.md | 1 - src/node_options.cc | 1 - 2 files changed, 2 deletions(-) diff --git a/doc/api/cli.md b/doc/api/cli.md index 87eda0deb66..eb8ee7020cb 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -3088,7 +3088,6 @@ one is included in the list below. * `--experimental-json-modules` * `--experimental-loader` * `--experimental-modules` -* `--experimental-permission` * `--experimental-print-required-tla` * `--experimental-require-module` * `--experimental-shadow-realm` diff --git a/src/node_options.cc b/src/node_options.cc index 0f5b55cbc64..eb04af9dabb 100644 --- a/src/node_options.cc +++ b/src/node_options.cc @@ -470,7 +470,6 @@ EnvironmentOptionsParser::EnvironmentOptionsParser() { &EnvironmentOptions::permission, kAllowedInEnvvar, false); - AddAlias("--experimental-permission", "--permission"); AddOption("--allow-fs-read", "allow permissions to read the filesystem", &EnvironmentOptions::allow_fs_read,