You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When including all prerelease versions, a tilde range like ~1.2.* does not include prerelease versions like 1.2.0-rc, but the X-range 1.2.* it is the "same as" does.
Expected Behavior
As stated by the readme and what seems to make sense for the way the >= operator works with X-ranges, ~1.2.* should include 1.2.0-rc when using the include prerelease option.
Also, note that the expected behavior is consistent with the caret operator for which ^1.2.* includes 1.2.0-rc when using the include prerelease option.
Is there an existing issue for this?
Current Behavior
When including all prerelease versions, a tilde range like
~1.2.*
does not include prerelease versions like1.2.0-rc
, but the X-range1.2.*
it is the "same as" does.Expected Behavior
As stated by the readme and what seems to make sense for the way the
>=
operator works with X-ranges,~1.2.*
should include1.2.0-rc
when using the include prerelease option.Also, note that the expected behavior is consistent with the caret operator for which
^1.2.*
includes1.2.0-rc
when using the include prerelease option.Steps To Reproduce
Environment
The text was updated successfully, but these errors were encountered: