Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect download stats shown for packages that start with "npm" #169

Open
slieschke opened this issue Jan 31, 2023 · 0 comments
Open

Incorrect download stats shown for packages that start with "npm" #169

slieschke opened this issue Jan 31, 2023 · 0 comments

Comments

@slieschke
Copy link

slieschke commented Jan 31, 2023

NPM Trends incorrectly reports the download stats of the npm package for any package that starts with "npm". For example:

CleanShot 2023-01-31 at 13 39 33

This appears to be a bug in the NPM trends proxy, for example https://npm-trends-proxy.uidotdev.workers.dev/npm/downloads/range/2023-01-01:2023-01-07/npmvet returns incorrect statistics (that are identical to https://npm-trends-proxy.uidotdev.workers.dev/npm/downloads/range/2023-01-01:2023-01-07/npm) compared to the correct statistics returned directly by the NPM registry API at https://api.npmjs.org/downloads/range/2023-01-01:2023-01-07/npmvet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant