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
diff options
context:
space:
mode:
authorMohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>2022-01-24 19:09:16 +0300
committerJames M Snell <jasnell@gmail.com>2022-02-05 19:36:48 +0300
commit8c4b8b201ada6b76d5306c9c7f352e45087fb4a9 (patch)
tree0f3159d3dd6aad1159292956f1fe1550fb41d06a /doc/api/stream.md
parent217acb9036f39ea6088cee75f70f11602997e15f (diff)
lib: replace validator and error
Refs: https://github.com/nodejs/node/pull/41660 PR-URL: https://github.com/nodejs/node/pull/41678 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api/stream.md')
-rw-r--r--doc/api/stream.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/api/stream.md b/doc/api/stream.md
index 69b73f8a740..265e3a4ce46 100644
--- a/doc/api/stream.md
+++ b/doc/api/stream.md
@@ -2368,6 +2368,11 @@ const cleanup = finished(rs, (err) => {
<!-- YAML
added: v10.0.0
changes:
+ - version: REPLACEME
+ pr-url: https://github.com/nodejs/node/pull/41678
+ description: Passing an invalid callback to the `callback` argument
+ now throws `ERR_INVALID_ARG_TYPE` instead of
+ `ERR_INVALID_CALLBACK`.
- version: v14.0.0
pr-url: https://github.com/nodejs/node/pull/32158
description: The `pipeline(..., cb)` will wait for the `'close'` event