From 2abdfc5d7eba620a84a1aea3804beb6de28e19fa Mon Sep 17 00:00:00 2001 From: cjihrig Date: Mon, 29 Jul 2019 04:56:59 -1000 Subject: doc: revoke DEP0089 Using the legacy assert module is not discouraged. Revoke DEP0089 to avoid user confusion. PR-URL: https://github.com/nodejs/node/pull/28892 Fixes: https://github.com/nodejs/node/issues/28780 Reviewed-By: Luigi Pinca Reviewed-By: Rich Trott Reviewed-By: Anto Aravinth Reviewed-By: Benjamin Gruenbaum --- doc/api/deprecations.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index d8d0036730..683237a218 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -1780,6 +1780,9 @@ cause a lot of issues. See . ### DEP0089: require('assert') -Type: Documentation-only +Type: Deprecation revoked -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. +Importing assert directly was not recommended as the exposed functions use +loose equality checks. The deprecation was revoked because use of the `assert` +module is not discouraged, and the deprecation caused end user confusion. ### DEP0090: Invalid GCM authentication tag lengths -- cgit v1.2.3