From 1a0fbc4c3cdba5901d4cb096cb1beb828fbc8427 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Fri, 17 May 2024 13:14:36 -0400 Subject: [PATCH] fix(npm): regression deserializing JSON for some npm packages (#23868) * https://github.com/denoland/deno_npm/pull/53 Closes https://github.com/denoland/deno/issues/23862 --- Cargo.lock | 5 +++-- cli/Cargo.toml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5950194d63..17ad843a5b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1726,9 +1726,9 @@ dependencies = [ [[package]] name = "deno_npm" -version = "0.20.1" +version = "0.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9db4bc4de6c0d2935662dcd99542b03a0db5f1778bada7ef2afc074e7819068d" +checksum = "ab92fbe02da596534ae84e2efca2f7dc5e26ca5fc972bf17701f0899784c2a8f" dependencies = [ "anyhow", "async-trait", @@ -1738,6 +1738,7 @@ dependencies = [ "log", "monch", "serde", + "serde_json", "thiserror", "url", ] diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 626b06f4e5..51fc8ef3ba 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -72,7 +72,7 @@ deno_emit = "=0.40.3" deno_graph = { version = "=0.75.2", features = ["tokio_executor"] } deno_lint = { version = "=0.58.4", features = ["docs"] } deno_lockfile.workspace = true -deno_npm = "=0.20.1" +deno_npm = "=0.20.2" deno_runtime = { workspace = true, features = ["include_js_files_for_snapshotting"] } deno_semver = "=0.5.4" deno_task_shell = "=0.16.1"