From c8d68604f2a9e4d29b9687a65ad6aa622129c309 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Wed, 2 Jul 2025 18:24:23 +0200 Subject: [PATCH 1/2] doc: mark stability markers consistent in `globals.md` --- doc/api/globals.md | 161 +-------------------------------------------- 1 file changed, 2 insertions(+), 159 deletions(-) diff --git a/doc/api/globals.md b/doc/api/globals.md index 42547075438400..39dabe2da94149 100644 --- a/doc/api/globals.md +++ b/doc/api/globals.md @@ -4,6 +4,8 @@ +> Stability: 2 - Stable + These objects are available in all modules. The following variables may appear to be global but are not. They exist only in @@ -31,9 +33,6 @@ changes: description: No longer experimental. --> -> Stability: 2 - Stable - - A utility class used to signal cancelation in selected `Promise`-based APIs. The API is based on the Web API [`AbortController`][]. @@ -232,10 +231,6 @@ If `abortSignal.aborted` is `true`, throws `abortSignal.reason`. added: v18.0.0 --> -> Stability: 2 - Stable - - - See {Blob}. ## Class: `Buffer` @@ -244,10 +239,6 @@ See {Blob}. added: v0.1.103 --> -> Stability: 2 - Stable - - - * {Function} Used to handle binary data. See the [buffer section][]. @@ -290,8 +281,6 @@ Global alias for [`buffer.atob()`][]. added: v18.0.0 --> -> Stability: 2 - Stable - See {BroadcastChannel}. ## `btoa(data)` @@ -310,10 +299,6 @@ Global alias for [`buffer.btoa()`][]. added: v0.9.1 --> -> Stability: 2 - Stable - - - [`clearImmediate`][] is described in the [timers][] section. ## `clearInterval(intervalObject)` @@ -322,10 +307,6 @@ added: v0.9.1 added: v0.0.1 --> -> Stability: 2 - Stable - - - [`clearInterval`][] is described in the [timers][] section. ## `clearTimeout(timeoutObject)` @@ -334,10 +315,6 @@ added: v0.0.1 added: v0.0.1 --> -> Stability: 2 - Stable - - - [`clearTimeout`][] is described in the [timers][] section. ## `CloseEvent` @@ -346,10 +323,6 @@ added: v0.0.1 added: v23.0.0 --> -> Stability: 2 - Stable - - - The `CloseEvent` class. See [`CloseEvent`][] for more details. A browser-compatible implementation of [`CloseEvent`][]. Disable this API @@ -375,10 +348,6 @@ A browser-compatible implementation of [`CompressionStream`][]. added: v0.1.100 --> -> Stability: 2 - Stable - - - * {Object} Used to print to stdout and stderr. See the [`console`][] section. @@ -412,8 +381,6 @@ changes: description: No longer behind `--experimental-global-webcrypto` CLI flag. --> -> Stability: 2 - Stable - A browser-compatible implementation of {Crypto}. This global is available only if the Node.js binary was compiled with including support for the `node:crypto` module. @@ -433,8 +400,6 @@ changes: description: No longer behind `--experimental-global-webcrypto` CLI flag. --> -> Stability: 2 - Stable - A browser-compatible implementation of the [Web Crypto API][]. ## `CryptoKey` @@ -452,8 +417,6 @@ changes: description: No longer behind `--experimental-global-webcrypto` CLI flag. --> -> Stability: 2 - Stable - A browser-compatible implementation of {CryptoKey}. This global is available only if the Node.js binary was compiled with including support for the `node:crypto` module. @@ -478,10 +441,6 @@ changes: description: No longer behind `--experimental-global-customevent` CLI flag. --> -> Stability: 2 - Stable - - - A browser-compatible implementation of the [`CustomEvent` Web API][]. ## Class: `DecompressionStream` @@ -508,10 +467,6 @@ changes: description: No longer experimental. --> -> Stability: 2 - Stable - - - A browser-compatible implementation of the `Event` class. See [`EventTarget` and `Event` API][] for more details. @@ -538,10 +493,6 @@ changes: description: No longer experimental. --> -> Stability: 2 - Stable - - - A browser-compatible implementation of the `EventTarget` class. See [`EventTarget` and `Event` API][] for more details. @@ -565,8 +516,6 @@ changes: description: No longer behind `--experimental-fetch` CLI flag. --> -> Stability: 2 - Stable - A browser-compatible implementation of the [`fetch()`][] function. ```mjs @@ -615,10 +564,6 @@ The following globals are available to use with `fetch`: added: v20.0.0 --> -> Stability: 2 - Stable - - - See {File}. ## Class: `FormData` @@ -637,8 +582,6 @@ changes: description: No longer behind `--experimental-fetch` CLI flag. --> -> Stability: 2 - Stable - A browser-compatible implementation of {FormData}. ## `global` @@ -647,8 +590,6 @@ A browser-compatible implementation of {FormData}. added: v0.1.27 --> - - > Stability: 3 - Legacy. Use [`globalThis`][] instead. * {Object} The global namespace object. @@ -676,8 +617,6 @@ changes: description: No longer behind `--experimental-fetch` CLI flag. --> -> Stability: 2 - Stable - A browser-compatible implementation of {Headers}. ## `localStorage` @@ -702,10 +641,6 @@ of a server, it is shared across all users and requests. added: v15.0.0 --> -> Stability: 2 - Stable - - - The `MessageChannel` class. See [`MessageChannel`][] for more details. ## `MessageEvent` @@ -714,10 +649,6 @@ The `MessageChannel` class. See [`MessageChannel`][] for more details. added: v15.0.0 --> -> Stability: 2 - Stable - - - The `MessageEvent` class. See [`MessageEvent`][] for more details. ## `MessagePort` @@ -726,10 +657,6 @@ The `MessageEvent` class. See [`MessageEvent`][] for more details. added: v15.0.0 --> -> Stability: 2 - Stable - - - The `MessagePort` class. See [`MessagePort`][] for more details. ## `module` @@ -850,10 +777,6 @@ console.log(`The user-agent is ${navigator.userAgent}`); // Prints "Node.js/21" added: v19.0.0 --> -> Stability: 2 - Stable - - - The `PerformanceEntry` class. See [`PerformanceEntry`][] for more details. ## `PerformanceMark` @@ -862,10 +785,6 @@ The `PerformanceEntry` class. See [`PerformanceEntry`][] for more details. added: v19.0.0 --> -> Stability: 2 - Stable - - - The `PerformanceMark` class. See [`PerformanceMark`][] for more details. ## `PerformanceMeasure` @@ -874,10 +793,6 @@ The `PerformanceMark` class. See [`PerformanceMark`][] for more details. added: v19.0.0 --> -> Stability: 2 - Stable - - - The `PerformanceMeasure` class. See [`PerformanceMeasure`][] for more details. ## `PerformanceObserver` @@ -886,10 +801,6 @@ The `PerformanceMeasure` class. See [`PerformanceMeasure`][] for more details. added: v19.0.0 --> -> Stability: 2 - Stable - - - The `PerformanceObserver` class. See [`PerformanceObserver`][] for more details. ## `PerformanceObserverEntryList` @@ -898,10 +809,6 @@ The `PerformanceObserver` class. See [`PerformanceObserver`][] for more details. added: v19.0.0 --> -> Stability: 2 - Stable - - - The `PerformanceObserverEntryList` class. See [`PerformanceObserverEntryList`][] for more details. @@ -911,10 +818,6 @@ The `PerformanceObserverEntryList` class. See added: v19.0.0 --> -> Stability: 2 - Stable - - - The `PerformanceResourceTiming` class. See [`PerformanceResourceTiming`][] for more details. @@ -924,8 +827,6 @@ more details. added: v16.0.0 --> -> Stability: 2 - Stable - The [`perf_hooks.performance`][] object. ## `process` @@ -934,10 +835,6 @@ The [`perf_hooks.performance`][] object. added: v0.1.7 --> -> Stability: 2 - Stable - - - * {Object} The process object. See the [`process` object][] section. @@ -948,10 +845,6 @@ The process object. See the [`process` object][] section. added: v11.0.0 --> -> Stability: 2 - Stable - - - * `callback` {Function} Function to be queued. The `queueMicrotask()` method queues a microtask to invoke `callback`. If @@ -1088,8 +981,6 @@ changes: description: No longer behind `--experimental-fetch` CLI flag. --> -> Stability: 2 - Stable - A browser-compatible implementation of {Response}. ## `Request` @@ -1108,8 +999,6 @@ changes: description: No longer behind `--experimental-fetch` CLI flag. --> -> Stability: 2 - Stable - A browser-compatible implementation of {Request}. ## `sessionStorage` @@ -1130,10 +1019,6 @@ the currently running process, and is not shared between workers. added: v0.9.1 --> -> Stability: 2 - Stable - - - [`setImmediate`][] is described in the [timers][] section. ## `setInterval(callback, delay[, ...args])` @@ -1142,10 +1027,6 @@ added: v0.9.1 added: v0.0.1 --> -> Stability: 2 - Stable - - - [`setInterval`][] is described in the [timers][] section. ## `setTimeout(callback, delay[, ...args])` @@ -1154,10 +1035,6 @@ added: v0.0.1 added: v0.0.1 --> -> Stability: 2 - Stable - - - [`setTimeout`][] is described in the [timers][] section. ## Class: `Storage` @@ -1177,10 +1054,6 @@ A browser-compatible implementation of [`Storage`][]. Enable this API with the added: v17.0.0 --> -> Stability: 2 - Stable - - - The WHATWG [`structuredClone`][] method. ## `SubtleCrypto` @@ -1195,8 +1068,6 @@ changes: description: No longer behind `--experimental-global-webcrypto` CLI flag. --> -> Stability: 2 - Stable - A browser-compatible implementation of {SubtleCrypto}. This global is available only if the Node.js binary was compiled with including support for the `node:crypto` module. @@ -1207,10 +1078,6 @@ only if the Node.js binary was compiled with including support for the added: v17.0.0 --> -> Stability: 2 - Stable - - - The WHATWG `DOMException` class. See [`DOMException`][] for more details. ## `TextDecoder` @@ -1219,10 +1086,6 @@ The WHATWG `DOMException` class. See [`DOMException`][] for more details. added: v11.0.0 --> -> Stability: 2 - Stable - - - The WHATWG `TextDecoder` class. See the [`TextDecoder`][] section. ## Class: `TextDecoderStream` @@ -1245,10 +1108,6 @@ A browser-compatible implementation of [`TextDecoderStream`][]. added: v11.0.0 --> -> Stability: 2 - Stable - - - The WHATWG `TextEncoder` class. See the [`TextEncoder`][] section. ## Class: `TextEncoderStream` @@ -1299,10 +1158,6 @@ A browser-compatible implementation of [`TransformStreamDefaultController`][]. added: v10.0.0 --> -> Stability: 2 - Stable - - - The WHATWG `URL` class. See the [`URL`][] section. ## `URLPattern` @@ -1313,8 +1168,6 @@ added: v24.0.0 > Stability: 1 - Experimental - - The WHATWG `URLPattern` class. See the [`URLPattern`][] section. ## `URLSearchParams` @@ -1323,10 +1176,6 @@ The WHATWG `URLPattern` class. See the [`URLPattern`][] section. added: v10.0.0 --> -> Stability: 2 - Stable - - - The WHATWG `URLSearchParams` class. See the [`URLSearchParams`][] section. ## `WebAssembly` @@ -1335,10 +1184,6 @@ The WHATWG `URLSearchParams` class. See the [`URLSearchParams`][] section. added: v8.0.0 --> -> Stability: 2 - Stable - - - * {Object} The object that acts as the namespace for all W3C @@ -1360,8 +1205,6 @@ changes: description: No longer behind `--experimental-websocket` CLI flag. --> -> Stability: 2 - Stable - A browser-compatible implementation of [`WebSocket`][]. Disable this API with the [`--no-experimental-websocket`][] CLI flag. From 2f342d050a478ebe2ccb39366f87e5b5e40a7618 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Sun, 6 Jul 2025 11:03:07 +0200 Subject: [PATCH 2/2] Update doc/api/globals.md Co-authored-by: Luigi Pinca --- doc/api/globals.md | 1 - 1 file changed, 1 deletion(-) diff --git a/doc/api/globals.md b/doc/api/globals.md index 39dabe2da94149..021a7a7e8df3d4 100644 --- a/doc/api/globals.md +++ b/doc/api/globals.md @@ -33,7 +33,6 @@ changes: description: No longer experimental. --> - A utility class used to signal cancelation in selected `Promise`-based APIs. The API is based on the Web API [`AbortController`][].