Closed jcayzac closed 10 months ago
The problem is here: https://github.com/denoland/deno/blob/0f990d9d927a0b25bc0eac32f2e7eee7c0460693/runtime/js/99_main.js#L497-L499
BroadcastChannel
and WebSocketStream
are only made available in the global scope if --unstable
flag is passed, but ignored for granular flags.
Version: Deno 1.38.3
I added this entry to my
deno.jsonc
:…and stopped passing
--unstable
to the CLI, but now I'm getting errors:The schema only has:
The feature name
broadcast-channel
is correct according to the crate's source code, and from what I understand of thefeature_checker
code it should work.Moreover, passing
--unstable-broadcast-channel
on the command line results in the exact same error.Granular unstable feature flags appear ignored, either on the command line or in the configuration file.