Skip to content

Commit 7a983f5

Browse files
Trottaddaleax
authored andcommitted
doc: remove "is recommended from crypto legacy API text
The text for the legacy API sends mixed signals. It's legacy, but still supported, so not deprecated, but not recommended. Let's begin to clarify this by removing "not recommended". If we want to not-recommend it, let's doc-deprecate it properly, or at least include an explanation as to why it's not recommended. PR-URL: #34697 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ujjwal Sharma <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
1 parent ac776f4 commit 7a983f5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

doc/api/crypto.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,8 @@ console.log(Certificate.verifySpkac(Buffer.from(spkac)));
106106

107107
### Legacy API
108108

109-
As a still supported legacy interface, it is possible (but not recommended) to
110-
create new instances of the `crypto.Certificate` class as illustrated in the
111-
examples below.
109+
As a still supported legacy interface, it is possible to create new instances of
110+
the `crypto.Certificate` class as illustrated in the examples below.
112111

113112
#### `new crypto.Certificate()`
114113

0 commit comments

Comments
 (0)