@@ -600,7 +600,8 @@ This variable may appear to be global but is not. See [`module`][].
600600added: v21.0.0
601601-->
602602
603- > Stability: 1.1 - Active development
603+ > Stability: 1.1 - Active development. Disable this API with the
604+ > [`--no-experimental-global-navigator`][] CLI flag.
604605
605606A partial implementation of the [Navigator API][].
606607
@@ -610,18 +611,11 @@ A partial implementation of the [Navigator API][].
610611added: v21.0.0
611612-->
612613
613- > Stability: 1.1 - Active development
614+ > Stability: 1.1 - Active development. Disable this API with the
615+ > [`--no-experimental-global-navigator`][] CLI flag.
614616
615617A partial implementation of [`window.navigator`][].
616618
617- If your app or a dependency uses a check for `navigator` to determine whether it
618- is running in a browser, the following can be used to delete the `navigator`
619- global before app code runs:
620-
621- ```bash
622- node --import 'data:text/javascript,delete globalThis.navigator' app.js
623- ```
624-
625619### `navigator.hardwareConcurrency`
626620
627621<!-- YAML
@@ -1145,6 +1139,7 @@ A browser-compatible implementation of [`WritableStreamDefaultWriter`][].
11451139[Web Crypto API]: webcrypto.md
11461140[`--experimental-websocket`]: cli.md#--experimental-websocket
11471141[`--no-experimental-global-customevent`]: cli.md#--no-experimental-global-customevent
1142+ [`--no-experimental-global-navigator`]: cli.md#--no-experimental-global-navigator
11481143[`--no-experimental-global-webcrypto`]: cli.md#--no-experimental-global-webcrypto
11491144[`AbortController`]: https://developer.mozilla.org/en-US/docs/Web/API/AbortController
11501145[`ByteLengthQueuingStrategy`]: webstreams.md#class-bytelengthqueuingstrategy
0 commit comments