From 2d578ad996de13acbe1227a8565c89dcd95d8bc8 Mon Sep 17 00:00:00 2001 From: cjihrig Date: Mon, 7 Jan 2019 12:42:17 -0500 Subject: [PATCH] lib: move DEP0026 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 | 10 ---------- lib/util.js | 9 --------- test/fixtures/test-init-index/index.js | 2 +- test/fixtures/test-init-native/fs.js | 2 +- test/parallel/test-util.js | 2 -- 6 files changed, 7 insertions(+), 27 deletions(-) diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 215c4767c40a08..63faf076262915 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -569,6 +569,9 @@ The `sys` module is deprecated. Please use the [`util`][] module instead. ### DEP0026: util.print() -Type: Runtime +Type: End-of-Life -The [`util.print()`][] API is deprecated. Please use [`console.log()`][] -instead. +`util.print()` has been removed. Please use [`console.log()`][] instead. ### DEP0027: util.puts() @@ -2411,7 +2413,6 @@ Setting the TLS ServerName to an IP address is not permitted by [`util.isSymbol()`]: util.html#util_util_issymbol_object [`util.isUndefined()`]: util.html#util_util_isundefined_object [`util.log()`]: util.html#util_util_log_string -[`util.print()`]: util.html#util_util_print_strings [`util.puts()`]: util.html#util_util_puts_strings [`util.types`]: util.html#util_util_types [`util`]: util.html diff --git a/doc/api/util.md b/doc/api/util.md index 3cb2c20ed0fdef..db25a0be057d81 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -2167,16 +2167,6 @@ const util = require('util'); util.log('Timestamped message.'); ``` -### util.print([...strings]) - - -> Stability: 0 - Deprecated: Use [`console.log()`][] instead. - -Deprecated predecessor of `console.log`. - ### util.puts([...strings])