Skip to content

module: runtime deprecate module.register()#62401

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

module: runtime deprecate module.register()#62401
aduh95 merged 1 commit intonodejs: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

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue-rebase Add this label to allow the Commit Queue to land a PR in several commits. esm Issues and PRs related to the ECMAScript Modules implementation. loaders Issues and PRs related to ES module loaders semver-major PRs that contain breaking changes and should be released in the next major version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.