The Wire · Showcase
Node slams the brakes on module.register
By RepoJournal · Filed · About Node.js
Node 26 makes module.register() a runtime deprecation, and citgm's test suite was the first to feel it.
Node 26.0.0 promotes DEP0205 to a runtime deprecation, so any tooling still calling module.register() now logs a warning on every run [1]. citgm's fix is to pull in tap 21.7.5, which the release notes say "closes https://github.com/nodejs/citgm/issues/1126" [1]. This is a warning sign for the broader ecosystem: audit your test runners and loaders for module.register() before Node 26 hits your CI [1]. Meanwhile the core docs desk is quietly tidying up. buffer.md gets missing return types for Blob and legacy Base64 helpers [2], and fs.md fills in the void for asyncDispose and Utf8Stream [3]. Two more doc PRs land: setRawMode write access on Windows [4] and copyFile symlink behavior [5]. The release process also gets a refreshed security prepare command [6]. None of these are breaking changes, but they tighten the surface area before you upgrade. Citgm's tap bump is the only code change of note: 1 PR, no commits, and it keeps the smoke tests green on Node 26 [7]. Act now if you maintain a loader or test framework, because the deprecation is already live in the runtime.
One email a day. Unsubscribe in one click.
Keep up with Node.js in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Upgrade citgm to tap 21.7.5 before running tests on Node 26 nodejs/citgm [immediate]
- → Audit your own tooling for module.register() usage nodejs/node [immediate]
- → Review the updated security release prepare command for your release pipeline nodejs/node [plan]
- → Monitor doc-kit rendering for return types after these fixes nodejs/node [monitor]
References
- [1] chore: update tap to 21.7.5 ↗ nodejs/citgm
- [2] doc: add missing return types in buffer.md nodejs/node
- [3] doc: add missing return types in fs.md nodejs/node
- [4] doc: document setRawMode write access on Windows nodejs/node
- [5] doc: clarify copyFile symlink behavior nodejs/node
- [6] doc: update security release prepare command nodejs/node
- [7] chore: update tap to 21.7.5 (#1128) nodejs/citgm