Skip to content

Commit

Permalink
feat: deno_graph 0.57 (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret authored Oct 13, 2023
1 parent 958413c commit 816d1ae
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 4 deletions.
5 changes: 3 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ path = "src/examples/viewer.rs"
anyhow = "1"
base64 = "0.21.0"
deno_ast = { version = "0.29.3", features = ["transpiling"] }
deno_graph = "0.56.0"
deno_graph = "0.57.0"
deno_npm = "0.15.0"
deno_semver = "0.5.0"
futures = "0.3.26"
Expand Down
2 changes: 1 addition & 1 deletion lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ crate-type = ["cdylib"]
[dependencies]
anyhow = "1"
console_error_panic_hook = "0.1.7"
deno_graph = "0.56.0"
deno_graph = "0.57.0"
eszip = { path = "../" }
import_map = "0.15.0"
js-sys = { version = "0.3.64" }
Expand Down
1 change: 1 addition & 0 deletions lib/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ impl Resolver for GraphResolver {
&self,
specifier: &str,
referrer: &deno_graph::ModuleSpecifier,
_mode: deno_graph::source::ResolutionMode,
) -> Result<deno_graph::ModuleSpecifier, ResolveError> {
if let Some(import_map) = &self.0 {
import_map
Expand Down
1 change: 1 addition & 0 deletions src/examples/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ impl deno_graph::source::Resolver for Resolver {
&self,
specifier: &str,
referrer: &deno_graph::ModuleSpecifier,
_mode: deno_graph::source::ResolutionMode,
) -> Result<deno_graph::ModuleSpecifier, ResolveError> {
if let Some(import_map) = &self.0 {
import_map
Expand Down
1 change: 1 addition & 0 deletions src/v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1221,6 +1221,7 @@ mod tests {
&self,
specifier: &str,
referrer: &ModuleSpecifier,
_mode: deno_graph::source::ResolutionMode,
) -> Result<ModuleSpecifier, ResolveError> {
self
.0
Expand Down

0 comments on commit 816d1ae

Please sign in to comment.