Open altano opened 5 months ago
+1
Oop, sorry for the delay! Agreed. Using deprecated dependencies isn't good.
Per https://www.npmjs.com/package/optimist:
I don't want to maintain this module anymore since I just use minimist, the argument parsing engine, directly instead nowadays.
See yargs for the modern, pirate-themed successor to optimist.
minimist
does a good bit less than what this currently uses optimist
for. So I'd say let's move to yargs
. 👍 accepting PRs!
@JoshuaKGoldberg I have opened PR, please check it :)
Great! I get a notification for every comment, issue, and PR in this repo - so any PR that gets sent effectively tags me. I'll look soon!
We don't need to get into a conversation about whether warnings like this are helpful or not, but they are happening.
My latest one was from pulling in
eslint-plugin-package-json
, because of this dependency chain:It looks like package-json-validator would benefit from either moving from optimist (deprecated) to directly using an updated version of minimist or switching to something like yargs.