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 <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

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy