From 25189aecb8037f4f6c215e2535333702dd09fd17 Mon Sep 17 00:00:00 2001 From: Mamatha J V Date: Fri, 10 Nov 2017 10:12:58 +0530 Subject: [PATCH] doc: fix a typo in the documentation --- doc/api/deprecations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 8f94f6b248fe82..adfb3305268df0 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -122,7 +122,7 @@ to the `constants` property exposed by the relevant module. For instance, Type: End-of-life Use of the [`crypto.pbkdf2()`][] API without specifying a digest was deprecated -in Node.js 6.0 because the method defaulted to using the non-recommendend +in Node.js 6.0 because the method defaulted to using the non-recommended `'SHA1'` digest. Previously, a deprecation warning was printed. Starting in Node.js 8.0.0, calling `crypto.pbkdf2()` or `crypto.pbkdf2Sync()` with an undefined `digest` will throw a `TypeError`.