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 --- tests/integration/node_unit_tests.rs | 4 +++- tests/integration/run_tests.rs | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'tests/integration') diff --git a/tests/integration/node_unit_tests.rs b/tests/integration/node_unit_tests.rs index dfe15a11c..3bec6bb7d 100644 --- a/tests/integration/node_unit_tests.rs +++ b/tests/integration/node_unit_tests.rs @@ -111,7 +111,9 @@ fn node_unit_test(test: String) { .arg("--config") .arg(deno_config_path()) .arg("--no-lock") - .arg("--unstable") + .arg("--unstable-broadcast-channel") + .arg("--unstable-http") + .arg("--unstable-net") // TODO(kt3k): This option is required to pass tls_test.ts, // but this shouldn't be necessary. tls.connect currently doesn't // pass hostname option correctly and it causes cert errors. diff --git a/tests/integration/run_tests.rs b/tests/integration/run_tests.rs index ef688517f..a75ca4c15 100644 --- a/tests/integration/run_tests.rs +++ b/tests/integration/run_tests.rs @@ -4338,7 +4338,7 @@ async fn websocketstream_ping() { let child = util::deno_cmd() .arg("test") - .arg("--unstable") + .arg("--unstable-net") .arg("--allow-net") .arg("--cert") .arg(root_ca) -- cgit v1.2.3