libraries.io icon indicating copy to clipboard operation
libraries.io copied to clipboard

wrong latest_download_url for scoped packages in the API of NPM

Open yzlzbql opened this issue 1 year ago • 0 comments

When I use the API (https://libraries.io/api/search?order=desc&platforms=npm&sort=created_at&api_key=KEY) to get the newly published packages of NPM, it provides the wrong latest_download_url for all scoped packages.

For example, it should be "https://registry.npmjs.org/@fish-cli/template-vue3/-/template-vue3-1.0.0.tgz" for the package @fish-cli/template-vue3 but it provides "https://registry.npmjs.org/@fish-cli/template-vue3/-/@fish-cli/template-vue3-1.0.0.tgz".

Hoping for some help. Thanks!

yzlzbql avatar Jun 28 '23 01:06 yzlzbql