Skip to content

Handle empty version list in VersionRange.from_versions #192

@keshav-space

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.

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