npms-io/npms-api

Results are outdated.

Closed this issue · 3 comments

This api returns 2 packages for me, I have 4. You can try with more users, namely sindresorhus has more than 1k but this api shows around 950.

I'm seeing the same thing across a bunch of my packages. The data coming back appears to be several months old.

For example:

On NPMS search:
image

On NPM:
image

I encountered the same problem for some popular packages:

webpack: https://api.npms.io/v2/package/webpack
Current version: 5.34.2
API version: 4.44.2

typescript: https://api.npms.io/v2/package/typescript
Current version: 4.2.2
API version: 3.4.3

AnalyzedAt value seems to be several months old, how often does the API update?

The issue had to do with some errors replicating from the npm registry.

I've created a script that enqueued outdated packages to be processed. The queue has 30k packages, and is slowly analyzing them. Should be done by tomorrow or the day next.

I will close this once it's done.