summaryrefslogtreecommitdiff
path: root/semantic_version/__init__.py
diff options
context:
space:
mode:
authorRaphaël Barrois <raphael.barrois@polyconseil.fr>2019-11-21 12:45:28 +0100
committerRaphaël Barrois <raphael.barrois@polyconseil.fr>2019-11-21 13:13:19 +0100
commitda55cf15dd71a0d9a839e7507e4fc69396c8326d (patch)
tree9fa88a3fab1f631ab82f5329f4ec0ad71fd01023 /semantic_version/__init__.py
parent371faaf6453b07f5316e356e68d7f26ae44b0df9 (diff)
downloadsemantic-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 'semantic_version/__init__.py')
0 files changed, 0 insertions, 0 deletions