-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bump commander to 6.2.0 #16509
bump commander to 6.2.0 #16509
Conversation
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/56969 |
@@ -16,7 +16,7 @@ import type { PluginAPI, PluginObject } from "@babel/core"; | |||
|
|||
const require = createRequire(import.meta.url); | |||
|
|||
const program = new commander.Command("babel-node"); | |||
const program = commander.default.program as commander.Command; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here we get the program from the commander default export so that it works for Babel 8 with commander 12.0 as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
(could you check my slack messages? 😛)
Bumped
commander
to 6.2.0, the last version with Node.js 6 support.