From 29d3d1ea135c5d5692c3fcd9fb9091efa1db5760 Mon Sep 17 00:00:00 2001 From: cjihrig Date: Mon, 7 Jan 2019 14:11:47 -0500 Subject: lib: move DEP0029 to end of life MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/25377 Reviewed-By: James M Snell Reviewed-By: Gus Caplan Reviewed-By: Michaël Zasso Reviewed-By: Matteo Collina Reviewed-By: Anna Henningsen Reviewed-By: Сковорода Никита Андреевич Reviewed-By: Ruben Bridgewater --- doc/api/deprecations.md | 9 +++++---- doc/api/util.md | 12 ------------ 2 files changed, 5 insertions(+), 16 deletions(-) (limited to 'doc/api') diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index eef4afdd03..7244387e3c 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -632,6 +632,9 @@ Type: End-of-Life ### DEP0029: util.error() -Type: Runtime +Type: End-of-Life -The [`util.error()`][] API is deprecated. Please use [`console.error()`][] -instead. +`util.error()` has been removed. Please use [`console.error()`][] instead. ### DEP0030: SlowBuffer @@ -2397,7 +2399,6 @@ Setting the TLS ServerName to an IP address is not permitted by [`url.parse()`]: url.html#url_url_parse_urlstring_parsequerystring_slashesdenotehost [`url.resolve()`]: url.html#url_url_resolve_from_to [`util._extend()`]: util.html#util_util_extend_target_source -[`util.error()`]: util.html#util_util_error_strings [`util.getSystemErrorName()`]: util.html#util_util_getsystemerrorname_err [`util.inspect()`]: util.html#util_util_inspect_object_options [`util.inspect.custom`]: util.html#util_util_inspect_custom diff --git a/doc/api/util.md b/doc/api/util.md index e5543d189c..f028699f5a 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -1714,18 +1714,6 @@ Node.js modules. The community found and used it anyway. It is deprecated and should not be used in new code. JavaScript comes with very similar built-in functionality through [`Object.assign()`]. -### util.error([...strings]) - - -> Stability: 0 - Deprecated: Use [`console.error()`][] instead. - -* `...strings` {string} The message to print to `stderr` - -Deprecated predecessor of `console.error`. - ### util.isArray(object)