FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

doc: remove "is recommended from crypto legacy API text · nodejs/node@a01011b · GitHub

/ node Public

Commit a01011b

Browse files
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 <jasnell@gmail.com> Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
1 parent 7a13e01 commit a01011b

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎doc/api/crypto.md‎

Lines changed: 2 additions & 3 deletions
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)

Back | FazBrowse Home | New Git URL