Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: resolve Node.js version when partial version is prefix of another #29

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

dsanders11
Copy link
Member

This went undetected until it popped up on electron/lint-roller CI where it was trying to install Node.js 20.1 which started failing after 20.10.0 was released. After the release of 20.10.0, the previous version of the regex would resolve 20.1 to 20.10.0 instead of the intended 20.1.0. Small improvement to the regex fixes the issue, and I've updated the test versions on this repo to use 18.1 so that we have test coverage of the issue.

@dsanders11 dsanders11 requested a review from a team as a code owner October 25, 2024 19:27
@dsanders11 dsanders11 merged commit c951506 into main Oct 25, 2024
245 checks passed
@dsanders11 dsanders11 deleted the fix/resolve-node-version-prefix branch October 25, 2024 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants