Skip to content

Commit

Permalink
fix: added deprecated field to related instances
Browse files Browse the repository at this point in the history
  • Loading branch information
HasanAlrimawi committed Aug 13, 2024
1 parent 0c28f3c commit c2e4808
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1704,6 +1704,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 @@ -3703,6 +3704,7 @@ mod tests {
optional_dependencies: Default::default(),
bin: None,
scripts: Default::default(),
deprecated: Default::default(),
}
}

Expand Down

0 comments on commit c2e4808

Please sign in to comment.