Unexpected behaviour with updates --patch
JamieMason opened this issue · 3 comments
JamieMason commented
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.
silverwind commented
Yes this is almost certainly a bug, I think the fact that you're on a prerelease tag confuses it, will check.
silverwind commented
Fixed in 8.0.2.
JamieMason commented
Thanks @silverwind 🤝