Skip to content

Commit 21fef34

Browse files
RafaelGSSaduh95
authored andcommitted
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 0659516 commit 21fef34

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)