Skip to content

module: runtime deprecate module.register() - #62401

Merged
aduh95 merged 1 commit into
nodejs:mainfrom
GeoffreyBooth:runtime-deprecate-module-register
Apr 1, 2026
Merged

aduh95 merged 1 commit into
nodejs:mainfrom
GeoffreyBooth:runtime-deprecate-module-register

Conversation

@GeoffreyBooth

Copy link
Copy Markdown
Member

Building on #62395, this runtime-deprecates module.register().

I’m not sure when we want to land and release this; I think the options are basically either:

  1. When module.registerHooks() goes stable, hopefully sometime before 26 goes LTS; module: doc-deprecate module.register() #62395 (comment)
  2. In 26.0.0; the doc-deprecation is backported to the 25.x line, and the runtime deprecation is 26+; module: doc-deprecate module.register() #62395 (comment)

I’m opening this now in case the team wants to do the second option. cc @nodejs/loaders @nodejs/userland-migrations

@GeoffreyBooth GeoffreyBooth added the loaders Issues and PRs related to ES module loaders. label Mar 23, 2026
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/loaders
  • @nodejs/userland-migrations

@nodejs-github-bot nodejs-github-bot added esm Issues and PRs related to the ECMAScript Modules implementation. needs-ci PRs that need a full CI run. labels Mar 23, 2026
@GeoffreyBooth
GeoffreyBooth force-pushed the runtime-deprecate-module-register branch from