From 01cf287ed8c47c23e952c7ade21429d727e6d712 Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Thu, 18 Sep 2025 17:00:11 +1000 Subject: [PATCH] docs: update docs for stabilized `BroadcastChannel` --- .../reference/cli/_commands_reference.json | 99 ++----------------- runtime/reference/cli/unstable_flags.md | 6 -- 2 files changed, 9 insertions(+), 96 deletions(-) diff --git a/runtime/reference/cli/_commands_reference.json b/runtime/reference/cli/_commands_reference.json index e7c5a89f9..8133e912e 100644 --- a/runtime/reference/cli/_commands_reference.json +++ b/runtime/reference/cli/_commands_reference.json @@ -35,15 +35,6 @@ "help_heading": "Unstable options", "usage": "--unstable-bare-node-builtins" }, - { - "name": "unstable-broadcast-channel", - "short": null, - "long": "unstable-broadcast-channel", - "required": false, - "help": "Enable unstable `BroadcastChannel` API", - "help_heading": "Unstable options", - "usage": "--unstable-broadcast-channel" - }, { "name": "unstable-bundle", "short": null, @@ -520,15 +511,7 @@ "help_heading": "Unstable options", "usage": "--unstable-bare-node-builtins" }, - { - "name": "unstable-broadcast-channel", - "short": null, - "long": "unstable-broadcast-channel", - "required": false, - "help": "Enable unstable `BroadcastChannel` API", - "help_heading": "Unstable options", - "usage": "--unstable-broadcast-channel" - }, + { "name": "unstable-bundle", "short": null, @@ -1156,15 +1139,7 @@ "help_heading": "Unstable options", "usage": "--unstable-bare-node-builtins" }, - { - "name": "unstable-broadcast-channel", - "short": null, - "long": "unstable-broadcast-channel", - "required": false, - "help": "Enable unstable `BroadcastChannel` API", - "help_heading": "Unstable options", - "usage": "--unstable-broadcast-channel" - }, + { "name": "unstable-bundle", "short": null, @@ -2251,15 +2226,7 @@ "help_heading": "Unstable options", "usage": "--unstable-bare-node-builtins" }, - { - "name": "unstable-broadcast-channel", - "short": null, - "long": "unstable-broadcast-channel", - "required": false, - "help": "Enable unstable `BroadcastChannel` API", - "help_heading": "Unstable options", - "usage": "--unstable-broadcast-channel" - }, + { "name": "unstable-bundle", "short": null, @@ -2672,15 +2639,7 @@ "help_heading": "Unstable options", "usage": "--unstable-bare-node-builtins" }, - { - "name": "unstable-broadcast-channel", - "short": null, - "long": "unstable-broadcast-channel", - "required": false, - "help": "Enable unstable `BroadcastChannel` API", - "help_heading": "Unstable options", - "usage": "--unstable-broadcast-channel" - }, + { "name": "unstable-bundle", "short": null, @@ -3513,15 +3472,7 @@ "help_heading": "Unstable options", "usage": "--unstable-bare-node-builtins" }, - { - "name": "unstable-broadcast-channel", - "short": null, - "long": "unstable-broadcast-channel", - "required": false, - "help": "Enable unstable `BroadcastChannel` API", - "help_heading": "Unstable options", - "usage": "--unstable-broadcast-channel" - }, + { "name": "unstable-bundle", "short": null, @@ -4382,15 +4333,7 @@ "help_heading": "Unstable options", "usage": "--unstable-bare-node-builtins" }, - { - "name": "unstable-broadcast-channel", - "short": null, - "long": "unstable-broadcast-channel", - "required": false, - "help": "Enable unstable `BroadcastChannel` API", - "help_heading": "Unstable options", - "usage": "--unstable-broadcast-channel" - }, + { "name": "unstable-bundle", "short": null, @@ -5506,15 +5449,7 @@ "help_heading": "Unstable options", "usage": "--unstable-bare-node-builtins" }, - { - "name": "unstable-broadcast-channel", - "short": null, - "long": "unstable-broadcast-channel", - "required": false, - "help": "Enable unstable `BroadcastChannel` API", - "help_heading": "Unstable options", - "usage": "--unstable-broadcast-channel" - }, + { "name": "unstable-bundle", "short": null, @@ -5919,15 +5854,7 @@ "help_heading": "Unstable options", "usage": "--unstable-bare-node-builtins" }, - { - "name": "unstable-broadcast-channel", - "short": null, - "long": "unstable-broadcast-channel", - "required": false, - "help": "Enable unstable `BroadcastChannel` API", - "help_heading": "Unstable options", - "usage": "--unstable-broadcast-channel" - }, + { "name": "unstable-bundle", "short": null, @@ -6179,15 +6106,7 @@ "help_heading": "Unstable options", "usage": "--unstable-bare-node-builtins" }, - { - "name": "unstable-broadcast-channel", - "short": null, - "long": "unstable-broadcast-channel", - "required": false, - "help": "Enable unstable `BroadcastChannel` API", - "help_heading": "Unstable options", - "usage": "--unstable-broadcast-channel" - }, + { "name": "unstable-bundle", "short": null, diff --git a/runtime/reference/cli/unstable_flags.md b/runtime/reference/cli/unstable_flags.md index b23a68d5b..6ae5e59a7 100644 --- a/runtime/reference/cli/unstable_flags.md +++ b/runtime/reference/cli/unstable_flags.md @@ -167,12 +167,6 @@ if (adapter) { Check out [this repository](https://github.com/denoland/webgpu-examples) for more examples using WebGPU. -## `--unstable-broadcast-channel` - -Enabling this flag makes the -[`BroadcastChannel`](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel) -web API available for use in the global scope, as in the browser. - ## `--unstable-worker-options` Enable unstable