Skip to content

Commit 77c5922

Browse files
RafaelGSStargos
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 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)