Closed
Description
$ node -e "console.log(require('semver').Range('>3'))"
Range {
options: { loose: false, includePrerelease: false },
loose: false,
includePrerelease: false,
raw: '>3',
set: [ [ [Comparator] ] ],
range: '>=4.0.0' }
This behavior of the greater than range with missing minor/patch is not documented. Based on the documentation I had expected that >3
and >3.0.0
were the same range.
A similar thing happens with >3.0
becoming >=3.1.0
, though >3.0.0
remains >3.0.0
.