- Notifications
You must be signed in to change notification settings - Fork 543
Closed
Labels
Needs Documentationpull request requires docs before mergingpull request requires docs before merging
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
.
Metadata
Metadata
Assignees
Labels
Needs Documentationpull request requires docs before mergingpull request requires docs before merging