npm / registry-issue-archive

An archive of the old npm registry issue tracker
https://npm.community
249 stars 47 forks source link

Incorrect number of dependents shown on the npm package site. #371

Open JureSotosek opened 6 years ago

JureSotosek commented 6 years ago

A page of every package on npm includes a stat which shows how many packages are dependent on it(dependents) and that number seems to be incorrect.

For example looking at the "base" package site (https://www.npmjs.com/package/base), its says there are 29 dependents but checking the actual list of dependents i can only count 28.

I came to the same conclusion with many other packages, doing my own aggregation on a replicated instance of the npm-registry.

There seems to be a problem with deleted and newly added packages not being taken in to account.