diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-10-25 13:37:26 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-25 13:37:26 -0400 |
commit | 4626b11d032e964c64887e884f24b4359d3642bf (patch) | |
tree | b0316f3b4f40da4cc0f37ac65911024a5b4fb65c | |
parent | 38c7af456518ac4fdbd36e3bfa731c38195bb773 (diff) |
fix(install): regression - do not panic when config file contains \r\n newlines (#26547)
This is specifically for `deno install`/`deno add` commands.
* https://github.com/dprint/jsonc-parser/pull/49
Closes https://github.com/denoland/deno/issues/26543
-rw-r--r-- | Cargo.lock | 4 | ||||
-rw-r--r-- | Cargo.toml | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Cargo.lock b/Cargo.lock index 6e76f27c2..3612cc23b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4005,9 +4005,9 @@ dependencies = [ [[package]] name = "jsonc-parser" -version = "0.26.1" +version = "0.26.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57c78ad024523b61a2f20b1cad47413dd24db744a15d3d1b7276e69d1bee106c" +checksum = "b558af6b49fd918e970471374e7a798b2c9bbcda624a210ffa3901ee5614bc8e" dependencies = [ "serde_json", ] diff --git a/Cargo.toml b/Cargo.toml index 7ca53699e..37fed8168 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -137,7 +137,7 @@ hyper-util = { version = "=0.1.7", features = ["tokio", "client", "client-legacy hyper_v014 = { package = "hyper", version = "0.14.26", features = ["runtime", "http1"] } indexmap = { version = "2", features = ["serde"] } ipnet = "2.3" -jsonc-parser = { version = "=0.26.1", features = ["serde"] } +jsonc-parser = { version = "=0.26.2", features = ["serde"] } lazy-regex = "3" libc = "0.2.126" libz-sys = { version = "1.1.20", default-features = false } |