Closed realityking closed 7 years ago
Thanks, it's always good to upgrade, and I'm happy to take PRs to help with it, but it might not accomplish what you want. If it does reduce overall deps, it will probably only be by chance. When deps are upgraded, if they are majors I always bump the major on my lib as well, since it's the safest way to go and is idiomatic semver. Which means every lib that uses this lib will then need to upgrade again, ad infinitum, and you might end up with more libs or duplicates in your tree. It's a neverending vicious circle.
fwiw, multiple times recently I've had numerous libs start failing on travis because a dep didn't follow this practice.
That's fair enough.
Basically I'm trying to get micro match's dependencies updated before es128/anymatch#22 get attempted. It gets updated rarely enough that this is a great chance to purge some really old stuff from a very common dependency. But overall you're right - trying to keep your node dependencies deduplicated is a fools errand.
Trying to get some old dependencies out of my tree 🙂