Closed atcol closed 8 years ago
The rules of the tilde ranges were copied from those of the node-semver
and if you refer to its documentation you will find the exact example you're asking about
~1.2.3 := >=1.2.3 <1.(2+1).0 := >=1.2.3 <1.3.0
which states that 1.3.0
is not included, hence doesn't satisfy ~1.2.3
.
So in this regard jsemver
's behavior is correct.
That's right. I'm sorry, misread the node semver myself. Thank you!
My understanding is that the following expression should print true (in Groovy for brevity):
but it in fact prints false.
Can you clarify if this is an issue or not? Is there a workaround if so?