Selaa lähdekoodia

chore(deps) Update Rust crate json-patch to v2 (dev) (#10515)

* chore(deps) Update Rust crate json-patch to v2

* update other crates

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
renovate[bot] 1 vuosi sitten
vanhempi
sitoutus
f65990d1d7
4 muutettua tiedostoa jossa 26 lisäystä ja 5 poistoa
  1. 23 2
      Cargo.lock
  2. 1 1
      core/tauri-build/Cargo.toml
  3. 1 1
      core/tauri-codegen/Cargo.toml
  4. 1 1
      core/tauri-utils/Cargo.toml

+ 23 - 2
Cargo.lock

@@ -865,6 +865,15 @@ dependencies = [
  "miniz_oxide",
 ]
 
+[[package]]
+name = "fluent-uri"
+version = "0.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "17c704e9dbe1ddd863da1e6ff3567795087b1eb201ce80d8fa81162e1516500d"
+dependencies = [
+ "bitflags 1.3.2",
+]
+
 [[package]]
 name = "fnv"
 version = "1.0.7"
@@ -1686,10 +1695,11 @@ dependencies = [
 
 [[package]]
 name = "json-patch"
-version = "1.4.0"
+version = "2.0.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ec9ad60d674508f3ca8f380a928cfe7b096bc729c4e2dbfe3852bc45da3ab30b"
+checksum = "5b1fb8864823fad91877e6caea0baca82e49e8db50f8e5c9f9a453e27d3330fc"
 dependencies = [
+ "jsonptr",
  "serde",
  "serde_json",
  "thiserror",
@@ -1706,6 +1716,17 @@ dependencies = [
  "serde",
 ]
 
+[[package]]
+name = "jsonptr"
+version = "0.4.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1c6e529149475ca0b2820835d3dce8fcc41c6b943ca608d32f35b449255e4627"
+dependencies = [
+ "fluent-uri",
+ "serde",
+ "serde_json",
+]
+
 [[package]]
 name = "keyboard-types"
 version = "0.7.0"

+ 1 - 1
core/tauri-build/Cargo.toml

@@ -34,7 +34,7 @@ cargo_toml = "0.17"
 serde = "1"
 serde_json = "1"
 heck = "0.5"
-json-patch = "1.2"
+json-patch = "2.0"
 walkdir = "2"
 tauri-winres = "0.1"
 semver = "1"

+ 1 - 1
core/tauri-codegen/Cargo.toml

@@ -29,7 +29,7 @@ uuid = { version = "1", features = [ "v4" ] }
 semver = "1"
 ico = "0.3"
 png = "0.17"
-json-patch = "1.2"
+json-patch = "2.0"
 url = "2"
 
 [target."cfg(target_os = \"macos\")".dependencies]

+ 1 - 1
core/tauri-utils/Cargo.toml

@@ -31,7 +31,7 @@ serialize-to-javascript = { version = "=0.1.1", optional = true }
 ctor = "0.2"
 json5 = { version = "0.4", optional = true }
 toml = { version = "0.8", features = [ "parse" ] }
-json-patch = "1.2"
+json-patch = "2.0"
 glob = "0.3"
 urlpattern = "0.2"
 regex = "1"