diff options
author | cjihrig <cjihrig@gmail.com> | 2019-01-07 14:11:47 -0500 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2019-01-10 09:00:22 -0500 |
commit | 29d3d1ea135c5d5692c3fcd9fb9091efa1db5760 (patch) | |
tree | 658d24a552d774d6ea6ed7c066bd5cbaebd11ce0 /lib/util.js | |
parent | a665d13ad9fe40092be74d32652c1301b1db7550 (diff) | |
download | node-new-29d3d1ea135c5d5692c3fcd9fb9091efa1db5760.tar.gz |
lib: move DEP0029 to end of life
PR-URL: https://github.com/nodejs/node/pull/25377
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'lib/util.js')
-rw-r--r-- | lib/util.js | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/lib/util.js b/lib/util.js index 160904d28a..6333dcc8ba 100644 --- a/lib/util.js +++ b/lib/util.js @@ -324,13 +324,6 @@ function _extend(target, source) { return target; } -// Deprecated old stuff. -function error(...args) { - for (var i = 0, len = args.length; i < len; ++i) { - process.stderr.write(`${args[i]}\n`); - } -} - function callbackifyOnRejected(reason, cb) { // `!reason` guard inspired by bluebird (Ref: https://goo.gl/t5IS6M). // Because `null` is a special error value in callbacks which means "no error @@ -421,10 +414,5 @@ module.exports = exports = { promisify, TextDecoder, TextEncoder, - types, - - // Deprecated Old Stuff - error: deprecate(error, - 'util.error is deprecated. Use console.error instead.', - 'DEP0029') + types }; |