75lb / command-line-args

A mature, feature-complete library to parse command-line options.
MIT License
679 stars 107 forks source link

Update dependencies to latest CJS / Node v8 compatible #130

Closed jakebailey closed 1 year ago

jakebailey commented 1 year ago

I use both command-line-args and command-line-usage and noticed that the two had differing versions of common dependencies; see: https://npmgraph.js.org/?q=hereby%40v1.7.1

This PR updates everything to the latest versions that still support CJS and Node v8 (and I have another PR for command-line-usage that goes with this) and pass the tests. I think that this should still be compatible and not require a major bump.

Feel free to just ignore this PR if it seems undesirable; maybe it'd be better to just major bump and just go all the way up to latest + ESM, but I wanted to try and make things better for the current users.

75lb commented 1 year ago

hi Jake, thanks for chipping in.. yeah, command-line-args/usage is a fairly mature project so still includes support for as far back as Node v4.. I agree that, if we are to major bump this project, it should bump support for up to Node v10 at least, if node v12 or 14.. I will get back to you on this one, thanks..

jakebailey commented 1 year ago

No worries, totally understand. I should have just filed an issue!