Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
lib: add node: prefix in sys module deprecation warning
  • Loading branch information
dario-piotrowicz committed May 23, 2025
commit 95e9c1a46a0744fdba362c688f5782ead5ec54e1
2 changes: 1 addition & 1 deletion lib/sys.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');