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 <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 0659516 commit 21fef34

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/sys.js

Lines changed: 2 additions & 0 deletions
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)