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

Replace optimist with yargs #263

Closed
wants to merge 1 commit into from
Closed

Conversation

samfundev
Copy link

optimist is deprecated and depends on an insecure version of a minimist.

optimist is deprecated and depends on insecure packages.
@forty
Copy link
Contributor

forty commented Jul 28, 2020

I would recommend using minimist directly instead. yargs has a shitload of dependencies: 27 total (including indirect ones) https://npm.anvaka.com/#!/view/2d/yargs
Compare that with node-version which has only 4 :)

@coreybutler
Copy link
Owner

@forty I'll likely use https://github.com/author/arg, which I wrote myself and has zero dependencies. If I can't get to it soon, I'll merge this, just to eliminate the insecure version of minimist.

@forty
Copy link
Contributor

forty commented Jul 30, 2020

I opened this PR #267 to do that

@samfundev
Copy link
Author

I'll keep this open in case @coreybutler would want to merge this one in the mean time. If the other one gets merged then I'll close this one.

@coreybutler
Copy link
Owner

Closing in favor of #267.

@seidhkona
Copy link

Will #267 ever be merged?

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.

4 participants