pastelsky / bundlephobia

🏋️ Find out the cost of adding a new frontend dependency to your project
https://bundlephobia.com
MIT License
8.92k stars 221 forks source link

Badge error for mathbox, threestrap #748

Open sritchie opened 1 year ago

sritchie commented 1 year ago

Describe the bug

I'm not sure if this is a bundlephobia issue, but when I go to generate a badge for my project "mathbox":

https://badgen.net/bundlephobia/minzip/mathbox

I see the following in the console:

image

and the badge notes "bundlephobia 429". Is there something I need to do to enable badges for this project? This seems to happen on related projects "threestrap" and "mathbox-react" too but I can't find any reference to this same problem.

pastelsky commented 1 year ago

This needs to be raised with badgen — the service. Given that bundlephobia rate limits API calls, badgen would likely need to cache the results of Bundlephobia's APIs for a while.