ux: bug fix: fix logic used to show if an update is available
Closes #1791 (closed)
Potentially a good candidate for extracting as a separate library or at least as a testable util-like functionality.
Some edgier test cases that this solution considers (using a
and b
to denote semver-like versions):
-
a
andb
have identical version components, excepta
is a beta andb
is not -
a
andb
are betas, but onlya
has a tag
Edited by Andrew Chou