diff --git a/Cargo.lock b/Cargo.lock index 397f6063ca..7be61f838b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1093,9 +1093,9 @@ dependencies = [ [[package]] name = "deno_graph" -version = "0.44.1" +version = "0.44.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75a9fd8abbf9fd7e79762232611c188762b495919e1e8920bfd3d74b323edae3" +checksum = "1a2cb8c414852294d5fb23d265725bbf1fab9608296e04301440dba14fef71e5" dependencies = [ "anyhow", "data-url", diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 060a91fa1a..dc90d34e5b 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -46,7 +46,7 @@ deno_ast = { workspace = true, features = ["bundler", "cjs", "codegen", "dep_gra deno_core = { workspace = true, features = ["include_js_files_for_snapshotting"] } deno_doc = "0.57.0" deno_emit = "0.16.0" -deno_graph = "0.44.1" +deno_graph = "=0.44.2" deno_lint = { version = "0.40.0", features = ["docs"] } deno_lockfile.workspace = true deno_runtime = { workspace = true, features = ["dont_create_runtime_snapshot", "include_js_files_for_snapshotting"] } diff --git a/cli/graph_util.rs b/cli/graph_util.rs index 3578601a71..31645824d8 100644 --- a/cli/graph_util.rs +++ b/cli/graph_util.rs @@ -442,6 +442,7 @@ mod test { specifier: input.to_string(), range: Range { specifier, + text: "".to_string(), start: Position::zeroed(), end: Position::zeroed(), }, @@ -458,6 +459,7 @@ mod test { let err = ResolutionError::InvalidSpecifier { range: Range { specifier, + text: "".to_string(), start: Position::zeroed(), end: Position::zeroed(), }, diff --git a/cli/lsp/completions.rs b/cli/lsp/completions.rs index b89aec6c98..0c27500e2a 100644 --- a/cli/lsp/completions.rs +++ b/cli/lsp/completions.rs @@ -681,6 +681,7 @@ mod tests { &text_info, &Range { specifier: ModuleSpecifier::parse("https://deno.land").unwrap(), + text: "".to_string(), start: deno_graph::Position { line: 0, character: 0, @@ -705,6 +706,7 @@ mod tests { &text_info, &Range { specifier: ModuleSpecifier::parse("https://deno.land").unwrap(), + text: "".to_string(), start: deno_graph::Position { line: 0, character: 0,