diff options
Diffstat (limited to 'doc/api/deprecations.md')
-rw-r--r-- | doc/api/deprecations.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index efa939c5779..12a73f8878c 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -684,6 +684,15 @@ Type: Runtime cause a lot of issues. See https://github.com/nodejs/node/issues/14328 for more details. +<a id="DEP0089"></a> +### DEP0089: require('assert') + +Type: Documentation-only + +Importing assert directly is not recommended as the exposed functions will use +loose equality checks. Use `require('assert').strict` instead. The API is the +same as the legacy assert but it will always use strict equality checks. + <a id="DEP0098"></a> ### DEP0098: AsyncHooks Embedder AsyncResource.emit{Before,After} APIs |