Skip to content

Commit 1b8db9b

Browse files
committed
doc: add --no-experimental-webstorage docs
1 parent 3798b54 commit 1b8db9b

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

doc/api/cli.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1201,14 +1201,6 @@ added: v12.3.0
12011201

12021202
Enable experimental WebAssembly module support.
12031203

1204-
### `--experimental-webstorage`
1205-
1206-
<!-- YAML
1207-
added: v22.4.0
1208-
-->
1209-
1210-
Enable experimental [`Web Storage`][] support.
1211-
12121204
### `--experimental-worker-inspection`
12131205

12141206
<!-- YAML
@@ -1646,8 +1638,8 @@ added: v22.4.0
16461638

16471639
The file used to store `localStorage` data. If the file does not exist, it is
16481640
created the first time `localStorage` is accessed. The same file may be shared
1649-
between multiple Node.js processes concurrently. This flag is a no-op unless
1650-
Node.js is started with the `--experimental-webstorage` flag.
1641+
between multiple Node.js processes concurrently. This flag is a no-op if
1642+
Node.js is started with the `--no-experimental-webstorage` flag.
16511643

16521644
### `--max-http-header-size=size`
16531645

@@ -1805,6 +1797,14 @@ added: v22.0.0
18051797

18061798
Disable exposition of [`WebSocket`][] on the global scope.
18071799

1800+
### `--no-experimental-webstorage`
1801+
1802+
<!-- YAML
1803+
added: v22.4.0
1804+
-->
1805+
1806+
Disable experimental [`Web Storage`][] support.
1807+
18081808
### `--no-extra-info-on-fatal-exception`
18091809

18101810
<!-- YAML
@@ -3324,7 +3324,6 @@ one is included in the list below.
33243324
* `--experimental-vm-modules`
33253325
* `--experimental-wasi-unstable-preview1`
33263326
* `--experimental-wasm-modules`
3327-
* `--experimental-webstorage`
33283327
* `--force-context-aware`
33293328
* `--force-fips`
33303329
* `--force-node-api-uncaught-exceptions-policy`
@@ -3357,6 +3356,7 @@ one is included in the list below.
33573356
* `--no-experimental-sqlite`
33583357
* `--no-experimental-strip-types`
33593358
* `--no-experimental-websocket`
3359+
* `--no-experimental-webstorage`
33603360
* `--no-extra-info-on-fatal-exception`
33613361
* `--no-force-async-hooks-checks`
33623362
* `--no-global-search-paths`

doc/api/globals.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ A browser-compatible implementation of [`localStorage`][]. Data is stored
692692
unencrypted in the file specified by the [`--localstorage-file`][] CLI flag.
693693
The maximum amount of data that can be stored is 10 MB.
694694
Any modification of this data outside of the Web Storage API is not supported.
695-
Enable this API with the [`--experimental-webstorage`][] CLI flag.
695+
Disable this API with the [`--no-experimental-webstorage`][] CLI flag.
696696
`localStorage` data is not stored per user or per request when used in the context
697697
of a server, it is shared across all users and requests.
698698

@@ -1168,8 +1168,8 @@ added: v22.4.0
11681168

11691169
> Stability: 1.0 - Early development.
11701170
1171-
A browser-compatible implementation of [`Storage`][]. Enable this API with the
1172-
[`--experimental-webstorage`][] CLI flag.
1171+
A browser-compatible implementation of [`Storage`][]. Disable this API with the
1172+
[`--no-experimental-webstorage`][] CLI flag.
11731173

11741174
## `structuredClone(value[, options])`
11751175

@@ -1414,7 +1414,7 @@ A browser-compatible implementation of [`WritableStreamDefaultWriter`][].
14141414
[RFC 5646]: https://www.rfc-editor.org/rfc/rfc5646.txt
14151415
[Web Crypto API]: webcrypto.md
14161416
[`--experimental-eventsource`]: cli.md#--experimental-eventsource
1417-
[`--experimental-webstorage`]: cli.md#--experimental-webstorage
1417+
[`--no-experimental-webstorage`]: cli.md#--no-experimental-webstorage
14181418
[`--localstorage-file`]: cli.md#--localstorage-filefile
14191419
[`--no-experimental-global-navigator`]: cli.md#--no-experimental-global-navigator
14201420
[`--no-experimental-websocket`]: cli.md#--no-experimental-websocket

doc/node.1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,8 @@ Enable experimental support for the EventSource Web API.
201201
.It Fl -no-experimental-websocket
202202
Disable experimental support for the WebSocket API.
203203
.
204-
.It Fl -experimental-webstorage
205-
Enable experimental support for the Web Storage API.
204+
.It Fl -no-experimental-webstorage
205+
Disable experimental webstorage.
206206
.
207207
.It Fl -no-experimental-repl-await
208208
Disable top-level await keyword support in REPL.

0 commit comments

Comments
 (0)