diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-02-15 13:20:40 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-15 13:20:40 -0500 |
commit | c4b9a91e27a32c0949688034c2449936c01a44a9 (patch) | |
tree | b274b83aa8a84428f3d1401535845e24969108c0 /cli/npm/tarball.rs | |
parent | b34e751a5b2193e8ce65203386e00147c08a7a64 (diff) |
refactor: use deno_graph's semver and npm structs (#17791)
Diffstat (limited to 'cli/npm/tarball.rs')
-rw-r--r-- | cli/npm/tarball.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/npm/tarball.rs b/cli/npm/tarball.rs index 3abf4f12f..302c6308a 100644 --- a/cli/npm/tarball.rs +++ b/cli/npm/tarball.rs @@ -7,13 +7,13 @@ use std::path::PathBuf; use deno_core::anyhow::bail; use deno_core::error::AnyError; +use deno_graph::semver::Version; use flate2::read::GzDecoder; use tar::Archive; use tar::EntryType; use super::cache::with_folder_sync_lock; use super::registry::NpmPackageVersionDistInfo; -use crate::semver::Version; pub fn verify_and_extract_tarball( package: (&str, &Version), |