2.2. 已弃用的功能
红帽构建的 Node.js 16 中已弃用以下功能。
注意
有关本发行版本中已弃用或删除功能的更多信息,请参阅 nodejs.org 网站。
2.2.1. 对 process.binding ()的访问的运行时弃用
对于多个核心模块,这个版本包括对 process.binding
() 函数的访问的运行时弃用。例如: process.binding ('http_parser')
2.2.2. OpenShift 的旧 Node.js metering 标签
OpenShift 的 Node.js metering 标签(最初在 Node.js 14 LTS 版本中引入)现在被一组较新的 metering 标签替代。
本发行版本中弃用了以下 Node.js metering 标签:
-
com.redhat.component-name: Node.js
-
com.redhat.component-type: application
-
com.redhat.component-version: 16.x.x
-
com.redhat.product-name: "Red_Hat_Runtimes"
-
com.redhat.product-version: 2021-Q4