Skip to content

Commit c2791dc

Browse files
vsemozhetbyttargos
authored andcommitted
doc: fix some recent nits
PR-URL: #29670 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 7a6b05a commit c2791dc

File tree

4 files changed

+18
-17
lines changed

4 files changed

+18
-17
lines changed

doc/api/events.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ The `Promise` will resolve with an array of all the arguments emitted to the
709709
given event.
710710

711711
This method is intentionally generic and works with the web platform
712-
[EventTarget](WHATWG-EventTarget) interface, which has no special
712+
[EventTarget][WHATWG-EventTarget] interface, which has no special
713713
`'error'` event semantics and does not listen to the `'error'` event.
714714

715715
```js
@@ -739,7 +739,8 @@ async function run() {
739739

740740
run();
741741
```
742-
[WHATWG-EventTarget](https://dom.spec.whatwg.org/#interface-eventtarget)
742+
743+
[WHATWG-EventTarget]: https://dom.spec.whatwg.org/#interface-eventtarget
743744
[`--trace-warnings`]: cli.html#cli_trace_warnings
744745
[`EventEmitter.defaultMaxListeners`]: #events_eventemitter_defaultmaxlisteners
745746
[`domain`]: domain.html

doc/api/fs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4253,7 +4253,7 @@ then resolves the `Promise` with no arguments upon success.
42534253
This function does not work on AIX versions before 7.1, it will resolve the
42544254
`Promise` with an error using code `UV_ENOSYS`.
42554255

4256-
#### filehandle.write(buffer, offset, length, position)
4256+
#### filehandle.write(buffer[, offset[, length[, position]]])
42574257
<!-- YAML
42584258
added: v10.0.0
42594259
-->

doc/api/process.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2244,7 +2244,7 @@ undefined
22442244
true
22452245
> process.emitWarning('test', 'DeprecationWarning');
22462246
Thrown:
2247-
{ [DeprecationWarning: test] name: 'DeprecationWarning' }
2247+
[DeprecationWarning: test] { name: 'DeprecationWarning' }
22482248
```
22492249

22502250
## process.title

doc/api/tls.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -842,18 +842,6 @@ See
842842
[SSL_CIPHER_get_name](https://www.openssl.org/docs/man1.1.1/man3/SSL_CIPHER_get_name.html)
843843
for more information.
844844

845-
### tlsSocket.getSharedSigalgs()
846-
<!-- YAML
847-
added: v12.11.0
848-
-->
849-
850-
* Returns: {Array} List of signature algorithms shared between the server and
851-
the client in the order of decreasing preference.
852-
853-
See
854-
[SSL_get_shared_sigalgs](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_shared_sigalgs.html)
855-
for more information.
856-
857845
### tlsSocket.getEphemeralKeyInfo()
858846
<!-- YAML
859847
added: v5.0.0
@@ -1049,6 +1037,18 @@ See [Session Resumption][] for more information.
10491037
Note: `getSession()` works only for TLSv1.2 and below. For TLSv1.3, applications
10501038
must use the [`'session'`][] event (it also works for TLSv1.2 and below).
10511039

1040+
### tlsSocket.getSharedSigalgs()
1041+
<!-- YAML
1042+
added: v12.11.0
1043+
-->
1044+
1045+
* Returns: {Array} List of signature algorithms shared between the server and
1046+
the client in the order of decreasing preference.
1047+
1048+
See
1049+
[SSL_get_shared_sigalgs](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_shared_sigalgs.html)
1050+
for more information.
1051+
10521052
### tlsSocket.getTLSTicket()
10531053
<!-- YAML
10541054
added: v0.11.4
@@ -1422,7 +1422,7 @@ changes:
14221422
order as their private keys in `key`. If the intermediate certificates are
14231423
not provided, the peer will not be able to validate the certificate, and the
14241424
handshake will fail.
1425-
* `sigalgs` {string}` Colon-separated list of supported signature algorithms.
1425+
* `sigalgs` {string} Colon-separated list of supported signature algorithms.
14261426
The list can contain digest algorithms (`SHA256`, `MD5` etc.), public key
14271427
algorithms (`RSA-PSS`, `ECDSA` etc.), combination of both (e.g
14281428
'RSA+SHA384') or TLS v1.3 scheme names (e.g. `rsa_pss_pss_sha512`).

0 commit comments

Comments
 (0)