silverwind/updates

Unexpected behaviour with updates --patch

JamieMason opened this issue · 3 comments

Hi, thanks for this great project.

I found something which to me looks like it could be a bug and I thought I should show you. When running updates --patch I received this entry:

styled-components  2.5.0-1  4.2.0  https://github.com/styled-components/styled-components

See what you think but, looking at the output of npm view styled-components versions, I would expect that no patch updates are available for styled-components@2.5.0-1 as the next highest version after 2.5.0-1 is 3.0.1.

EDIT: Just noticed this also happens with updates --minor

Thank you for your time.

Yes this is almost certainly a bug, I think the fact that you're on a prerelease tag confuses it, will check.

Fixed in 8.0.2.

Thanks @silverwind 🤝