Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

Commit db7df57

Browse files
cynrontrevnorris
authored andcommitted
doc: correct createSecureContext
Remove incorrect stablity indication of tls.createSecureContext, and format stablity indication of crypto.createCredentials. Fixes: e50749 "doc: document `tls.createSecureContext`" Reviewed-by: Trevor Norris <trev.norris@gmail.com>
1 parent 61dd74b commit db7df57

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

doc/api/crypto.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Example:
5858

5959
## crypto.createCredentials(details)
6060

61-
Stability: 0 - Deprecated. Use [tls.createSecureContext][] instead.
61+
Stability: 0 - Deprecated. Use [tls.createSecureContext][] instead.
6262

6363
Creates a credentials object, with the optional details being a
6464
dictionary with keys:

doc/api/tls.markdown

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -428,8 +428,6 @@ Construct a new TLSSocket object from existing TCP socket.
428428

429429
## tls.createSecureContext(details)
430430

431-
Stability: 0 - Deprecated. Use tls.createSecureContext instead.
432-
433431
Creates a credentials object, with the optional details being a
434432
dictionary with keys:
435433

0 commit comments

Comments
 (0)