codegenomeproject
Search
MarketplaceModules
PackagesCLIMCP
Sign in
  1. Marketplace
  2. JavaScript/TypeScript
  3. Upgrade to Node.js 26

Upgrade to Node.js 26

Proprietary

Migrate deprecated APIs for Node.js 26 compatibility. Includes all migrations from Node.js 24, plus Node 25 and Node 26 deprecations.

org.openrewrite.node.migrate.upgrade-node-26
mod run . --recipe=org.openrewrite.node.migrate.upgrade-node-26

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

Recipe
  1. Increase Node.js engine version
  2. Increase Node.js version in GitHub Actions
  3. org.openrewrite.nodejs.migrate.UpgradeNodeVersion
  4. Upgrade to Node.js 24
  5. Replace deprecated SlowBuffer with Buffer.allocUnsafeSlow()
  6. Find fs.rmdir() calls with the removed recursive option
  7. Replace removed RSA-PSS hash and mgf1Hash key pair options
  8. Replace deprecated fs.F_OK, fs.R_OK, fs.W_OK, fs.X_OK with fs.constants.*
  9. Replace ChildProcess._channel with ChildProcess.channel
  10. Remove process.on('multipleResolves') listeners
  11. Replace ServerResponse.writeHeader() with writeHead()
  12. Replace deprecated node:_stream_* with node:stream
  13. Find crypto.createDecipheriv() for AEAD ciphers without authTagLength
  14. Find Duplex.toWeb() calls passing options.type
  15. Find module.register() usage
© Moderne, 2026
Recipe indexPrivacyTerms