Skip to content

Commit

Permalink
fix: deserialize with loose version constraint (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret authored Sep 16, 2024
1 parent df5330e commit c815545
Show file tree
Hide file tree
Showing 2 changed files with 564 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ impl LockfileContent {
let mut specifiers =
HashMap::with_capacity(deserialized_specifiers.len());
for (key, value) in deserialized_specifiers {
let dep = JsrDepPackageReq::from_str(&key)?;
let dep = JsrDepPackageReq::from_str_loose(&key)?;
specifiers.insert(dep, value);
}

Expand Down
Loading

0 comments on commit c815545

Please sign in to comment.