Extending sver just slightly to support a || b ranges in SemverRange would significantly bring up the compatibility with Isaac's semver.
It would be as simple as a split('||') then forming unions. I still don't see a need for intersection ranges at all (&&), but if worthwhile use cases come up we could even consider that too.
Extending sver just slightly to support
a || b
ranges inSemverRange
would significantly bring up the compatibility with Isaac's semver.It would be as simple as a
split('||')
then forming unions. I still don't see a need for intersection ranges at all (&&
), but if worthwhile use cases come up we could even consider that too.