diff options
author | cjihrig <cjihrig@gmail.com> | 2019-01-07 12:53:58 -0500 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2019-01-10 09:00:12 -0500 |
commit | 10df21b0714daae8ec9b1507e77bab7ae07e8fa7 (patch) | |
tree | 79cf6a3c47333bf848a8aff16c07588d57316e4c /lib/util.js | |
parent | 2d578ad996de13acbe1227a8565c89dcd95d8bc8 (diff) | |
download | node-new-10df21b0714daae8ec9b1507e77bab7ae07e8fa7.tar.gz |
lib: move DEP0027 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 | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/util.js b/lib/util.js index e0f83efdba..1cb113bad1 100644 --- a/lib/util.js +++ b/lib/util.js @@ -326,12 +326,6 @@ function _extend(target, source) { // Deprecated old stuff. -function puts(...args) { - for (var i = 0, len = args.length; i < len; ++i) { - process.stdout.write(`${args[i]}\n`); - } -} - function debug(x) { process.stderr.write(`DEBUG: ${x}\n`); } @@ -440,8 +434,5 @@ module.exports = exports = { 'DEP0028'), error: deprecate(error, 'util.error is deprecated. Use console.error instead.', - 'DEP0029'), - puts: deprecate(puts, - 'util.puts is deprecated. Use console.log instead.', - 'DEP0027') + 'DEP0029') }; |