From c4eb08531dedbc0e35905a867fed22ba7972a418 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Fri, 13 Oct 2023 17:44:19 +0900 Subject: [PATCH] feat: deno_graph 0.57 (#142) --- Cargo.lock | 5 +++-- rs-lib/Cargo.toml | 2 +- rs-lib/src/lib.rs | 1 + rust-toolchain.toml | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9cb7676..47b3ce1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -266,9 +266,9 @@ dependencies = [ [[package]] name = "deno_graph" -version = "0.56.0" +version = "0.57.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36ea06eb5d80c3b22d93b5bf7c48280a4dddf00f0f775d5181ab68ffcb64d0fb" +checksum = "5b943d9c20f0823bfeb52d6fd9bf073c2567cd708b7422d2052cb259124089ba" dependencies = [ "anyhow", "async-trait", @@ -276,6 +276,7 @@ dependencies = [ "deno_ast", "deno_semver", "futures", + "import_map", "indexmap 2.0.0", "monch", "once_cell", diff --git a/rs-lib/Cargo.toml b/rs-lib/Cargo.toml index 18d71ca..b6ba977 100644 --- a/rs-lib/Cargo.toml +++ b/rs-lib/Cargo.toml @@ -12,7 +12,7 @@ license = "MIT" anyhow = "1.0.44" base64 = "0.13.0" deno_ast = { version = "0.29.3", features = ["bundler", "codegen", "module_specifier", "proposal", "react", "sourcemap", "transforms", "typescript", "visit", "transpiling"] } -deno_graph = "0.56.0" +deno_graph = "0.57.0" escape8259 = "0.5.2" futures = "0.3.17" import_map = "0.15.0" diff --git a/rs-lib/src/lib.rs b/rs-lib/src/lib.rs index 7a6c22a..74f647f 100644 --- a/rs-lib/src/lib.rs +++ b/rs-lib/src/lib.rs @@ -164,6 +164,7 @@ impl deno_graph::source::Resolver for ImportMapResolver { &self, specifier: &str, referrer: &ModuleSpecifier, + _mode: deno_graph::source::ResolutionMode, ) -> Result { let maybe_import_map = &self.0; diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 2fe83e3..288c704 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.71.0" +channel = "1.73.0" components = [ "clippy", "rustfmt" ] \ No newline at end of file