JorgenVatle / meteor-vite

⚡ Replace Meteor's bundler with Vite for blazing fast build-times
MIT License
32 stars 10 forks source link

Update semver parsing regex #188

Closed PooMaster closed 2 months ago

PooMaster commented 3 months ago

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.

Fixes #185

JorgenVatle commented 2 months ago

Oh, good catch! Thank you for resolving the issue 🙌