DEP0089: require('node:assert')


类型: 弃用已撤销

不建议直接导入断言,因为公开的函数使用松散的相等检查。 弃用被撤销是因为不鼓励使用 node:assert 模块,弃用导致开发者困惑。

Type: Deprecation revoked

Importing assert directly was not recommended as the exposed functions use loose equality checks. The deprecation was revoked because use of the node:assert module is not discouraged, and the deprecation caused developer confusion.