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:
authorDanielle Adams <adamzdanielle@gmail.com>2021-08-17 00:03:53 +0300
committerDanielle Adams <adamzdanielle@gmail.com>2021-08-18 04:09:13 +0300
commit7ca38f05a023666274569343f128c5aed81599f3 (patch)
treeb055fda4e8bcc116ed20002a1fe473ae617181d7 /doc/api
parentf41893ee85dcfb8ae8e81b629bc89ad7e9622347 (diff)
2021-08-17, Version 16.7.0 (Current)
Notable changes: * fs: * experimental: add recursive cp method (Benjamin Coe) https://github.com/nodejs/node/pull/39372 PR-URL: https://github.com/nodejs/node/pull/39782
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/buffer.md6
-rw-r--r--doc/api/dns.md2
-rw-r--r--doc/api/errors.md16
-rw-r--r--doc/api/fs.md6
-rw-r--r--doc/api/http.md2
-rw-r--r--doc/api/https.md2
-rw-r--r--doc/api/perf_hooks.md2
-rw-r--r--doc/api/stream.md2
-rw-r--r--doc/api/url.md4
-rw-r--r--doc/api/webcrypto.md2
-rw-r--r--doc/api/webstreams.md28
11 files changed, 36 insertions, 36 deletions
diff --git a/doc/api/buffer.md b/doc/api/buffer.md
index 0e4fefdf8ed..883b173b0fc 100644
--- a/doc/api/buffer.md
+++ b/doc/api/buffer.md
@@ -460,7 +460,7 @@ multiple worker threads.
<!-- YAML
added: v15.7.0
changes:
- - version: REPLACEME
+ - version: v16.7.0
pr-url: https://github.com/nodejs/node/pull/39708
description: Added the standard `endings` option to replace line-endings,
and removed the non-standard `encoding` option.
@@ -517,7 +517,7 @@ data. The original `Blob` is not altered.
### `blob.stream()`
<!-- YAML
-added: REPLACEME
+added: v16.7.0
-->
* Returns: {ReadableStream}
@@ -4962,7 +4962,7 @@ An alias for [`buffer.constants.MAX_STRING_LENGTH`][].
### `buffer.resolveObjectURL(id)`
<!-- YAML
-added: REPLACEME
+added: v16.7.0
-->
> Stability: 1 - Experimental
diff --git a/doc/api/dns.md b/doc/api/dns.md
index 8a91b3f6bd8..fad19e245a5 100644
--- a/doc/api/dns.md
+++ b/doc/api/dns.md
@@ -97,7 +97,7 @@ The following methods from the `dns` module are available:
<!-- YAML
added: v8.3.0
changes:
- - version: REPLACEME
+ - version: v16.7.0
pr-url: https://github.com/nodejs/node/pull/39610
description: The `options` object now accepts a `tries` option.
- version: v12.18.3
diff --git a/doc/api/errors.md b/doc/api/errors.md
index 67dc1781d0b..b786975c5fc 100644
--- a/doc/api/errors.md
+++ b/doc/api/errors.md
@@ -1118,7 +1118,7 @@ to the current platform which is running Node.js is used.
<a id="ERR_FS_CP_DIR_TO_NON_DIR"></a>
### `ERR_FS_CP_DIR_TO_NON_DIR`
<!--
-added: REPLACEME
+added: v16.7.0
-->
An attempt was made to copy a directory to a non-directory (file, symlink,
@@ -1127,7 +1127,7 @@ etc.) using [`fs.cp()`][].
<a id="ERR_FS_CP_EEXIST"></a>
### `ERR_FS_CP_EEXIST`
<!--
-added: REPLACEME
+added: v16.7.0
-->
An attempt was made to copy over a file that already existed with
@@ -1136,7 +1136,7 @@ An attempt was made to copy over a file that already existed with
<a id="ERR_FS_CP_EINVAL"></a>
### `ERR_FS_CP_EINVAL`
<!--
-added: REPLACEME
+added: v16.7.0
-->
When using [`fs.cp()`][], `src` or `dest` pointed to an invalid path.
@@ -1144,7 +1144,7 @@ When using [`fs.cp()`][], `src` or `dest` pointed to an invalid path.
<a id="ERR_FS_CP_FIFO_PIPE"></a>
### `ERR_FS_CP_FIFO_PIPE`
<!--
-added: REPLACEME
+added: v16.7.0
-->
An attempt was made to copy a named pipe with [`fs.cp()`][].
@@ -1152,7 +1152,7 @@ An attempt was made to copy a named pipe with [`fs.cp()`][].
<a id="ERR_FS_CP_NON_DIR_TO_DIR"></a>
### `ERR_FS_CP_NON_DIR_TO_DIR`
<!--
-added: REPLACEME
+added: v16.7.0
-->
An attempt was made to copy a non-directory (file, symlink, etc.) to a directory
@@ -1161,7 +1161,7 @@ using [`fs.cp()`][].
<a id="ERR_FS_CP_SOCKET"></a>
### `ERR_FS_CP_SOCKET`
<!--
-added: REPLACEME
+added: v16.7.0
-->
An attempt was made to copy to a socket with [`fs.cp()`][].
@@ -1169,7 +1169,7 @@ An attempt was made to copy to a socket with [`fs.cp()`][].
<a id="ERR_FS_CP_SYMLINK_TO_SUBDIRECTORY"></a>
### `ERR_FS_CP_SYMLINK_TO_SUBDIRECTORY`
<!--
-added: REPLACEME
+added: v16.7.0
-->
When using [`fs.cp()`][], a symlink in `dest` pointed to a subdirectory
@@ -1178,7 +1178,7 @@ of `src`.
<a id="ERR_FS_CP_UNKNOWN"></a>
### `ERR_FS_CP_UNKNOWN`
<!--
-added: REPLACEME
+added: v16.7.0
-->
An attempt was made to copy to an unknown file type with [`fs.cp()`][].
diff --git a/doc/api/fs.md b/doc/api/fs.md
index fb1e8cdf7f0..cd47b687beb 100644
--- a/doc/api/fs.md
+++ b/doc/api/fs.md
@@ -741,7 +741,7 @@ try {
### `fsPromises.cp(src, dest[, options])`
<!-- YAML
-added: REPLACEME
+added: v16.7.0
-->
> Stability: 1 - Experimental
@@ -1884,7 +1884,7 @@ copyFile('source.txt', 'destination.txt', constants.COPYFILE_EXCL, callback);
### `fs.cp(src, dest[, options], callback)`
<!-- YAML
-added: REPLACEME
+added: v16.7.0
-->
> Stability: 1 - Experimental
@@ -4391,7 +4391,7 @@ copyFileSync('source.txt', 'destination.txt', constants.COPYFILE_EXCL);
### `fs.cpSync(src, dest[, options])`
<!-- YAML
-added: REPLACEME
+added: v16.7.0
-->
> Stability: 1 - Experimental
diff --git a/doc/api/http.md b/doc/api/http.md
index 9c35e5d090a..bc66d6163a3 100644
--- a/doc/api/http.md
+++ b/doc/api/http.md
@@ -2835,7 +2835,7 @@ This can be overridden for servers and client requests by passing the
<!-- YAML
added: v0.3.6
changes:
- - version: REPLACEME
+ - version: v16.7.0
pr-url: https://github.com/nodejs/node/pull/39310
description: When using a `URL` object parsed username and
password will now be properly URI decoded.
diff --git a/doc/api/https.md b/doc/api/https.md
index f74f48c9cb5..ff057d23e5c 100644
--- a/doc/api/https.md
+++ b/doc/api/https.md
@@ -251,7 +251,7 @@ Global instance of [`https.Agent`][] for all HTTPS client requests.
<!-- YAML
added: v0.3.6
changes:
- - version: REPLACEME
+ - version: v16.7.0
pr-url: https://github.com/nodejs/node/pull/39310
description: When using a `URL` object parsed username
and password will now be properly URI decoded.
diff --git a/doc/api/perf_hooks.md b/doc/api/perf_hooks.md
index 750c2bbc692..40d2d34178f 100644
--- a/doc/api/perf_hooks.md
+++ b/doc/api/perf_hooks.md
@@ -585,7 +585,7 @@ Disconnects the `PerformanceObserver` instance from all notifications.
<!-- YAML
added: v8.5.0
changes:
- - version: REPLACEME
+ - version: v16.7.0
pr-url: https://github.com/nodejs/node/pull/39297
description: Updated to conform to Performance Timeline Level 2. The
buffered option has been added back.
diff --git a/doc/api/stream.md b/doc/api/stream.md
index f002b4af8f7..67cda03d69a 100644
--- a/doc/api/stream.md
+++ b/doc/api/stream.md
@@ -1274,7 +1274,7 @@ Returns whether the stream was destroyed or errored before emitting `'end'`.
##### `readable.readableDidRead`
<!-- YAML
-added: REPLACEME
+added: v16.7.0
-->
> Stability: 1 - Experimental
diff --git a/doc/api/url.md b/doc/api/url.md
index d4b212f515d..712e974d511 100644
--- a/doc/api/url.md
+++ b/doc/api/url.md
@@ -610,7 +610,7 @@ console.log(JSON.stringify(myURLs));
#### `URL.createObjectURL(blob)`
<!-- YAML
-added: REPLACEME
+added: v16.7.0
-->
> Stability: 1 - Experimental
@@ -645,7 +645,7 @@ to other workers or the main thread.
#### `URL.revokeObjectURL(id)`
<!-- YAML
-added: REPLACEME
+added: v16.7.0
-->
> Stability: 1 - Experimental
diff --git a/doc/api/webcrypto.md b/doc/api/webcrypto.md
index fb27134a410..38521e1b29c 100644
--- a/doc/api/webcrypto.md
+++ b/doc/api/webcrypto.md
@@ -363,7 +363,7 @@ An error will be thrown if the given `typedArray` is larger than 65,536 bytes.
### `crypto.randomUUID()`
<!-- YAML
-added: REPLACEME
+added: v16.7.0
-->
* Returns: {string}
diff --git a/doc/api/webstreams.md b/doc/api/webstreams.md
index 67675d62975..e3071478f3f 100644
--- a/doc/api/webstreams.md
+++ b/doc/api/webstreams.md
@@ -1221,58 +1221,58 @@ added: v16.6.0
### Class: `CompressionStream`
<!-- YAML
-added: REPLACEME
+added: v16.7.0
-->
#### `new CompressionStream(format)`
<!-- YAML
-added: REPLACEME
+added: v16.7.0
-->
* `format` {string} One of either `'deflate'` or `'gzip'`.
#### `compressionStream.readable`
<!-- YAML
-added: REPLACEME
+added: v16.7.0
-->
* Type: {ReadableStream}
#### `compressionStream.writable`
<!-- YAML
-added: REPLACEME
+added: v16.7.0
-->
* Type: {WritableStream}
### Class: `DecompressionStream`
<!-- YAML
-added: REPLACEME
+added: v16.7.0
-->
#### `new DecompressionStream(format)`
<!-- YAML
-added: REPLACEME
+added: v16.7.0
-->
* `format` {string} One of either `'deflate'` or `'gzip'`.
#### `decompressionStream.readable`
<!-- YAML
-added: REPLACEME
+added: v16.7.0
-->
* Type: {ReadableStream}
#### `deccompressionStream.writable`
<!-- YAML
-added: REPLACEME
+added: v16.7.0
-->
* Type: {WritableStream}
### Utility Consumers
<!-- YAML
-added: REPLACEME
+added: v16.7.0
-->
The utility consumer functions provide common options for consuming
@@ -1300,7 +1300,7 @@ const {
#### `streamConsumers.arrayBuffer(stream)`
<!-- YAML
-added: REPLACEME
+added: v16.7.0
-->
* `stream` {ReadableStream|stream.Readable|AsyncIterator}
@@ -1309,7 +1309,7 @@ added: REPLACEME
#### `streamConsumers.blob(stream)`
<!-- YAML
-added: REPLACEME
+added: v16.7.0
-->
* `stream` {ReadableStream|stream.Readable|AsyncIterator}
@@ -1318,7 +1318,7 @@ added: REPLACEME
#### `streamConsumers.buffer(stream)`
<!-- YAML
-added: REPLACEME
+added: v16.7.0
-->
* `stream` {ReadableStream|stream.Readable|AsyncIterator}
@@ -1327,7 +1327,7 @@ added: REPLACEME
#### `streamConsumers.json(stream)`
<!-- YAML
-added: REPLACEME
+added: v16.7.0
-->
* `stream` {ReadableStream|stream.Readable|AsyncIterator}
@@ -1336,7 +1336,7 @@ added: REPLACEME
#### `streamConsumers.text(stream)`
<!-- YAML
-added: REPLACEME
+added: v16.7.0
-->
* `stream` {ReadableStream|stream.Readable|AsyncIterator}