mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 04:51:22 +00:00
fix: regression remapping remote specifier to local file (#17935)
Tests added to deno_graph, which were previously not there. Closes #17932
This commit is contained in:
parent
033b70af19
commit
d6192ce8fd
4
Cargo.lock
generated
4
Cargo.lock
generated
@ -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",
|
||||
|
@ -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"] }
|
||||
|
@ -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(),
|
||||
},
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user