Skip to content

I don't think the ~ is equivalent to rubygem's ~> #112

@aarongray

Description

@aarongray

In your readme, it says "Note: the ~ is equivalent to rubygem's ~>." I believe they are similar, but not the exact same.

For node-semver, I believe that both ~1.2 and ~1.2.0 will not work with version 1.3. But for rubygem's, ~> 1.2 will work with version 1.3 but ~> 1.2.0 will not work with version 1.3.

See here and here.

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions