Skip to content

Commit fcfe650

Browse files
committed
doc: add note for features using InternalWorker with permission model
PR-URL: #56706 Backport-PR-URL: #56723 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 1f4f9be commit fcfe650

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

doc/api/cli.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -962,6 +962,10 @@ Previously gated the entire `import.meta.resolve` feature.
962962
<!-- YAML
963963
added: v8.8.0
964964
changes:
965+
- version: v22.13.1
966+
pr-url: https://github.com/nodejs-private/node-private/pull/629
967+
description: Using this feature with the permission model enabled requires
968+
passing `--allow-worker`.
965969
- version: v12.11.1
966970
pr-url: https://github.com/nodejs/node/pull/29752
967971
description: This flag was renamed from `--loader` to
@@ -975,6 +979,8 @@ changes:
975979
Specify the `module` containing exported [module customization hooks][].
976980
`module` may be any string accepted as an [`import` specifier][].
977981

982+
This feature requires `--allow-worker` if used with the [Permission Model][].
983+
978984
### `--experimental-network-inspection`
979985

980986
<!-- YAML
@@ -1082,6 +1088,11 @@ present. See the [test runner execution model][] section for more information.
10821088

10831089
<!-- YAML
10841090
added: v22.3.0
1091+
changes:
1092+
- version: v22.13.1
1093+
pr-url: https://github.com/nodejs-private/node-private/pull/629
1094+
description: Using this feature with the permission model enabled requires
1095+
passing `--allow-worker`.
10851096
-->
10861097

10871098
> Stability: 1.0 - Early development

doc/api/module.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,10 @@ added:
328328
- v20.6.0
329329
- v18.19.0
330330
changes:
331+
- version: v22.13.1
332+
pr-url: https://github.com/nodejs-private/node-private/pull/629
333+
description: Using this feature with the permission model enabled requires
334+
passing `--allow-worker`.
331335
- version:
332336
- v20.8.0
333337
- v18.19.0
@@ -356,6 +360,8 @@ changes:
356360
Register a module that exports [hooks][] that customize Node.js module
357361
resolution and loading behavior. See [Customization hooks][].
358362
363+
This feature requires `--allow-worker` if used with the [Permission Model][].
364+
359365
### `module.stripTypeScriptTypes(code[, options])`
360366
361367
<!-- YAML
@@ -1558,6 +1564,7 @@ returned object contains the following keys:
15581564
[Conditional exports]: packages.md#conditional-exports
15591565
[Customization hooks]: #customization-hooks
15601566
[ES Modules]: esm.md
1567+
[Permission Model]: permissions.md#permission-model
15611568
[Source map v3 format]: https://sourcemaps.info/spec.html#h.mofvlxcwqzej
15621569
[V8 JavaScript code coverage]: https://v8project.blogspot.com/2017/12/javascript-code-coverage.html
15631570
[V8 code cache]: https://v8.dev/blog/code-caching-for-devs

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy