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
and one of the bugs is in the following code:
Semver#isEqualTo
if (this.type == SemverType.NPM) {
if (this.getMajor() != version.getMajor()) return false;
if (version.getMinor() == null) return true;
if (version.getPatch() == null) return true;
}
if (version.getPatch() == null) return true;
The text was updated successfully, but these errors were encountered:
npitch
changed the title
Compare versions without patch version returns unexpected results
Compare versions without patch level returns unexpected results
Aug 27, 2021
This is the result from executing the following code:
and one of the bugs is in the following code:
Semver#isEqualTo
if (version.getPatch() == null) return true;
The text was updated successfully, but these errors were encountered: