diff --git a/cli/tools/registry/pm.rs b/cli/tools/registry/pm.rs index 90238b8903..52f3310ba4 100644 --- a/cli/tools/registry/pm.rs +++ b/cli/tools/registry/pm.rs @@ -247,7 +247,7 @@ pub async fn add( .collect::>(); let stream_of_futures = deno_core::futures::stream::iter(package_futures); - let mut buffered = stream_of_futures.buffer_unordered(10); + let mut buffered = stream_of_futures.buffered(10); while let Some(package_and_version_result) = buffered.next().await { let package_and_version = package_and_version_result?;