3 ms·
I have a little JS library that has an analogue within cargo which really helps with this: https://www.npmjs.com/package/downgrade-build https://www.npmjs.com/p
by andrewaylett 2y ago
I have a little JS library that has an analogue within cargo which really helps with this: https://www.npmjs.com/package/downgrade-build https://www.npmjs.com/package/downgrade-build
It means I can keep my dependency spec broad, because I actually test my releases with minimum supported versions. Cargo has (or maybe had -- I can't find it any more) a similar feature built in.
Renovate will even broaden (rather than replace) dependency specifications, if asked, so if my package works with both the old and the new version then I can make a patch release with the wider dependency spec and not break anything.
(On which note: I can really highly recommend using Mend Renovate to keep dependencies up to date: https://www.mend.io/renovate/ https://www.mend.io/renovate/ )