Skip to content

Empty results when searching for scoped packages with small name length #89

@segrey

Description

@segrey

Currently, search for a scoped package with name pattern containing less than 4 characters finds nothing.

Actual
https://api.npms.io/v2/search?q=mat+scope:angular yields empty search results:

{"total":0,"results":[]}

While https://api.npms.io/v2/search?q=mate+scope:angular finds something:

{"total":4,"results":[...]

Expected
https://api.npms.io/v2/search?q=mat+scope:angular should also yield non-empty results.

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