hasundue / molt

Update dependencies the Deno way
https://jsr.io/@molt
MIT License
69 stars 5 forks source link

Support for bumping version ranges #194

Closed brc-dd closed 3 weeks ago

brc-dd commented 1 month ago

It's currently stated in the readme that

Molt does NOT bump version ranges like 1, 1.x, ~1.2.3 and ^1.2.3 in npm: and jsr: specifiers, but only updates a lockfile.

I would like to understand the reasoning behind that. For versions like ^1.0.0 with latest version 1.2.3 it might make sense, but in cases where the version range doesn't satisfy the latest available version molt won't bump it, for example most of the deno_std packages - when they release a minor, some range like ^0.200.0 won't satisfy it and lock file won't be updated either.

hasundue commented 1 month ago

Thanks! I totally agree with you and this will be supported in the next release (0.19.0). The implementation is already done here but needs finalization to be published.

brc-dd commented 1 month ago

Ah sorry, I should have looked more 😅 Thanks for your work!