mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
util: runtime deprecation util._extend
PR-URL: https://github.com/nodejs/node/pull/50488 Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
This commit is contained in:
committed by
Node.js GitHub Bot
parent
62fc950e96
commit
22d8062e42
@@ -1282,6 +1282,9 @@ The [`util.log()`][] API is deprecated.
|
||||
|
||||
<!-- YAML
|
||||
changes:
|
||||
- version: REPLACEME
|
||||
pr-url: https://github.com/nodejs/node/pull/50488
|
||||
description: Runtime deprecation.
|
||||
- version: v6.12.0
|
||||
pr-url: https://github.com/nodejs/node/pull/10116
|
||||
description: A deprecation code has been assigned.
|
||||
@@ -1290,7 +1293,7 @@ changes:
|
||||
description: Documentation-only deprecation.
|
||||
-->
|
||||
|
||||
Type: Documentation-only
|
||||
Type: Runtime
|
||||
|
||||
The [`util._extend()`][] API is deprecated.
|
||||
|
||||
|
||||
@@ -375,7 +375,9 @@ function _exceptionWithHostPort(...args) {
|
||||
module.exports = {
|
||||
_errnoException,
|
||||
_exceptionWithHostPort,
|
||||
_extend,
|
||||
_extend: deprecate(_extend,
|
||||
'The `util._extend` API is deprecated. Please use Object.assign() instead.',
|
||||
'DEP0060'),
|
||||
callbackify,
|
||||
debug: debuglog,
|
||||
debuglog,
|
||||
|
||||
Reference in New Issue
Block a user