node-semver icon indicating copy to clipboard operation
node-semver copied to clipboard

Suggest refactoring "prerelease" into its own class

Open mbtools opened this issue 2 years ago • 0 comments

Just an observation: Many issues past and present are related to the "prerelease" part of node-semver.

I think the package would greatly benefit from consolidating related code and exposing "prerelease" as its own class (with format, toString, compare, inc methods, and its own set of tests). Maybe something to consider for v8.

mbtools avatar Jun 27 '23 09:06 mbtools