-
Notifications
You must be signed in to change notification settings - Fork 650
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
Version-Numbers are sorted lexically? alpha9 ist "newer" than alpha31 #58
Comments
Bad guess. :) It seems to be a correct behaviour.
Sinopia is using semver sort provided by semver package. But it's the same algorithm npm itself is using. For example, Note that
So you might consider filing a bug report against zombie package asking to change their alpha numbering system. |
I will do this.... but one question is open: why is it working with npm directly, but not with sinopia? is it possible to "stick" the version on sinopa site, not on my package.json ? |
It works with npm because "latest" tag is set. Sinopia ignores this tag for a number of reasons, but it might be changed in the future. |
Starting from [email protected], behaviour of "latest" tag is consistent with npm registry. So, it should work now. closing as duplicate of #50 |
We saw this, when installing https://www.npmjs.org/package/zombie
Via Sinopia Version 2.0.0-alpha9 is installed, without it 2.0.0-alpha31 will be used.
I guess this is not the behaviour it should be, right?
The text was updated successfully, but these errors were encountered: