mirror of
https://github.com/denoland/deno.git
synced 2025-07-24 05:35:33 +00:00
fix(jsr): exclude yanked versions from 'deno add' and completions (#23113)
This commit is contained in:
parent
bca0fe1cde
commit
d347e73f5a
3 changed files with 13 additions and 6 deletions
|
@ -119,7 +119,7 @@ impl NpmFetchResolver {
|
|||
let maybe_get_nv = || async {
|
||||
let name = req.name.clone();
|
||||
let package_info = self.package_info(&name).await?;
|
||||
// Find the first matching version of the package which is cached.
|
||||
// Find the first matching version of the package.
|
||||
let mut versions = package_info.versions.keys().collect::<Vec<_>>();
|
||||
versions.sort();
|
||||
let version = versions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue