diff options
author | Raphaël Barrois <raphael.barrois@polyconseil.fr> | 2019-11-21 12:45:28 +0100 |
---|---|---|
committer | Raphaël Barrois <raphael.barrois@polyconseil.fr> | 2019-11-21 13:13:19 +0100 |
commit | da55cf15dd71a0d9a839e7507e4fc69396c8326d (patch) | |
tree | 9fa88a3fab1f631ab82f5329f4ec0ad71fd01023 /README.rst | |
parent | 371faaf6453b07f5316e356e68d7f26ae44b0df9 (diff) | |
download | semantic-version-da55cf15dd71a0d9a839e7507e4fc69396c8326d.tar.gz |
Fix NpmSpec prerelease-handling.
Thanks to Nathan Walters for spotting this.
Npm ranges with a `<X.Y.Z-P` component were not properly expanded:
they were converted to:
<X.Y.0 || (>=X.Y.0 && <X.Y.Z-P && no-prerelease)
The correct expansion is:
<X.Y.0 || (>=X.Y.0-* && <X.Y.Z-P)
Closes #86.
Diffstat (limited to 'README.rst')
0 files changed, 0 insertions, 0 deletions