Skip to content

Commit 77c5922

Browse files
RafaelGSStargos
authored andcommittedOct 2, 2024
lib: add note about removing node:sys module
PR-URL: #54743 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 4644d05 commit 77c5922

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎lib/sys.js

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
// The sys module was renamed to 'util'. This shim remains to keep old programs
2525
// working. `sys` is deprecated and shouldn't be used.
2626

27+
// Note to maintainers: Although this module has been deprecated for a while
28+
// we do not plan to remove it. See: https://github.com/nodejs/node/pull/35407#issuecomment-700693439
2729
module.exports = require('util');
2830
process.emitWarning('sys is deprecated. Use util instead.',
2931
'DeprecationWarning', 'DEP0025');

0 commit comments

Comments
 (0)
Please sign in to comment.