diff options
author | Jayden Seric <me@jaydenseric.com> | 2021-04-21 03:54:38 +0300 |
---|---|---|
committer | Antoine du Hamel <duhamelantoine1995@gmail.com> | 2021-04-23 11:25:30 +0300 |
commit | 37b811a27a7479c99448aafa834efab02b6baf17 (patch) | |
tree | 06d398c6555effdb92232472ed47b61068d54639 /doc/api/packages.md | |
parent | 63bed545d3054ca952517125c0459356673f5628 (diff) |
doc: fix YAML comment opening tags
Several YAML documentation comments incorrectly started with `<!--YAML`
instead of `<!-- YAML`, resulting in their content missing in the
rendered documentation.
PR-URL: https://github.com/nodejs/node/pull/38324
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Diffstat (limited to 'doc/api/packages.md')
-rw-r--r-- | doc/api/packages.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/api/packages.md b/doc/api/packages.md index 1fe317cb445..eae5d3b6206 100644 --- a/doc/api/packages.md +++ b/doc/api/packages.md @@ -291,7 +291,7 @@ import submodule from 'es-module-package/private-module.js'; ``` ### Subpath imports -<!--YAML +<!-- YAML added: - v14.6.0 - v12.19.0 @@ -333,7 +333,7 @@ The resolution rules for the imports field are otherwise analogous to the exports field. ### Subpath patterns -<!--YAML +<!-- YAML added: - v14.13.0 - v12.19.0 @@ -428,7 +428,7 @@ The benefit of patterns over folder exports is that packages can always be imported by consumers without subpath file extensions being necessary. ### Exports sugar -<!--YAML +<!-- YAML added: v12.11.0 --> @@ -455,7 +455,7 @@ can be written: ``` ### Conditional exports -<!--YAML +<!-- YAML added: - v13.2.0 - v12.16.0 @@ -630,7 +630,7 @@ The above definitions may be moved to a dedicated conditions registry in due course. ### Self-referencing a package using its name -<!--YAML +<!-- YAML added: - v13.1.0 - v12.16.0 |