Skip to content
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

Port from Caporal to Commander #159

Merged
merged 2 commits into from
Jul 20, 2022
Merged

Conversation

andersk
Copy link

@andersk andersk commented Jul 20, 2022

Caporal appears to be dead upstream (mattallty/Caporal.js#243), and pins an insecure version of lodash (mattallty/Caporal.js#212, mattallty/Caporal.js#224, mattallty/Caporal.js#239). Commander is actively maintained, has no dependencies, and is much faster as a bonus. It’s missing Caporal’s colored logging feature, but that’s easy to reimplement.

@yowainwright
Copy link
Owner

@andersk the pr looks great!

Would you mind updating from latest so we can confirm passing tests?
I had to make a minor update for pnpm@7 to work as expected.

Thanks again!

@andersk
Copy link
Author

andersk commented Jul 20, 2022

Sure, rebased. (You’ll need to re-approve the GitHub Actions workflow.)

@andersk andersk force-pushed the commander branch 3 times, most recently from cc1f539 to 424e63a Compare July 20, 2022 06:49
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Caporal appears to be dead upstream, and pins an insecure version of
lodash.  Commander is actively maintained, has no dependencies, and is
much faster as a bonus.  It’s missing Caporal’s colored logging
feature, but that’s easy to reimplement.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
@yowainwright
Copy link
Owner

@andersk Awesome stuff!

I'll release this as a major release [just to be safe] tomorrow.

@yowainwright yowainwright merged commit e370b46 into yowainwright:master Jul 20, 2022
@andersk andersk deleted the commander branch July 20, 2022 17:30
apepper added a commit to Scrivito/scrivito_example_app_js that referenced this pull request Aug 1, 2022
This version finally replaces Caporal with Commander (see [1]). Without caporal there is also no longer the need to "override" specific lodash versions.

[1] yowainwright/es-check#159
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants