process.noDeprecation
process.noDeprecation 属性指示是否在当前 Node.js 进程上设置了 --no-deprecation 标志。有关此标志行为的更多信息,请参阅 'warning' 事件 和 emitWarning() 方法 的文档。
¥The process.noDeprecation property indicates whether the --no-deprecation
flag is set on the current Node.js process. See the documentation for
the 'warning' event and the
emitWarning() method for more information about this
flag's behavior.