alanshaw / david-www

:eyeglasses: David helps keep your Node.js project dependencies up to date.
https://david-dm.org
MIT License
731 stars 131 forks source link

Beta is considered newer than Release Canditates #410

Closed wopian closed 5 years ago

wopian commented 5 years ago

Recently updated one of my packages to the Babel 7 release candidate and noticed its now considered out of date. rc should have a higher precedence than beta

alanshaw commented 5 years ago

Latest is meant to be the most recently published version.

There's no intelligent pre-release comparisons in there but that aside, when I look at npm view @babel/runtime time, beta.56 is not the latest version, and it wasn't released after rc.1 so it looks like there's a bug somewhere here. Can you post the URL to the repo you're looking at?

wopian commented 5 years ago

Looks like the rc was only released a few hours before I upgraded to Babel 7 (21 hours from this comment). It's now showing fine:

https://david-dm.org/wopian/kitsu?type=dev https://david-dm.org/wopian/kitsu?path=packages/kitsu https://david-dm.org/wopian/kitsu?path=packages/kitsu-core