const r1 = new SemverRange('^1.2.3');
const r2 = new SemverRange('~1.2.5');
r1.gt(r2);
currently this will return false, when we should really be returning true for this case. That is, range comparisons should be based on comparing the upper bound not the lower bound.
For the range comparison:
currently this will return
false
, when we should really be returningtrue
for this case. That is, range comparisons should be based on comparing the upper bound not the lower bound.