diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index eef4afdd037bc7..7244387e3cbc72 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 e5543d189ca7a6..f028699f5ae1e6 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)