Skip to content

[bug] diff("1.7.2-1", "1.8.1") returns patch, not minor #606

@erikjalevik

Description

@erikjalevik

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

diff("1.7.2-1", "1.8.1") returns "patch".

Expected Behavior

I would have expected it to return "minor" since we're moving from 1.7 to 1.8.

Steps To Reproduce

  1. In this environment...
  2. With this config...
  3. Run '...'
  4. See error...

Environment

  • npm:
  • Node:
  • OS:
  • platform:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugthing that needs fixing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions