module: doc-deprecate `module.register()` by GeoffreyBooth · Pull Request #62395 · nodejs/node · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions doc/api/deprecations.md
7 changes: 6 additions & 1 deletion doc/api/module.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,12 @@ isBuiltin('wss'); // false
added:
- v20.6.0
- v18.19.0
deprecated: REPLACEME
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/62395
description: Documentation-only deprecation (DEP0205). Use
`module.registerHooks()` instead.
- version:
- v23.6.1
- v22.13.1
Expand All @@ -193,7 +198,7 @@ changes:
description: Add support for WHATWG URL instances.
-->

> Stability: 1.1 - Active development
> Stability: 0 - Deprecated: Use [`module.registerHooks()`][] instead.

* `specifier` {string|URL} Customization hooks to be registered; this should be
the same string that would be passed to `import()`, except that if it is
Expand Down
2 changes: 1 addition & 1 deletion test/doctool/test-doc-api-json.mjs
Loading