-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Upgrade outdated dependency to commander #3743
Comments
Thanks for the suggestion, though there is a different reason why we decided to stay on the But if we do need to upgrade in the future, your patch would come in handy 👍 |
@alexlamsl could you elaborate/reference the reasoning for staying with the 2.x series? Reason I ask is that Debian currently carries only one version of the commander module (to limit what the distribution need to care about), and we now consider moving to 4.x but perhaps you have some insight as to why we maybe shouldn't - or why we perhaps should consider maintaining 2 versions concurrently. |
ah, I guess the reason is compatibility with Nodejs v0.10 as indicated in #3450 - we do not have that need for Debian, but I admire your strong focus on backwards compatibity! Please do share if you are aware of other reasons to stay with commander v2.0. |
Yes that is indeed the reason − at some point we could internalise the command line functionality (just as we did for |
Quoting Alex Lam S.L. (2020-06-05 12:53:51)
Yes that is indeed the reason − at some point we could internalise the command line functionality (just as we did for `source-map`) since we use a very limited subset of what `commander` provides. Would that alleviate your concern?
It would indeed - that would be an improvement. Thanks!
|
wishlist
Uglify version (
uglifyjs -V
) ≥ 2.8.29Hi,
here is a simple patch that permits to use uglifyjs without behavior change with commander > 4 (tests succeeds). Change that affects uglifyjs is explained here.
-cme
by-c -m -e
(else it becomes-c me
)--rename
default value (change order) :The text was updated successfully, but these errors were encountered: