From 83052ff9ad7cd4836883f8f7d77b24fef6b6ee00 Mon Sep 17 00:00:00 2001 From: Dario Piotrowicz Date: Fri, 23 May 2025 23:04:16 +0100 Subject: [PATCH] lib: add `node:` prefix in sys module deprecation warning PR-URL: https://github.com/nodejs/node/pull/58442 Reviewed-By: Yagiz Nizipli Reviewed-By: Darshan Sen --- lib/sys.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sys.js b/lib/sys.js index 4606412dab..02bfaae2e7 100644 --- a/lib/sys.js +++ b/lib/sys.js @@ -27,5 +27,5 @@ // Note to maintainers: Although this module has been deprecated for a while // we do not plan to remove it. See: https://github.com/nodejs/node/pull/35407#issuecomment-700693439 module.exports = require('util'); -process.emitWarning('sys is deprecated. Use util instead.', +process.emitWarning('sys is deprecated. Use `node:util` instead.', 'DeprecationWarning', 'DEP0025');