Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/diagnostics_channel.md2
-rw-r--r--doc/api/errors.md6
-rw-r--r--doc/api/esm.md6
-rw-r--r--doc/api/v8.md10
4 files changed, 12 insertions, 12 deletions
diff --git a/doc/api/diagnostics_channel.md b/doc/api/diagnostics_channel.md
index 47df6a42994..ff2d93d12f9 100644
--- a/doc/api/diagnostics_channel.md
+++ b/doc/api/diagnostics_channel.md
@@ -265,7 +265,7 @@ added:
- v15.1.0
- v14.17.0
changes:
- - version: REPLACEME
+ - version: v17.1.0
pr-url: https://github.com/nodejs/node/pull/40433
description: Added return value. Added to channels without subscribers.
-->
diff --git a/doc/api/errors.md b/doc/api/errors.md
index d2812b47a38..0ba4aff5b20 100644
--- a/doc/api/errors.md
+++ b/doc/api/errors.md
@@ -1694,7 +1694,7 @@ An attempt was made to construct an object using a non-public constructor.
### `ERR_IMPORT_ASSERTION_TYPE_FAILED`
<!-- YAML
-added: REPLACEME
+added: v17.1.0
-->
An import assertion has failed, preventing the specified module to be imported.
@@ -1704,7 +1704,7 @@ An import assertion has failed, preventing the specified module to be imported.
### `ERR_IMPORT_ASSERTION_TYPE_MISSING`
<!-- YAML
-added: REPLACEME
+added: v17.1.0
-->
An import assertion is missing, preventing the specified module to be imported.
@@ -1714,7 +1714,7 @@ An import assertion is missing, preventing the specified module to be imported.
### `ERR_IMPORT_ASSERTION_TYPE_UNSUPPORTED`
<!-- YAML
-added: REPLACEME
+added: v17.1.0
-->
An import assertion is not supported by this version of Node.js.
diff --git a/doc/api/esm.md b/doc/api/esm.md
index 260f9d3d029..a202a0f7a4d 100644
--- a/doc/api/esm.md
+++ b/doc/api/esm.md
@@ -7,7 +7,7 @@
<!-- YAML
added: v8.5.0
changes:
- - version: REPLACEME
+ - version: v17.1.0
pr-url: https://github.com/nodejs/node/pull/40250
description: Add support for import assertions.
- version:
@@ -226,7 +226,7 @@ import fs from 'node:fs/promises';
## Import assertions
<!-- YAML
-added: REPLACEME
+added: v17.1.0
-->
The [Import Assertions proposal][] adds an inline syntax for module import
@@ -633,7 +633,7 @@ CommonJS modules loaded.
<!-- YAML
changes:
- - version: REPLACEME
+ - version: v17.1.0
pr-url: https://github.com/nodejs/node/pull/40250
description: Add support for import assertions.
-->
diff --git a/doc/api/v8.md b/doc/api/v8.md
index 6671f0e945f..22a3b6e153d 100644
--- a/doc/api/v8.md
+++ b/doc/api/v8.md
@@ -629,7 +629,7 @@ stopHookSet();
### `promiseHooks.onInit(init)`
<!-- YAML
-added: REPLACEME
+added: v17.1.0
-->
* `init` {Function} The [`init` callback][] to call when a promise is created.
@@ -653,7 +653,7 @@ const stop = promiseHooks.onInit((promise, parent) => {});
### `promiseHooks.onSettled(settled)`
<!-- YAML
-added: REPLACEME
+added: v17.1.0
-->
* `settled` {Function} The [`settled` callback][] to call when a promise
@@ -678,7 +678,7 @@ const stop = promiseHooks.onSettled((promise) => {});
### `promiseHooks.onBefore(before)`
<!-- YAML
-added: REPLACEME
+added: v17.1.0
-->
* `before` {Function} The [`before` callback][] to call before a promise
@@ -703,7 +703,7 @@ const stop = promiseHooks.onBefore((promise) => {});
### `promiseHooks.onAfter(after)`
<!-- YAML
-added: REPLACEME
+added: v17.1.0
-->
* `after` {Function} The [`after` callback][] to call after a promise
@@ -728,7 +728,7 @@ const stop = promiseHooks.onAfter((promise) => {});
### `promiseHooks.createHook(callbacks)`
<!-- YAML
-added: REPLACEME
+added: v17.1.0
-->
* `callbacks` {Object} The [Hook Callbacks][] to register