From 8fd90938f923ef2a04bb3ebb08b89568fe6fd4ee Mon Sep 17 00:00:00 2001 From: Shu-yu Guo Date: Fri, 13 Sep 2024 13:58:10 -0400 Subject: [PATCH] esm: remove --no-import-harmony-assertions It is off by default now. PR-URL: https://github.com/nodejs/node/pull/54890 Reviewed-By: Luigi Pinca Reviewed-By: Yagiz Nizipli Reviewed-By: Antoine du Hamel Reviewed-By: James M Snell --- src/node.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/node.cc b/src/node.cc index 50d1d17942194a..2b15be877dee9c 100644 --- a/src/node.cc +++ b/src/node.cc @@ -753,9 +753,6 @@ static ExitCode ProcessGlobalArgsInternal(std::vector* args, "--no-harmony-import-attributes") == v8_args.end()) { v8_args.emplace_back("--harmony-import-attributes"); } - // TODO(nicolo-ribaudo): remove this once V8 doesn't enable it by default - // anymore. - v8_args.emplace_back("--no-harmony-import-assertions"); auto env_opts = per_process::cli_options->per_isolate->per_env; if (std::find(v8_args.begin(), v8_args.end(),