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

Versions without patch number #26

Open
Bojan7B opened this issue Jul 16, 2020 · 1 comment
Open

Versions without patch number #26

Bojan7B opened this issue Jul 16, 2020 · 1 comment
Assignees

Comments

@Bojan7B
Copy link

Bojan7B commented Jul 16, 2020

It is pretty common to have versions without patch number, which is not handled in this library. E.g:
"1.2" -> will be parsed as 0.0.0 and I think that 1.2.0 is expected

@AlexanderNey
Copy link
Owner

@Bojan7B Thanks for filing this issue. The Semver spec is pretty strict but I agree the library could be more versatile if that fuzzy parsing was possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants