From bea762f7c5fc9c1eef6b95887172634bcc80cbea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Tue, 23 Apr 2024 18:51:05 +0100 Subject: [PATCH] chore: update deno_npm (#179) Required for https://github.com/denoland/deno/pull/23496. --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- src/v2.rs | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ee06bc1..4257d79 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -355,9 +355,9 @@ dependencies = [ [[package]] name = "deno_npm" -version = "0.17.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53a333104d3fb6aa52e499384e523aefc09d3ac8ecd05ca7f65f856044fbcb09" +checksum = "bcd4f91bb7139c031791f135aa1785e08a828795d5daaefe981b9f9292f66e91" dependencies = [ "anyhow", "async-trait", diff --git a/Cargo.toml b/Cargo.toml index 8e08631..d58dbea 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,7 +37,7 @@ anyhow = "1" base64 = "0.21.0" deno_ast = { version = "0.37.1", features = ["transpiling"] } deno_graph = { workspace = true } -deno_npm = "0.17.0" +deno_npm = "0.18.0" deno_semver = "0.5.4" futures = "0.3.26" hashlink = "0.8.2" diff --git a/src/v2.rs b/src/v2.rs index 6eba8f6..0d923b5 100644 --- a/src/v2.rs +++ b/src/v2.rs @@ -999,6 +999,7 @@ async fn read_npm_section( dist: Default::default(), dependencies, optional_dependencies: Default::default(), + bin: None, }); } let mut root_packages = HashMap::with_capacity(npm_specifiers.len()); @@ -2103,6 +2104,7 @@ mod tests { system: Default::default(), dist: Default::default(), optional_dependencies: Default::default(), + bin: None, } } }