Skip to content

Commit 1b050c7

Browse files
committed
doc: add --no-experimental-webstorage docs
1 parent 96bf103 commit 1b050c7

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
@@ -1197,14 +1197,6 @@ added: v12.3.0
11971197

11981198
Enable experimental WebAssembly module support.
11991199

1200-
### `--experimental-webstorage`
1201-
1202-
<!-- YAML
1203-
added: v22.4.0
1204-
-->
1205-
1206-
Enable experimental [`Web Storage`][] support.
1207-
12081200
### `--expose-gc`
12091201

12101202
<!-- YAML
@@ -1622,8 +1614,8 @@ added: v22.4.0
16221614

16231615
The file used to store `localStorage` data. If the file does not exist, it is
16241616
created the first time `localStorage` is accessed. The same file may be shared
1625-
between multiple Node.js processes concurrently. This flag is a no-op unless
1626-
Node.js is started with the `--experimental-webstorage` flag.
1617+
between multiple Node.js processes concurrently. This flag is a no-op if
1618+
Node.js is started with the `--no-experimental-webstorage` flag.
16271619

16281620
### `--max-http-header-size=size`
16291621

@@ -1781,6 +1773,14 @@ added: v22.0.0
17811773

17821774
Disable exposition of [`WebSocket`][] on the global scope.
17831775

1776+
### `--no-experimental-webstorage`
1777+
1778+
<!-- YAML
1779+
added: v22.4.0
1780+
-->
1781+
1782+
Disable experimental [`Web Storage`][] support.
1783+
17841784
### `--no-extra-info-on-fatal-exception`
17851785

17861786
<!-- YAML
@@ -3281,7 +3281,6 @@ one is included in the list below.
32813281
* `--experimental-vm-modules`
32823282
* `--experimental-wasi-unstable-preview1`
32833283
* `--experimental-wasm-modules`
3284-
* `--experimental-webstorage`
32853284
* `--force-context-aware`
32863285
* `--force-fips`
32873286
* `--force-node-api-uncaught-exceptions-policy`
@@ -3314,6 +3313,7 @@ one is included in the list below.
33143313
* `--no-experimental-sqlite`
33153314
* `--no-experimental-strip-types`
33163315
* `--no-experimental-websocket`
3316+
* `--no-experimental-webstorage`
33173317
* `--no-extra-info-on-fatal-exception`
33183318
* `--no-force-async-hooks-checks`
33193319
* `--no-global-search-paths`

doc/api/globals.md

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

@@ -1148,8 +1148,8 @@ added: v22.4.0
11481148

11491149
> Stability: 1.0 - Early development.
11501150
1151-
A browser-compatible implementation of [`Storage`][]. Enable this API with the
1152-
[`--experimental-webstorage`][] CLI flag.
1151+
A browser-compatible implementation of [`Storage`][]. Disable this API with the
1152+
[`--no-experimental-webstorage`][] CLI flag.
11531153

11541154
## `structuredClone(value[, options])`
11551155

@@ -1380,7 +1380,7 @@ A browser-compatible implementation of [`WritableStreamDefaultWriter`][].
13801380
[RFC 5646]: https://www.rfc-editor.org/rfc/rfc5646.txt
13811381
[Web Crypto API]: webcrypto.md
13821382
[`--experimental-eventsource`]: cli.md#--experimental-eventsource
1383-
[`--experimental-webstorage`]: cli.md#--experimental-webstorage
1383+
[`--no-experimental-webstorage`]: cli.md#--no-experimental-webstorage
13841384
[`--localstorage-file`]: cli.md#--localstorage-filefile
13851385
[`--no-experimental-global-navigator`]: cli.md#--no-experimental-global-navigator
13861386
[`--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)