subset(r1, r2)
method to determine if r1
range is entirelyr2
range.includePrelease
mode where version ranges like 1.0.0 - 2.0.0
would include 3.0.0-pre
and not 1.0.0-pre
.2.0.0-pre
would be included in ^1.0.0
ifincludePrerelease
was set to true.simplifyRange
method to attempt to generate a more human-readablerequire('semver/preload')
to load the entire module without using=>
functions,rtl
option to coerce from right to left*
in semver.intersectsFix intersects
logic.
This is technically a bug fix, but since it is also a change to behavior
that may require users updating their code, it is marked as a major
version increment.
minVersion
methodloose
param to an options object, withincludePrerelease
option flag.minSatisfying
methodprerelease(v)
that returns prerelease components*
range*
with a prerelease identifier