Skip to content

Suggest refactoring "prerelease" into its own class #578

Open

Description

@mbtools

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions