Skip to content

Ensure versions are sorted in <scope>/<package>/meta.json file #1123

Closed as duplicate of#680
@dsherret

Description

@dsherret

This isn't sorted: https://jsr.io/@david/dax/meta.json

{"scope":"david","name":"dax","latest":"0.43.1","versions":{"0.43.1":{},"0.43.0":{},"0.41.0":{},"0.40.1":{},"0.42.0":{},"0.39.2":{},"0.40.0":{}}}

Probably it should be because then a binary search could be done on the versions. Maybe sorted newest to oldest (most important to least important)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions