Replace optimist with minimist
See original GitHub issueFor known reasons we want to get rid of old versions of minimist from our projects. And I looked into dependency then found http-server
is relying on optimist
, which is a deprecated package, and optimist
relies on very old version of minimist
. https://github.com/substack/node-optimist/blob/master/package.json#L8
I’m a yarn user and I received lots of warnings since I used http-server
in my projects, a lot… A viable solution might be reinstalling http-server
and for some reason newer version of minimist
can be installed and the warn will be gone.
Is there anytime to do on http-server
side?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:12
- Comments:6 (2 by maintainers)
Top Results From Across the Web
minimist - npm
Start using minimist in your project by running `npm i minimist`. ... This module is the guts of optimist's argument parser without all...
Read more >Developers - Replace optimist with minimist - - Bountysource
1. Replacing use of optimist with direct use of minimist in lib/start. · 2. Using the latest version of minimist which does not...
Read more >npm ls minimist@0.2.1 invalid extraneous - Stack Overflow
npm install works fine , but npm ls minimist shows: ... extraneous ├─┬ karma@1.5.0 │ └─┬ optimist@0.6.1 │ └── minimist@1.2.6 ...
Read more >minimist - npm.io
minimist. parse argument options. This module is the guts of optimist's argument parser without all the fanciful decoration.
Read more >Fixing security vulnerabilities in npm dependencies in less ...
This will tell you the packages which are vulnerable. npm audit log showing minimist as a prototype pollution vulnerability. This tells me that...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I completely sympathize with the headache of old packages in dependency trees! I’ll take a look into fixing that on our side if I can!
@substack just has to press the merge-button here https://github.com/substack/node-optimist/issues/152