Upgrade to Node.js 18
ProprietaryMoves a project to Node.js 18, running the Node.js 16 upgrade first: raises engines.node, GitHub Actions' node-version and .nvmrc/.node-version to 18, never lowering them, and migrates what Node.js 17 and 18 removed. Rewrites exports folder mappings as subpath patterns (DEP0148) and numeric-string dns.lookup() families as numbers (DEP0153), and marks tls.parseCertString() (DEP0076), dns.lookup() options of the wrong type (DEP0153), async stream implementations (DEP0157) and checks for ERR_INVALID_CALLBACK (DEP0159).
org. openrewrite. javascript. migrate. node. UpgradeToNode18mod run . --recipe= org. openrewrite. javascript. migrate. node. UpgradeToNode18Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.