Closed
Description
This is probably in the early stages, so I apologize if this issue is premature. From the documentation, it looks like the intent is to support node 4 <=, but currently isn't transpiled down to support Node 4.
Node 4 & 5 (no destructuring)
/bin/babel-upgrade
const { isAcceptedNodeVersion, writePackageJSON, writeBabelRC } = require("../src");
^
SyntaxError: Unexpected token {
Node 6 (no async)
/src/index.js:59
async function writePackageJSON() {
^^^^^^^^
SyntaxError: Unexpected token function
Node 7 (no trailing/last commas)
/src/packageData.js:243
);
^
SyntaxError: Unexpected token )
Otherwise, everything has worked great in node 8 & 9 .