2014-11-22 18:59:48 +03:00
|
|
|
'use strict';
|
|
|
|
|
2012-06-28 21:13:28 +04:00
|
|
|
// the sys module was renamed to 'util'.
|
|
|
|
// this shim remains to keep old programs working.
|
2015-01-13 03:41:07 +03:00
|
|
|
// sys is deprecated and shouldn't be used
|
|
|
|
|
2015-05-28 17:01:56 +03:00
|
|
|
module.exports = require('util');
|
2016-08-18 21:51:10 +03:00
|
|
|
process.emitWarning('sys is deprecated. Use util instead.',
|
|
|
|
'DeprecationWarning');
|