You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of #1857 - hbina:fix_version_suggestion, r=locks
Fixed versions suggestion
Previously, if it had searched everything and found nothing. However, this also means it cannot find `maxVersion`, which was what it was set to before.
Thus, this commit's solution is to provide another fallback when there are no stable and non-yanked versions available. It will simply find anything that is not yet yanked even if it is unstable.
If even this fails, then we truly have nothing to offer thereby offering an empty page.
The code could be improved imo, but I am not especially well-versed in JavaScript.
0 commit comments