From 419cea996fddd9eb9fed86773108a356fe6166c8 Mon Sep 17 00:00:00 2001 From: Daeyeon Jeong Date: Sat, 27 Apr 2024 23:08:55 +0900 Subject: [PATCH] doc: mark CustomEvent in globals as stable Signed-off-by: Daeyeon Jeong --- doc/api/cli.md | 1 - doc/api/globals.md | 7 ++++--- lib/internal/process/pre_execution.js | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/doc/api/cli.md b/doc/api/cli.md index b020bba26523824..94fb6a940373ef1 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -3144,7 +3144,6 @@ node --stack-trace-limit=12 -p -e "Error.stackTraceLimit" # prints 12 [Chrome DevTools Protocol]: https://chromedevtools.github.io/devtools-protocol/ [CommonJS]: modules.md [CommonJS module]: modules.md -[CustomEvent Web API]: https://dom.spec.whatwg.org/#customevent [DEP0025 warning]: deprecations.md#dep0025-requirenodesys [ECMAScript module]: esm.md#modules-ecmascript-modules [ExperimentalWarning: `vm.measureMemory` is an experimental feature]: vm.md#vmmeasurememoryoptions diff --git a/doc/api/globals.md b/doc/api/globals.md index a6b9a8412f2cb60..2fa26bf1c085c46 100644 --- a/doc/api/globals.md +++ b/doc/api/globals.md @@ -422,13 +422,15 @@ added: - v18.7.0 - v16.17.0 changes: + - version: REPLACEME + pr-url: https://github.com/nodejs/node/pull/52723 + description: No longer experimental. - version: v19.0.0 pr-url: https://github.com/nodejs/node/pull/44860 description: No longer behind `--experimental-global-customevent` CLI flag. --> -> Stability: 1 - Experimental. Disable this API with the -> [`--no-experimental-global-customevent`][] CLI flag. +> Stability: 2 - Stable @@ -1150,7 +1152,6 @@ A browser-compatible implementation of [`WritableStreamDefaultWriter`][]. [Navigator API]: https://html.spec.whatwg.org/multipage/system-state.html#the-navigator-object [RFC 5646]: https://www.rfc-editor.org/rfc/rfc5646.txt [Web Crypto API]: webcrypto.md -[`--no-experimental-global-customevent`]: cli.md#--no-experimental-global-customevent [`--no-experimental-global-navigator`]: cli.md#--no-experimental-global-navigator [`--no-experimental-websocket`]: cli.md#--no-experimental-websocket [`AbortController`]: https://developer.mozilla.org/en-US/docs/Web/API/AbortController diff --git a/lib/internal/process/pre_execution.js b/lib/internal/process/pre_execution.js index b9879e4f926e9a1..761d7ca5fdf8a1f 100644 --- a/lib/internal/process/pre_execution.js +++ b/lib/internal/process/pre_execution.js @@ -28,7 +28,6 @@ const { } = require('internal/options'); const { reconnectZeroFillToggle } = require('internal/buffer'); const { - exposeInterface, exposeLazyInterfaces, defineReplaceableLazyAttribute, setupCoverageHooks,