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

Tracking issue: NPM compatible version ranges #58

Closed
1 of 4 tasks
mbrubeck opened this issue Oct 30, 2015 · 7 comments
Closed
1 of 4 tasks

Tracking issue: NPM compatible version ranges #58

mbrubeck opened this issue Oct 30, 2015 · 7 comments

Comments

@mbrubeck
Copy link
Contributor

@steveklabnik

This comment has been minimized.

@ashleygwilliams

This comment has been minimized.

@kamalmarhubi

This comment has been minimized.

@hone hone mentioned this issue Sep 11, 2020
8 tasks
hone added a commit to hone/semver that referenced this issue Sep 11, 2020
@hone
Copy link
Contributor

hone commented Nov 10, 2020

@isaacs Is ~= a valid semver operator? I noticed it works on https://semver.npmjs.com. I can't tell the difference between it and ~. For context, we're looking to replace a piece of functionality on Heroku with a Rust binary that does semver version resolution for node and yarn versions. In the wild we're seeing ~=14.4. /cc @danielleadams

@isaacs
Copy link

isaacs commented Nov 10, 2020

@hone So it is!

> semver.validRange('~=1.2.3')
'>=1.2.3 <1.3.0-0'

Kinda weird, imo.

@hone
Copy link
Contributor

hone commented Nov 10, 2020

Thanks! So they are the same.

Doing a quick search, I don't see it the semver range spec changes.

@dtolnay
Copy link
Owner

dtolnay commented May 25, 2021

As of 1.0.0, this is no longer in scope for this crate, as described by https://github.com/dtolnay/semver/tree/1.0.0-rc.1#scope-of-this-crate. A separate https://crates.io/crates/node-semver crate may or may not happen depending on who is interested in maintaining it.

@dtolnay dtolnay closed this as completed May 25, 2021
Repository owner locked and limited conversation to collaborators May 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants