diff --git a/lib/sys.js b/lib/sys.js index 1292a38e9ce..4606412dabc 100644 --- a/lib/sys.js +++ b/lib/sys.js @@ -24,6 +24,8 @@ // The sys module was renamed to 'util'. This shim remains to keep old programs // working. `sys` is deprecated and shouldn't be used. +// Note to maintainers: Although this module has been deprecated for a while +// we do not plan to remove it. See: https://github.com/nodejs/node/pull/35407#issuecomment-700693439 module.exports = require('util'); process.emitWarning('sys is deprecated. Use util instead.', 'DeprecationWarning', 'DEP0025');