diff --git a/doc/api/cli.md b/doc/api/cli.md index 5f136edd4d4fd3..15da9004b0e7b6 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -962,6 +962,10 @@ Previously gated the entire `import.meta.resolve` feature. > Stability: 1.0 - Early development diff --git a/doc/api/module.md b/doc/api/module.md index 5b59860e22eea6..4b32842f3ba3ba 100644 --- a/doc/api/module.md +++ b/doc/api/module.md @@ -328,6 +328,10 @@ added: - v20.6.0 - v18.19.0 changes: + - version: v22.13.1 + pr-url: https://github.com/nodejs-private/node-private/pull/629 + description: Using this feature with the permission model enabled requires + passing `--allow-worker`. - version: - v20.8.0 - v18.19.0 @@ -356,6 +360,8 @@ changes: Register a module that exports [hooks][] that customize Node.js module resolution and loading behavior. See [Customization hooks][]. +This feature requires `--allow-worker` if used with the [Permission Model][]. + ### `module.stripTypeScriptTypes(code[, options])`