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
The docs were clarified in cb1ca1d to better explain this. If you have a specific version, you can match all prereleases of that version with ^1.0.0-a. That will match 1.0.0-beta, 1.0.0-canary, etc. See #329 for more info.
In the docs it is written that
*
matches any version. But it doesn't matches pre-release versions.In this issue there is an example, how to match some particular pre-release versions, but it is still does not works for any versions. For example,
How to match any version in semver?
By
any
I mean any valid version, including1.0.0
0.0.0-stub
2.1.3-rc45
etc.I use
semver@7.3.4
andnode@v12.14.1
The text was updated successfully, but these errors were encountered: