Upgrade to Node.js 14

Proprietary

Moves a project to Node.js 14, running the Node.js 12 upgrade first: raises engines.node, GitHub Actions' node-version, .nvmrc/.node-version and a declared @types/node to 14, never lowering them, marks a typescript too old for that @types/node, and migrates what Node.js 13 and 14 removed. Replaces os.tmpDir() (DEP0022), GLOBAL (DEP0016) and _writableState.buffer (DEP0003), and marks root (DEP0016) and OutgoingMessage.flush() (DEP0001).

io.moderne.javascript.migrate.node.UpgradeToNode14
mod run . --recipe=io.moderne.javascript.migrate.node.UpgradeToNode14

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