Skip to content

Commit 95a7117

Browse files
Trotttargos
authored andcommitted
doc: final round of markdown format changes
Once the README and find-inactive-collaborators.mjs changes land here, we can introduce markdown formatting as a step in the toolchain somewhere. Before this lands, nodejs/node-core-utils#578 will need to land and be included in a node-core-utils release. PR-URL: #40645 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
1 parent 16624b4 commit 95a7117

10 files changed

+550
-445
lines changed

README.md

+245-245
Large diffs are not rendered by default.

doc/api/esm.md

+16-16
Original file line numberDiff line numberDiff line change
@@ -1115,21 +1115,21 @@ The resolver can throw the following errors:
11151115
> **PACKAGE\_SELF\_RESOLVE**(_packageName_, _packageSubpath_, _parentURL_).
11161116
> 10. If _selfUrl_ is not **undefined**, return _selfUrl_.
11171117
> 11. While _parentURL_ is not the file system root,
1118-
> 1. Let _packageURL_ be the URL resolution of _"node_modules/"_
1119-
> concatenated with _packageSpecifier_, relative to _parentURL_.
1120-
> 2. Set _parentURL_ to the parent folder URL of _parentURL_.
1121-
> 3. If the folder at _packageURL_ does not exist, then
1122-
> 1. Continue the next loop iteration.
1123-
> 4. Let _pjson_ be the result of **READ\_PACKAGE\_JSON**(_packageURL_).
1124-
> 5. If _pjson_ is not **null** and _pjson_._exports_ is not **null** or
1125-
> **undefined**, then
1126-
> 1. Return the result of **PACKAGE\_EXPORTS\_RESOLVE**(_packageURL_,
1127-
> _packageSubpath_, _pjson.exports_, _defaultConditions_).
1128-
> 6. Otherwise, if _packageSubpath_ is equal to _"."_, then
1129-
> 1. If _pjson.main_ is a string, then
1130-
> 1. Return the URL resolution of _main_ in _packageURL_.
1131-
> 7. Otherwise,
1132-
> 1. Return the URL resolution of _packageSubpath_ in _packageURL_.
1118+
> 1. Let _packageURL_ be the URL resolution of _"node\_modules/"_
1119+
> concatenated with _packageSpecifier_, relative to _parentURL_.
1120+
> 2. Set _parentURL_ to the parent folder URL of _parentURL_.
1121+
> 3. If the folder at _packageURL_ does not exist, then
1122+
> 1. Continue the next loop iteration.
1123+
> 4. Let _pjson_ be the result of **READ\_PACKAGE\_JSON**(_packageURL_).
1124+
> 5. If _pjson_ is not **null** and _pjson_._exports_ is not **null** or
1125+
> **undefined**, then
1126+
> 1. Return the result of **PACKAGE\_EXPORTS\_RESOLVE**(_packageURL_,
1127+
> _packageSubpath_, _pjson.exports_, _defaultConditions_).
1128+
> 6. Otherwise, if _packageSubpath_ is equal to _"."_, then
1129+
> 1. If _pjson.main_ is a string, then
1130+
> 1. Return the URL resolution of _main_ in _packageURL_.
1131+
> 7. Otherwise,
1132+
> 1. Return the URL resolution of _packageSubpath_ in _packageURL_.
11331133
> 12. Throw a _Module Not Found_ error.
11341134

11351135
**PACKAGE\_SELF\_RESOLVE**(_packageName_, _packageSubpath_, _parentURL_)
@@ -1241,7 +1241,7 @@ _internal_, _conditions_)
12411241
> 1. Return **PACKAGE\_RESOLVE**(_target_ with every instance of
12421242
> _"\*"_ replaced by _subpath_, _packageURL_ + _"/"_).
12431243
> 2. Return **PACKAGE\_RESOLVE**(_target_ + _subpath_,
1244-
> _packageURL_ + _"/"_)_.
1244+
> _packageURL_ + _"/"_).
12451245
> 2. Otherwise, throw an _Invalid Package Target_ error.
12461246
> 3. If _target_ split on _"/"_ or _"\\"_ contains any _"."_, _".."_ or
12471247
> _"node\_modules"_ segments after the first segment, case insensitive and

doc/api/n-api.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1009,8 +1009,8 @@ The content of the `napi_extended_error_info` returned is only valid up until
10091009
a Node-API function is called on the same `env`. This includes a call to
10101010
`napi_is_exception_pending` so it may often be necessary to make a copy
10111011
of the information so that it can be used later. The pointer returned
1012-
in error_message points to a statically defined string so it is safe to use
1013-
that pointer if you have copied it out of the error_message field (which will
1012+
in `error_message` points to a statically-defined string so it is safe to use
1013+
that pointer if you have copied it out of the `error_message` field (which will
10141014
be overwritten) before another Node-API function was called.
10151015

10161016
Do not rely on the content or format of any of the extended information as it

doc/changelogs/CHANGELOG_V12.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@
8181
* [Archive](CHANGELOG\_ARCHIVE.md)
8282

8383
<a id="12.22.7"></a>
84+
8485
## 2021-10-12, Version 12.22.7 'Erbium' (LTS), @danielleadams
8586

8687
This is a security release.
@@ -94,9 +95,9 @@ This is a security release.
9495

9596
### Commits
9697

97-
* [[`21a2e554e3`](https://github.com/nodejs/node/commit/21a2e554e3)] - **deps**: update llhttp to 2.1.4 (Fedor Indutny) [nodejs-private/node-private#286](https://github.com/nodejs-private/node-private/pull/286)
98-
* [[`d5d3a03246`](https://github.com/nodejs/node/commit/d5d3a03246)] - **http**: add regression test for smuggling content length (Matteo Collina) [nodejs-private/node-private#286](https://github.com/nodejs-private/node-private/pull/286)
99-
* [[`0858587f21`](https://github.com/nodejs/node/commit/0858587f21)] - **http**: add regression test for chunked smuggling (Matteo Collina) [nodejs-private/node-private#286](https://github.com/nodejs-private/node-private/pull/286)
98+
* \[[`21a2e554e3`](https://github.com/nodejs/node/commit/21a2e554e3)] - **deps**: update llhttp to 2.1.4 (Fedor Indutny) [nodejs-private/node-private#286](https://github.com/nodejs-private/node-private/pull/286)
99+
* \[[`d5d3a03246`](https://github.com/nodejs/node/commit/d5d3a03246)] - **http**: add regression test for smuggling content length (Matteo Collina) [nodejs-private/node-private#286](https://github.com/nodejs-private/node-private/pull/286)
100+
* \[[`0858587f21`](https://github.com/nodejs/node/commit/0858587f21)] - **http**: add regression test for chunked smuggling (Matteo Collina) [nodejs-private/node-private#286](https://github.com/nodejs-private/node-private/pull/286)
100101

101102
<a id="12.22.6"></a>
102103

doc/changelogs/CHANGELOG_V14.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
* [Archive](CHANGELOG\_ARCHIVE.md)
7070

7171
<a id="14.18.1"></a>
72+
7273
## 2021-10-12, Version 14.18.1 'Fermium' (LTS), @danielleadams
7374

7475
This is a security release.
@@ -82,9 +83,9 @@ This is a security release.
8283

8384
### Commits
8485

85-
* [[`8c254ca7e4`](https://github.com/nodejs/node/commit/8c254ca7e4)] - **deps**: update llhttp to 2.1.4 (Fedor Indutny) [nodejs-private/node-private#285](https://github.com/nodejs-private/node-private/pull/285)
86-
* [[`9b92ae2499`](https://github.com/nodejs/node/commit/9b92ae2499)] - **http**: add regression test for smuggling content length (Matteo Collina) [nodejs-private/node-private#285](https://github.com/nodejs-private/node-private/pull/285)
87-
* [[`f467539719`](https://github.com/nodejs/node/commit/f467539719)] - **http**: add regression test for chunked smuggling (Matteo Collina) [nodejs-private/node-private#285](https://github.com/nodejs-private/node-private/pull/285)
86+
* \[[`8c254ca7e4`](https://github.com/nodejs/node/commit/8c254ca7e4)] - **deps**: update llhttp to 2.1.4 (Fedor Indutny) [nodejs-private/node-private#285](https://github.com/nodejs-private/node-private/pull/285)
87+
* \[[`9b92ae2499`](https://github.com/nodejs/node/commit/9b92ae2499)] - **http**: add regression test for smuggling content length (Matteo Collina) [nodejs-private/node-private#285](https://github.com/nodejs-private/node-private/pull/285)
88+
* \[[`f467539719`](https://github.com/nodejs/node/commit/f467539719)] - **http**: add regression test for chunked smuggling (Matteo Collina) [nodejs-private/node-private#285](https://github.com/nodejs-private/node-private/pull/285)
8889

8990
<a id="14.18.0"></a>
9091

0 commit comments

Comments
 (0)