Skip to content

Commit

Permalink
doc: change fetch from experimental to stable
Browse files Browse the repository at this point in the history
This PR implements documentation changes related to nodejs#45287
  • Loading branch information
styfle committed Nov 30, 2022
1 parent 1bbd14e commit bddf8ce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
2 changes: 1 addition & 1 deletion doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ Use the specified file as a security policy.
added: v18.0.0
-->

Disable experimental support for the [Fetch API][].
Disable the [Fetch API][] global.

### `--no-experimental-global-webcrypto`

Expand Down
16 changes: 5 additions & 11 deletions doc/api/globals.md
Original file line number Diff line number Diff line change
Expand Up @@ -469,8 +469,7 @@ changes:
description: No longer behind `--experimental-global-fetch` CLI flag.
-->

> Stability: 1 - Experimental. Disable this API with the [`--no-experimental-fetch`][]
> CLI flag.
> Stability: 2 - Stable
A browser-compatible implementation of the [`fetch()`][] function.

Expand All @@ -486,8 +485,7 @@ changes:
description: No longer behind `--experimental-global-fetch` CLI flag.
-->

> Stability: 1 - Experimental. Disable this API with the [`--no-experimental-fetch`][]
> CLI flag.
> Stability: 2 - Stable
A browser-compatible implementation of {FormData}.

Expand Down Expand Up @@ -518,8 +516,7 @@ changes:
description: No longer behind `--experimental-global-fetch` CLI flag.
-->

> Stability: 1 - Experimental. Disable this API with the [`--no-experimental-fetch`][]
> CLI flag.
> Stability: 2 - Stable
A browser-compatible implementation of {Headers}.

Expand Down Expand Up @@ -755,8 +752,7 @@ changes:
description: No longer behind `--experimental-global-fetch` CLI flag.
-->

> Stability: 1 - Experimental. Disable this API with the [`--no-experimental-fetch`][]
> CLI flag.
> Stability: 2 - Stable
A browser-compatible implementation of {Response}.

Expand All @@ -772,8 +768,7 @@ changes:
description: No longer behind `--experimental-global-fetch` CLI flag.
-->

> Stability: 1 - Experimental. Disable this API with the [`--no-experimental-fetch`][]
> CLI flag.
> Stability: 2 - Stable
A browser-compatible implementation of {Request}.

Expand Down Expand Up @@ -971,7 +966,6 @@ added: v18.0.0
A browser-compatible implementation of [`WritableStreamDefaultWriter`][].

[Web Crypto API]: webcrypto.md
[`--no-experimental-fetch`]: cli.md#--no-experimental-fetch
[`--no-experimental-global-customevent`]: cli.md#--no-experimental-global-customevent
[`--no-experimental-global-webcrypto`]: cli.md#--no-experimental-global-webcrypto
[`AbortController`]: https://developer.mozilla.org/en-US/docs/Web/API/AbortController
Expand Down

0 comments on commit bddf8ce

Please sign in to comment.