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
It is by design, because 3.0.0-dev. is not greater than 3.0.0, for example, before release you can use -alpha/-beta (and any other prerelease tags), and they are less then 3.0.0, you can find more infromation here https://github.com/npm/node-semver#prerelease-tags
^1.2.3-beta.2 := >=1.2.3-beta.2 <2.0.0-0 Note that prereleases in the 1.2.3 version will be allowed, if they are greater than or equal to beta.2. So, 1.2.3-beta.4 would be allowed, but 1.2.4-beta.2 would not, because it is a prerelease of a different [major, minor, patch] tuple.
Bug report
Running the function
satisfy
from https://github.com/webpack/webpack/blob/main/lib/util/semver.js results in a possible bug. Specifically:but I expect 3.0.0-dev.5 to be greater than 3.0.0 so I expect the function to return true. Am I wrong?
The text was updated successfully, but these errors were encountered: