summaryrefslogtreecommitdiff
path: root/cli/npm/installer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/npm/installer.rs')
-rw-r--r--cli/npm/installer.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/npm/installer.rs b/cli/npm/installer.rs
index adb4344ee..9e7b413b4 100644
--- a/cli/npm/installer.rs
+++ b/cli/npm/installer.rs
@@ -8,7 +8,7 @@ use deno_core::futures::stream::FuturesOrdered;
use deno_core::futures::StreamExt;
use deno_npm::registry::NpmRegistryApi;
use deno_npm::registry::NpmRegistryPackageInfoLoadError;
-use deno_semver::npm::NpmPackageReq;
+use deno_semver::package::PackageReq;
use crate::args::PackageJsonDepsProvider;
use crate::util::sync::AtomicFlag;
@@ -27,11 +27,11 @@ struct PackageJsonDepsInstallerInner {
impl PackageJsonDepsInstallerInner {
pub fn reqs_with_info_futures<'a>(
&self,
- reqs: &'a [&'a NpmPackageReq],
+ reqs: &'a [&'a PackageReq],
) -> FuturesOrdered<
impl Future<
Output = Result<
- (&'a NpmPackageReq, Arc<deno_npm::registry::NpmPackageInfo>),
+ (&'a PackageReq, Arc<deno_npm::registry::NpmPackageInfo>),
NpmRegistryPackageInfoLoadError,
>,
>,