Skip to content

Commit

Permalink
fix: added deprecated field to related instances (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
HasanAlrimawi authored Aug 19, 2024
1 parent 2e134b4 commit 36281c9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 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 @@ -49,7 +49,7 @@ async-trait = "0.1.68"
base64 = "0.21.0"
deno_ast = { workspace = true }
deno_graph = { workspace = true }
deno_npm = "0.22.0"
deno_npm = "0.23.0"
deno_semver = "0.5.4"
futures = "0.3.26"
hashlink = "0.8.2"
Expand Down
2 changes: 2 additions & 0 deletions src/v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1701,6 +1701,7 @@ async fn read_npm_section<R: futures::io::AsyncRead + Unpin>(
optional_dependencies: Default::default(),
bin: None,
scripts: Default::default(),
deprecated: Default::default(),
});
}
let mut root_packages = HashMap::with_capacity(npm_specifiers.len());
Expand Down Expand Up @@ -3705,6 +3706,7 @@ mod tests {
optional_dependencies: Default::default(),
bin: None,
scripts: Default::default(),
deprecated: Default::default(),
}
}

Expand Down

0 comments on commit 36281c9

Please sign in to comment.