Skip to content

Handle empty version list in VersionRange.from_versions #192

Description

@keshav-space

VersionRange.from_versions should return None when there are no constraints.

ATM NpmVersionRange.from_versions([]) returns vers:npm/ which is incorrect. A version range without any constraints should not exist.

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions