Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): handle identical dependencies correctly #175

Merged
merged 3 commits into from
May 14, 2024
Merged

Conversation

hasundue
Copy link
Owner

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.

@hasundue hasundue changed the title fix(core): handle duplicated dependencies correctly fix(core): handle identical dependencies correctly May 14, 2024
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.
Copy link

codecov bot commented May 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

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

Additional details and impacted files
@@            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              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@hasundue hasundue force-pushed the fix-jsr-import-map branch from b11a913 to b466f32 Compare May 14, 2024 05:26
@hasundue hasundue merged commit 07c825f into main May 14, 2024
7 checks passed
@hasundue hasundue deleted the fix-jsr-import-map branch May 14, 2024 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant