fix(fmt): do not panic formatting json with multiple values (#19442)

This commit is contained in:
David Sherret 2023-06-09 12:38:38 -04:00 committed by GitHub
parent a4c760702b
commit 748a102919
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

8
Cargo.lock generated
View file

@ -1562,9 +1562,9 @@ checksum = "77c90badedccf4105eca100756a0b1289e191f6fcbdadd3cee1d2f614f97da8f"
[[package]]
name = "dprint-core"
version = "0.62.0"
version = "0.62.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d966e6047321db5f011567c1819b89972a457ab49c2f4b56f074e67a59214112"
checksum = "e6563addfa2b6c6fa96acdda0341090beba2c5c4ff6ef91f3a232a6d4dd34156"
dependencies = [
"anyhow",
"bumpalo",
@ -1576,9 +1576,9 @@ dependencies = [
[[package]]
name = "dprint-plugin-json"
version = "0.17.3"
version = "0.17.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "00905c12671f1be023a8e12915b97a701a6561bacf39221ad314884c99f55c74"
checksum = "b63039b53a600a7dc078cf9d76d6b5aad9bdb665e5a107ecdb06aef7bcc2e345"
dependencies = [
"anyhow",
"dprint-core",

View file

@ -66,7 +66,7 @@ clap_complete_fig = "=4.1.2"
console_static_text.workspace = true
data-url.workspace = true
dissimilar = "=1.0.4"
dprint-plugin-json = "=0.17.3"
dprint-plugin-json = "=0.17.4"
dprint-plugin-markdown = "=0.15.3"
dprint-plugin-typescript = "=0.85.0"
encoding_rs.workspace = true