-
Notifications
You must be signed in to change notification settings - Fork 509
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
^0.x.y always equivalent to =0.x.y #92
Conversation
More in line with specification at http://semver.org
Please make this happen in a major npm bump. edit: looks like this has landed in the npm 2.0 alpha 👍 cc @domenic |
Maybe nerfing of peerDependencies (#5080) should be pulled into 2.0.0 as well, to get all of the pain of this out of the way at once. Either way, yes, this is not a change for npm < 2.0.0. |
Yep, it's in SemVer 3.x, npm 2.x |
SemVer 3.x mistakenly appears in npm < 2.0.0 currently also though – I opened npm/read-installed#28 regarding that. npm 1.4's |
@voxpelli Don't run a mass global Perhaps |
Also, if you're going to add special 0.x semantics to |
@timoxley I wouldn't answer the door soon, because it's probably @rvagg with a claw hammer. 💀 The whole reason |
+1, ~ is a lost cause. Really glad we were able to fix ^, but no need to mess with ~ |
That said, yeah, we probably should have bumped |
ok, so if |
@timoxley The purpose of this change was to reconcile the behavior of |
Here are the semantics:
It turns out that we were not following the semver.org specification. So that's fixed now. Perhaps npm 2.x's These are both separate issues. |
See npm/npm#5695
CC @ceejbot @othiym23