build(deps): update rust crate jsonc-parser to 0.32.1 (#7333)

* build(deps): update rust crate jsonc-parser to 0.32.1

* chore: handle update

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
This commit is contained in:
renovate[bot]
2026-03-25 20:18:06 +01:00
committed by GitHub
parent ed3cc53993
commit c00fa5dfd1
3 changed files with 4 additions and 4 deletions
Generated
+2 -2
View File
@@ -2106,9 +2106,9 @@ dependencies = [
[[package]]
name = "jsonc-parser"
version = "0.31.0"
version = "0.32.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "45157f76d8fbe134e0c97403d69ac48989a1e0249a058b20f9f5eeff11bb09f0"
checksum = "8de0ffda8def4eb16ed430641db8056c2509b20e38f2dd327bdb4c83239f88c4"
dependencies = [
"serde",
]
+1 -1
View File
@@ -44,7 +44,7 @@ dunce = "1.0.5"
# default feature restriction addresses https://github.com/starship/starship/issues/4251
gix = { version = "0.81.0", default-features = false, features = ["max-performance-safe", "revision", "zlib-rs", "status", "sha1"] }
indexmap = { version = "2.13.0", features = ["serde"] }
jsonc-parser = { version = "0.31.0", features = ["serde"] }
jsonc-parser = { version = "0.32.1", features = ["serde"] }
log = { version = "0.4.29", features = ["std"] }
# notify-rust is optional (on by default) because the crate doesn't currently build for darwin with nix
# see: https://github.com/NixOS/nixpkgs/issues/160876
+1 -1
View File
@@ -81,7 +81,7 @@ fn get_jsr_package_version(context: &Context, config: &PackageConfig) -> Option<
})?;
let json_content: json::Value = if filename.ends_with(".jsonc") {
jsonc_parser::parse_to_serde_value(&contents, &ParseOptions::default()).ok()??
jsonc_parser::parse_to_serde_value(&contents, &ParseOptions::default()).ok()?
} else {
json::from_str(&contents).ok()?
};