From 7f971b3fd95074cd8565af387923f3adee1f5ada Mon Sep 17 00:00:00 2001 From: Richard Lau Date: Thu, 2 Apr 2020 16:22:08 -0400 Subject: [PATCH] doc: return type of `crypto.getFips()` may change MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Document that the return type of `crypto.getFips()` may change in a future semver-major release from a `number` to a `boolean`. PR-URL: https://github.com/nodejs/node/pull/32580 Reviewed-By: Colin Ihrig Reviewed-By: James M Snell Reviewed-By: Luigi Pinca Reviewed-By: Anna Henningsen Reviewed-By: Tobias Nießen Signed-off-by: Richard Lau --- doc/api/crypto.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 3f783fbeadd305..63227bd31c70b0 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -2309,7 +2309,8 @@ added: v10.0.0 --> * Returns: {number} `1` if and only if a FIPS compliant crypto provider is - currently in use, `0` otherwise. + currently in use, `0` otherwise. A future semver-major release may change + the return type of this API to a {boolean}. ### `crypto.getHashes()`