Skip to content

Issues with Unicode Handling and Missing Primary Package Links in PackageVersions API #190

Open
@a2ure123

Description

@a2ure123

Hello,

I am currently using the packageversions API to retrieve package names corresponding to Git links, but I am encountering a couple of issues:

Unicode in Package Versions: When querying package names like @nio/ui-kit\u003E2.1.7\u003Ereact-dom, which includes Unicode characters (such as \u003E for >), I am not sure how to properly query these versions. Could you provide guidance on how to handle this type of input correctly?

Missing Main Package in Dependencies: When querying a Git link like https://github.com/facebook/react, I expect the package react to be included, as it is the primary package linked to this Git repository. However, when I query via the packageversions API, the main package is not included, which causes an issue. Specifically, when I attempt to use the GetDependents endpoint to retrieve the number of dependents, the count seems much smaller than expected due to the absence of the core package. Is there a way to solve this problem and retrieve the core package as well?

Any guidance or suggestions to solve these issues would be greatly appreciated.

Thank you!

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