diff --git a/Cargo.lock b/Cargo.lock index 5de1e81..ff44d93 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1284,9 +1284,9 @@ dependencies = [ [[package]] name = "jsonc-parser" -version = "0.32.4" +version = "0.33.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "840785e1a8b4fdb27be18440a35a81af64820dc185c3973ff8b012d4c6282512" +checksum = "362fdb0bfedf94ebd31e4e82ff38ba705b6b82417b3b25f0c4bbb024dd11f552" dependencies = [ "indexmap", "serde_json", diff --git a/Cargo.toml b/Cargo.toml index 9b9bdf2..047bba6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,7 +25,7 @@ gix-config = "0.58" # under rustc ≥ 1.94's stricter exhaustivity check. gix-config does # not enable these features through its own feature graph. gix-hash = { version = "0.25", features = ["sha1"] } -jsonc-parser = { version = "0.32.4", features = ["cst", "serde_json", "preserve_order"] } +jsonc-parser = { version = "0.33.0", features = ["cst", "serde_json", "preserve_order"] } ratatui = "0.30" serde = { version = "1", features = ["derive"] } serde_json = { version = "1", features = ["preserve_order"] } diff --git a/src/document.rs b/src/document.rs index 2839c17..83e5bf5 100644 --- a/src/document.rs +++ b/src/document.rs @@ -1217,10 +1217,8 @@ fn json_shared_scalar_leaf_keys(items: &[CstObject], id_key: &str) -> Vec