Upgrade to Node.js 12
MSALMoves a project to Node.js 12, running the Node.js 10 upgrade first: raises engines.node, GitHub Actions' node-version and .nvmrc/.node-version to 12, never lowering them, and migrates what Node.js 11 and 12 removed. Replaces util.print(), util.puts(), util.debug() and util.error() where the output stays the same (DEP0026–DEP0029), os.getNetworkInterfaces() (DEP0023), Atomics.wake() and node --debug/node debug in package.json scripts (DEP0062, DEP0068), and marks the removed crypto, fs, tls, net and async_hooks APIs (DEP0010, DEP0011, DEP0021, DEP0061, DEP0098, DEP0105, DEP0107, DEP0114).
org. openrewrite. javascript. migrate. node. UpgradeToNode12mod run . --recipe= org. openrewrite. javascript. migrate. node. UpgradeToNode12Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.