Skip to content

Issue with tilde constraint #156

Open
@cagataygurturk

Description

It seems that there is an issue with tilde constraints. Version "0.1.0" matches "~0.0.0" although it should not.

Adding the following test cases causes a failure:

https://github.com/cagataygurturk/semver/commit/32e10671da3fbb7110f79679587e6799945c27ef#diff-38863e0a01899c69c60ca35df3a357eb9839bc41ea818352ee5240c728234920

Thanks.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions