hasundue / molt

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

fix(core): handle identical dependencies correctly #175

Closed hasundue closed 2 months ago

hasundue commented 2 months ago

This fixes a problematic behavior when identical dependencies with and without range specifiers, such as ^, ~, or x. For example, if we have jsr:@std/testing@^0.210.0 and jsr:@std/testing@0.210.0/bdd at the same time, both are updated to the latest version, or neither is updated, which should not happen.

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 84.96%. Comparing base (8bb9a32) to head (b466f32).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #175 +/- ## ========================================== + Coverage 84.79% 84.96% +0.16% ========================================== Files 10 10 Lines 1197 1197 Branches 212 212 ========================================== + Hits 1015 1017 +2 + Misses 180 178 -2 Partials 2 2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.