Skip to content

Commit

Permalink
bump: json-patch 1.1.0 (conda#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
baszalmstra authored Sep 12, 2023
1 parent bd54d79 commit c034c79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/rattler_repodata_gateway/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ ouroboros = { version = "0.17.2", optional = true }
serde_with = "3.3.0"
superslice = { version = "1.0.0", optional = true }
itertools = { version = "0.11.0", optional = true }
json-patch = "1.0.0"
json-patch = "1.1.0"
hex = { version = "0.4.3", features = ["serde"] }
rattler_networking = { version = "0.8.0", path = "../rattler_networking", default-features = false }

Expand Down
2 changes: 1 addition & 1 deletion crates/rattler_repodata_gateway/src/fetch/jlap/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ async fn apply_jlap_patches(
);
// Apply the patches we current have to it
for patch in patches[start_index..].iter() {
if let Err(error) = json_patch::patch(&mut doc, &patch.patch) {
if let Err(error) = json_patch::patch_unsafe(&mut doc, &patch.patch) {
return Err(JLAPError::JSONPatch(error));
}
}
Expand Down

0 comments on commit c034c79

Please sign in to comment.