-
Notifications
You must be signed in to change notification settings - Fork 490
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
Ranges can not be joined with either a space #21
Comments
Update. It seams, that not the space is the problem, but the position of an exact version. All this test cases should have result true.
right, no exact version
wrong, exact version at last position
wrong, exact version at last position
right, exact version on third position and last
right, exact version on second respectively not last position
wrong, exact version on second respectively last position
wrong, exact version on second respectively last position
right, exact version on first position
right, no exact version only ranges
right, no exact version only ranges |
This seems to be a bug in the |
Fixed in 1.1.3 |
thanks a lot for very fast bugfixing |
In the documentation is written:
Ranges can be joined with either a space (which implies "and") [...]
But it does not work with space. It always return false.
Here is an example:
all this cases should return true.
I tested is with semver@1.0.14 and semver@1.1.2
The text was updated successfully, but these errors were encountered: