Skip to content

Commit a2bac24

Browse files
committed
doc: indenting child list items for remark-lint
Child items not aligned to parent are flagged by list-item-bullet-indent
1 parent 1e01f3f commit a2bac24

File tree

6 files changed

+17
-16
lines changed

6 files changed

+17
-16
lines changed

doc/api/modules.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ By doing this, Node.js achieves a few things:
495495
- It keeps top-level variables (defined with `var`, `const` or `let`) scoped to
496496
the module rather than the global object.
497497
- It helps to provide some global-looking variables that are actually specific
498-
to the module, such as:
498+
to the module, such as:
499499
- The `module` and `exports` objects that the implementor can use to export
500500
values from the module.
501501
- The convenience variables `__filename` and `__dirname`, containing the

doc/api/n-api.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -3974,13 +3974,13 @@ Returns `napi_ok` if the API succeeded.
39743974
N-API offers a way to "wrap" C++ classes and instances so that the class
39753975
constructor and methods can be called from JavaScript.
39763976

3977-
1. The [`napi_define_class`][] API defines a JavaScript class with constructor,
3977+
1. The [`napi_define_class`][] API defines a JavaScript class with constructor,
39783978
static properties and methods, and instance properties and methods that
39793979
correspond to the C++ class.
3980-
2. When JavaScript code invokes the constructor, the constructor callback
3980+
2. When JavaScript code invokes the constructor, the constructor callback
39813981
uses [`napi_wrap`][] to wrap a new C++ instance in a JavaScript object,
39823982
then returns the wrapper object.
3983-
3. When JavaScript code invokes a method or property accessor on the class,
3983+
3. When JavaScript code invokes a method or property accessor on the class,
39843984
the corresponding `napi_callback` C++ function is invoked. For an instance
39853985
callback, [`napi_unwrap`][] obtains the C++ instance that is the target of
39863986
the call.

doc/changelogs/CHANGELOG_ARCHIVE.md

+1
Original file line numberDiff line numberDiff line change
@@ -3438,6 +3438,7 @@ https://github.com/nodejs/node/commit/726865af7bbafe58435986f4a193ff11c84e4bfe
34383438
- Move node.dns into module "dns"
34393439
- Move node.fs into module "posix"
34403440
- process is no longer the global object. GLOBAL is.
3441+
34413442
For more information on the API changes see:
34423443
http://thread.gmane.org/gmane.comp.lang.javascript.nodejs/6
34433444
http://thread.gmane.org/gmane.comp.lang.javascript.nodejs/14

doc/changelogs/CHANGELOG_V5.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ https://github.com/nodejs/node/pull/5655
421421
* **v8**: backport fb4ccae from v8 upstream (Vladimir Krivosheev) #4231
422422
- breakout events from v8 to offer better support for external debuggers
423423
* **zlib**: add support for concatenated members (Kári Tristan Helgason)
424-
https://github.com/nodejs/node/pull/5120
424+
https://github.com/nodejs/node/pull/5120
425425
* Previously, if multiple members were in the same archive, only the first would be read. The others are no longer thrown away.
426426

427427
### Commits

doc/changelogs/CHANGELOG_V7.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,17 @@ for details on patched vulnerabilities.
5757
* **build**:
5858
- Disable V8 snapshots - The hashseed embedded in the snapshot is
5959
currently the same for all runs of the binary. This opens node up to
60-
collision attacks which could result in a Denial of Service. We have
61-
temporarily disabled snapshots until a more robust solution is found
62-
(Ali Ijaz Sheikh)
60+
collision attacks which could result in a Denial of Service. We have
61+
temporarily disabled snapshots until a more robust solution is found
62+
(Ali Ijaz Sheikh)
6363
* **deps**:
6464
- CVE-2017-1000381 - The c-ares function ares_parse_naptr_reply(),
6565
which is used for parsing NAPTR responses, could be triggered to
66-
read memory outside of the given input buffer if the passed in DNS
67-
response packet was crafted in a particular way. This patch checks that
68-
there is enough data for the required elements of an NAPTR record (2
69-
int16, 3 bytes for string lengths) before processing a record. (David
70-
Drysdale)
66+
read memory outside of the given input buffer if the passed in DNS
67+
response packet was crafted in a particular way. This patch checks that
68+
there is enough data for the required elements of an NAPTR record (2
69+
int16, 3 bytes for string lengths) before processing a record. (David
70+
Drysdale)
7171

7272
### Commits
7373

@@ -1552,7 +1552,7 @@ Thank you to @italoacasas for preparing the majority of this release.
15521552
* **buffer**:
15531553
- Reverted the runtime deprecation of calling `Buffer()` without `new`. (Anna Henningsen) [#9529](https://github.com/nodejs/node/pull/9529)
15541554
- Fixed `buffer.transcode()` for single-byte character
1555-
encodings to `UCS2`. (Anna Henningsen) [#9838](https://github.com/nodejs/node/pull/9838)
1555+
encodings to `UCS2`. (Anna Henningsen) [#9838](https://github.com/nodejs/node/pull/9838)
15561556
* **promise**: `--trace-warnings` now produces useful stacktraces for Promise warnings. (Anna Henningsen) [#9525](https://github.com/nodejs/node/pull/9525)
15571557
* **repl**: Fixed a bug preventing correct parsing of generator functions. (Teddy Katz) [#9852](https://github.com/nodejs/node/pull/9852)
15581558
* **V8**: Fixed a significant `instanceof` performance regression. (Franziska Hinkelmann) [#9730](https://github.com/nodejs/node/pull/9730)

doc/guides/contributing/pull-requests.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ A good commit message should describe what changed and why.
158158
3. Wrap all other lines at 72 columns (except for long URLs).
159159

160160
4. If your patch fixes an open issue, you can add a reference to it at the end
161-
of the log. Use the `Fixes:` prefix and the full issue URL. For other references
162-
use `Refs:`.
161+
of the log. Use the `Fixes:` prefix and the full issue URL. For other
162+
references use `Refs:`.
163163

164164
Examples:
165165
- `Fixes: https://github.com/nodejs/node/issues/1337`

0 commit comments

Comments
 (0)