From ba4285c16e8745e83c8f512d42206359068f0d48 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Mon, 10 Feb 2025 19:09:49 +0100 Subject: [PATCH] doc: move stability index after history section for consistency --- doc/api/cli.md | 12 ++++++------ doc/api/inspector.md | 4 ++-- doc/api/url.md | 4 ++-- doc/api/util.md | 10 ++++------ 4 files changed, 14 insertions(+), 16 deletions(-) diff --git a/doc/api/cli.md b/doc/api/cli.md index 4e81c84053dc4f..182ccc5c5b52d7 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -590,14 +590,14 @@ Disable the ability of starting a debugging session by sending a ### `--disable-warning=code-or-type` -> Stability: 1.1 - Active development - +> Stability: 1.1 - Active development + Disable specific process warnings by `code` or `type`. Warnings emitted from [`process.emitWarning()`][emit_warning] may contain a @@ -800,19 +800,17 @@ node --entry-url 'data:text/javascript,console.log("Hello")' ### `--env-file-if-exists=config` -> Stability: 1.1 - Active development - +> Stability: 1.1 - Active development + Behavior is the same as [`--env-file`][], but an error is not thrown if the file does not exist. ### `--env-file=config` -> Stability: 1.1 - Active development - +> Stability: 1.1 - Active development + Loads environment variables from a file relative to the current directory, making them available to applications on `process.env`. The [environment variables which configure Node.js][environment_variables], such as `NODE_OPTIONS`, diff --git a/doc/api/inspector.md b/doc/api/inspector.md index 2892779403d256..a0852134511151 100644 --- a/doc/api/inspector.md +++ b/doc/api/inspector.md @@ -31,12 +31,12 @@ const inspector = require('node:inspector'); ## Promises API -> Stability: 1 - Experimental - +> Stability: 1 - Experimental + ### Class: `inspector.Session` * Extends: {EventEmitter} diff --git a/doc/api/url.md b/doc/api/url.md index 116e5dea1d8c99..e7626157ec448c 100644 --- a/doc/api/url.md +++ b/doc/api/url.md @@ -716,12 +716,12 @@ if `input` is not a valid. ### Class: `URLPattern` -> Stability: 1 - Experimental - +> Stability: 1 - Experimental + The `URLPattern` API provides an interface to match URLs or parts of URLs against a pattern. diff --git a/doc/api/util.md b/doc/api/util.md index ac04a1a55a054e..92c47464a5bdbb 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -366,8 +366,6 @@ util.formatWithOptions({ colors: true }, 'See object %O', { foo: 42 }); ## `util.getCallSites(frameCountOrOptions, [options])` -> Stability: 1.1 - Active development - +> Stability: 1.1 - Active development + * `frameCount` {number} Optional number of frames to capture as call site objects. **Default:** `10`. Allowable range is between 1 and 200. * `options` {Object} Optional @@ -1725,14 +1725,14 @@ $ node negate.js --no-logfile --logfile=test.log --color --no-color ## `util.parseEnv(content)` -> Stability: 1.1 - Active development - +> Stability: 1.1 - Active development + * `content` {string} The raw contents of a `.env` file. @@ -1926,8 +1926,6 @@ console.log(util.stripVTControlCharacters('\u001B[4mvalue\u001B[0m')); ## `util.styleText(format, text[, options])` -> Stability: 2 - Stable. -