From 893153bb5f01bdbf5152065057253c71e1dea812 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Sun, 16 Apr 2023 21:46:54 +0200 Subject: [PATCH] doc: remove markdown link from heading This is the only instance of such a link and it is rendered incorrectly in the TOC. --- doc/api/permissions.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api/permissions.md b/doc/api/permissions.md index 90051f18810e73..ad41e4f290e625 100644 --- a/doc/api/permissions.md +++ b/doc/api/permissions.md @@ -388,7 +388,7 @@ The following example, would allow access to `fs` for all `data:` resources: } ``` -##### Example: [import maps][] emulation +##### Example: import maps emulation Given an import map: @@ -425,7 +425,7 @@ Given an import map: } ``` -Import maps assume you can get any resource by default. This means +[Import maps][] assume you can get any resource by default. This means `"dependencies"` at the top level of the policy should be set to `true`. Policies require this to be opt-in since it enables all resources of the application cross linkage which doesn't make sense for many scenarios. They also @@ -547,6 +547,7 @@ There are constraints you need to know before using this system: write access. * Permission changes are not retroactively applied to existing resources. +[Import maps]: https://url.spec.whatwg.org/#relative-url-with-fragment-string [Security Policy]: https://github.com/nodejs/node/blob/main/SECURITY.md [`--allow-child-process`]: cli.md#--allow-child-process [`--allow-fs-read`]: cli.md#--allow-fs-read @@ -554,6 +555,5 @@ There are constraints you need to know before using this system: [`--allow-worker`]: cli.md#--allow-worker [`--experimental-permission`]: cli.md#--experimental-permission [`permission.has()`]: process.md#processpermissionhasscope-reference -[import maps]: https://url.spec.whatwg.org/#relative-url-with-fragment-string [relative-url string]: https://url.spec.whatwg.org/#relative-url-with-fragment-string [special schemes]: https://url.spec.whatwg.org/#special-scheme