Upgrade to Node.js 16
MSALMoves a project from Node.js 6 through 14 to Node.js 16, running each earlier upgrade first: raises engines.node, GitHub Actions' node-version and .nvmrc/.node-version to 16, never lowering them, and migrates what Node.js 15 and 16 removed. Replaces module.createRequireFromPath() (DEP0130), and marks Server.connections (DEP0020), the removed REPLServer members and Transform._transformState (DEP0143), and the documentation-only deprecations of fs.exists(), constants, domain and process.binding() (DEP0034, DEP0008, DEP0032, DEP0111).
org. openrewrite. javascript. migrate. node. UpgradeToNode16mod run . --recipe= org. openrewrite. javascript. migrate. node. UpgradeToNode16Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.