The regex pattern being used to check the version of meteor-vite only works as expected for semvers with all single digit components. If the version has a two (or more) digit component, then the effect of the current regex is that only the last digit is returned as part of the match. So, right now the checker is treating version 1.10.4 as 1.0.4, leading it to incorrectly warn about using an out of date version.
The regex pattern being used to check the version of
meteor-vite
only works as expected for semvers with all single digit components. If the version has a two (or more) digit component, then the effect of the current regex is that only the last digit is returned as part of the match. So, right now the checker is treating version1.10.4
as1.0.4
, leading it to incorrectly warn about using an out of date version.Fixes #185