Skip to content

Commit 931abc0

Browse files
targosnodejs-github-bot
authored andcommitted
doc: fix markdown indentation in lists
PR-URL: nodejs#40142 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 4e7fe5a commit 931abc0

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

doc/api/esm.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ CommonJS modules loaded.
615615
* `defaultResolve` {Function} The Node.js default resolver.
616616
* Returns: {Object}
617617
* `format` {string|null|undefined}
618-
`'builtin' | 'commonjs' | 'json' | 'module' | 'wasm'`
618+
`'builtin' | 'commonjs' | 'json' | 'module' | 'wasm'`
619619
* `url` {string} The absolute url to the import target (such as `file://…`)
620620

621621
The `resolve` hook returns the resolved file URL for a given module specifier
@@ -686,7 +686,7 @@ export async function resolve(specifier, context, defaultResolve) {
686686
* `url` {string}
687687
* `context` {Object}
688688
* `format` {string|null|undefined} The format optionally supplied by the
689-
`resolve` hook.
689+
`resolve` hook.
690690
* `defaultLoad` {Function}
691691
* Returns: {Object}
692692
* `format` {string}

doc/api/process.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2596,7 +2596,7 @@ tarball.
25962596
that are no longer supported).
25972597
* `'Dubnium'` for the 10.x LTS line beginning with 10.13.0.
25982598
* `'Erbium'` for the 12.x LTS line beginning with 12.13.0.
2599-
For other LTS Release code names, see [Node.js Changelog Archive](https://github.com/nodejs/node/blob/HEAD/doc/changelogs/CHANGELOG_ARCHIVE.md)
2599+
For other LTS Release code names, see [Node.js Changelog Archive](https://github.com/nodejs/node/blob/HEAD/doc/changelogs/CHANGELOG_ARCHIVE.md)
26002600
26012601
<!-- eslint-skip -->
26022602
```js

doc/api/tls.md

+2
Original file line numberDiff line numberDiff line change
@@ -1493,6 +1493,7 @@ changes:
14931493
or `null` to stop the negotiation process. `psk` must be
14941494
compatible with the selected cipher's digest.
14951495
`identity` must use UTF-8 encoding.
1496+
14961497
When negotiating TLS-PSK (pre-shared keys), this function is called
14971498
with optional identity `hint` provided by the server or `null`
14981499
in case of TLS 1.3 where `hint` was removed.
@@ -1928,6 +1929,7 @@ changes:
19281929
* Returns: {Buffer|TypedArray|DataView} pre-shared key that must either be
19291930
a buffer or `null` to stop the negotiation process. Returned PSK must be
19301931
compatible with the selected cipher's digest.
1932+
19311933
When negotiating TLS-PSK (pre-shared keys), this function is called
19321934
with the identity provided by the client.
19331935
If the return value is `null` the negotiation process will stop and an

doc/api/tty.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,7 @@ Returns:
184184
* `1` for 2,
185185
* `4` for 16,
186186
* `8` for 256,
187-
* `24` for 16,777,216
188-
colors supported.
187+
* `24` for 16,777,216 colors supported.
189188

190189
Use this to determine what colors the terminal supports. Due to the nature of
191190
colors in terminals it is possible to either have false positives or false

doc/api/vm.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,7 @@ added:
798798
* `evaluateCallback` {Function} Called when the module is evaluated.
799799
* `options`
800800
* `identifier` {string} String used in stack traces.
801-
**Default:** `'vm:module(i)'` where `i` is a context-specific ascending
801+
**Default:** `'vm:module(i)'` where `i` is a context-specific ascending
802802
index.
803803
* `context` {Object} The [contextified][] object as returned by the
804804
`vm.createContext()` method, to compile and evaluate this `Module` in.

0 commit comments

Comments
 (0)