Files
shields/services
Eray Erdin (&mut self) 503764e6b9 [NpmUnpackedSize] Unpacked Size Badge (#9954)
* init npm-unpacked-size service

* add sample badge

* fetch unpacked size from latest version

* format unpacked size

* parametrize unpacked size by package name

* add optional version parameter

* fix typo on test

* rename test to tester

* test against json endpoint instead of svg

* test and impl version with undefined unpacked size

* test version with defined unpacked size

* change color to lightgray when unpackedSize is undefined

* add openapi docs

* extend NpmBase instead of BaseJsonService

* use isFileSize validator

* add schema to validate npm registry response body

* add tests for scoped packages

* impl scoped package route

* change the type of schema.dist.unpackedSize to optionalNonNegativeInteger

* add registry_uri query param

* add default label to badge

* unpack tag instead of version

* revert back to versions instead of tags
2024-02-19 09:34:57 +00:00
..
2024-01-16 20:16:04 +00:00
2023-11-19 19:24:56 +00:00
2023-12-20 16:28:41 +00:00
2023-07-03 16:59:04 +00:00
2023-10-13 15:40:57 +00:00
2024-02-14 18:53:08 +00:00