badges / shields

Concise, consistent, and legible badges in SVG and raster format
https://shields.io
Creative Commons Zero v1.0 Universal
23.87k stars 5.51k forks source link

reduce overhead of NPM Last Update badge; test [npm] #10666

Closed chris48s closed 1 week ago

chris48s commented 1 week ago

In this PR, I am following up on my suggestion in https://github.com/badges/shields/pull/10641#issuecomment-2453554943

This will reduce the amount of json we have to download and parse in order to serve a badge in the case where when a tag is not specified. For packages (e.g: npm) that produce a really large response, it would make it possible to use the tag-less variant.

github-actions[bot] commented 1 week ago
Warnings
:warning: :books: Remember to ensure any changes to `config.private` in `services/npm/npm-base.js` are reflected in the [server secrets documentation](https://github.com/badges/shields/blob/master/doc/server-secrets.md)
Messages
:book: :sparkles: Thanks for your contribution to Shields, @chris48s!

Generated by :no_entry_sign: dangerJS against 8cfefe77f8b08e7e8a1ad4922868405f1f8ad3a0