Skip to content

Commit 7f971b3

Browse files
richardlautargos
authored andcommitted
doc: return type of crypto.getFips() may change
Document that the return type of `crypto.getFips()` may change in a future semver-major release from a `number` to a `boolean`. PR-URL: #32580 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Signed-off-by: Richard Lau <[email protected]>
1 parent cf4f188 commit 7f971b3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/api/crypto.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -2309,7 +2309,8 @@ added: v10.0.0
23092309
-->
23102310

23112311
* Returns: {number} `1` if and only if a FIPS compliant crypto provider is
2312-
currently in use, `0` otherwise.
2312+
currently in use, `0` otherwise. A future semver-major release may change
2313+
the return type of this API to a {boolean}.
23132314

23142315
### `crypto.getHashes()`
23152316
<!-- YAML

0 commit comments

Comments
 (0)