Comments (7)
@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
from semver.
from semver.
o hey! this is awesome
from semver.
Someone with edit perms: uncheck #57 since it was reopened. :-)
from semver.
@hone So it is!
> semver.validRange('~=1.2.3')
'>=1.2.3 <1.3.0-0'
Kinda weird, imo.
from semver.
Thanks! So they are the same.
Doing a quick search, I don't see it the semver range spec changes.
from semver.
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.
from semver.
Related Issues (20)
- How to sort a list by the latest version HOT 1
- nonzero_leading_trailing_zeros requires rustc 1.53.0 HOT 1
- Error using unstable feature: nonzero_leading_trailing_zeros in nightly rust HOT 2
- Error about an unstable lint HOT 1
- Wildcard VersionReq alongside other requirements HOT 3
- `is_exact`? HOT 2
- Display impl for Version no longer supports padding
- 1.0.4 broke older nightlies HOT 1
- Why is Op non-exhaustive? HOT 1
- Doc/test requests from an audit from a vendor crate bump HOT 1
- Unable to parse v0.0.1-001 HOT 1
- Negation operator HOT 1
- v1.0.8 breaks Send/Sync impls on some public structs HOT 1
- Please yank version 1.0.8 when you get the chance HOT 1
- Implementation for range with multiple look buged when pre-release are not present HOT 1
- `cargo doc` emits errors, but then works anyway
- Error when cargo fuzz HOT 1
- Pre-release requirement not satisfied HOT 2
- `Identifier::new_unchecked()` writes to null pointer on allocation failure HOT 2
- Implement Ord for VersionReq? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from semver.