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
inc when called with an instance of SemVer will affect the provided SemVer object (if no opts are given, see Steps to Reproduce). This leads to unexpected behaviour for a function that could be expected to be pure.
When
n/a
Where
n/a
How
Current Behavior
inc will do the operation on the SemVer object provided in parameters, except if semver is created with loose or includePrereleaseSemVer.
What / Why
When
Where
How
Current Behavior
inc
will do the operation on the SemVer object provided in parameters, except if semver is created withloose
orincludePrereleaseSemVer
.Steps to Reproduce
Expected Behavior
inc
should never modify the provided SemVer object.Who
References
The text was updated successfully, but these errors were encountered: