From 064a73f7a08eb12d99fcdf8844e9ce5db62be78b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Mon, 9 Sep 2024 22:44:29 +0100 Subject: BREAKING: Remove `--unstable` flag (#25522) This commit effectively removes the --unstable flag. It's still being parsed, but it only prints a warning that a granular flag should be used instead and doesn't actually enable any unstable feature. Closes https://github.com/denoland/deno/issues/25485 Closes https://github.com/denoland/deno/issues/23237 --- cli/standalone/binary.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/standalone/binary.rs') diff --git a/cli/standalone/binary.rs b/cli/standalone/binary.rs index 27308c901..1e84e1398 100644 --- a/cli/standalone/binary.rs +++ b/cli/standalone/binary.rs @@ -624,7 +624,7 @@ impl<'a> DenoCompileBinaryWriter<'a> { }, node_modules, unstable_config: UnstableConfig { - legacy_flag_enabled: cli_options.legacy_unstable_flag(), + legacy_flag_enabled: false, bare_node_builtins: cli_options.unstable_bare_node_builtins(), sloppy_imports: cli_options.unstable_sloppy_imports(), features: cli_options.unstable_features(), -- cgit v1.2.3