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
Bower resolves range >=1.2.x <=1.4.x
incorrectly
#1817
Comments
peterkc
added a commit
to ZephyrHealth/bower
that referenced
this issue
Jul 12, 2015
Upgrading to latest version of semver to resolve (bower#1817, bower#1845). Possible breaking changes in regards to the way semvers handles pre-releases. If a version has a prerelease tags (for example, 1.2.3-alpha.3) then it will only be allowed to satisfy comparator sets if at least one comparator with the same [major, minor, patch] tuple also has a prerelease tag. For example, the range >1.2.3-alpha.3 would be allowed to match the version 1.2.3-alpha.7, but it would not be satisfied by 3.4.5-alpha.9. See [semvers](https://github.com/npm/node-semver#prerelease-tags) additional details.
peterkc
added a commit
to ZephyrHealth/bower
that referenced
this issue
Jul 12, 2015
Upgrading to latest version of semver to fix (bower#1817, bower#1845, bower#1851). Possible breaking changes in regards to the way semvers handles pre-releases. If a version has a prerelease tags (for example, 1.2.3-alpha.3) then it will only be allowed to satisfy comparator sets if at least one comparator with the same [major, minor, patch] tuple also has a prerelease tag. For example, the range >1.2.3-alpha.3 would be allowed to match the version 1.2.3-alpha.7, but it would not be satisfied by 3.4.5-alpha.9. See [semvers](https://github.com/npm/node-semver#prerelease-tags) additional details.
peterkc
added a commit
to ZephyrHealth/bower
that referenced
this issue
Jul 12, 2015
Upgrading to latest version of semver to fix (bower#1817, bower#1845, bower#1851). Possible breaking changes in regards to the way semvers handles pre-releases. If a version has a prerelease tags (for example, 1.2.3-alpha.3) then it will only be allowed to satisfy comparator sets if at least one comparator with the same [major, minor, patch] tuple also has a prerelease tag. For example, the range >1.2.3-alpha.0 would be allowed to match the version 1.2.3-alpha.7, but it would not be satisfied by * or 1.2.3. See [semvers](https://github.com/npm/node-semver#prerelease-tags) additional details.
peterkc
added a commit
to ZephyrHealth/bower
that referenced
this issue
Jul 17, 2015
Upgrading to latest version of semver to fix (bower#1817, bower#1845, bower#1851). Possible breaking changes in regards to the way semvers handles pre-releases. If a version has a prerelease tags (for example, 1.2.3-alpha.3) then it will only be allowed to satisfy comparator sets if at least one comparator with the same [major, minor, patch] tuple also has a prerelease tag. For example, the range >1.2.3-alpha.0 would be allowed to match the version 1.2.3-alpha.7, but it would not be satisfied by * or 1.2.3. See [semvers](https://github.com/npm/node-semver#prerelease-tags) additional details.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Simplest way to reproduce: add following dependencies to your
bower.json
:When you run
bower install
you get following output:According to the semver calculator version
1.4.0
matches the range>=1.2.x <=1.4.x
and it should be used.The text was updated successfully, but these errors were encountered: