Changelog
7.3.0
subset(r1, r2)
method to determine if r1
range is entirely
contained by r2
range.Changelog
7.2.3
includePrelease
mode where version ranges like 1.0.0 - 2.0.0
would include 3.0.0-pre
and not 1.0.0-pre
.Changelog
7.2.2
2.0.0-pre
would be included in ^1.0.0
if
includePrerelease
was set to true.Changelog
7.2.0
simplifyRange
method to attempt to generate a more human-readable
range expression that is equivalent to a supplied range, for a given set
of versions.Changelog
7.1.0
require('semver/preload')
to load the entire module without using
lazy getter methods.