badgen.net
badgen.net copied to clipboard
Fix issue when loading platform/sdk info from pub.dev
The response from pub.dev's api/packages/${pck}/metrics
API has changed.
derivedTags
is now available from $.scorecard.panaReport.derivedTags
@d-markey is attempting to deploy a commit to the Badgen Team on Vercel.
A member of the Team first needs to authorize it.
Example of broken badges:
Check the output of https://pub.dev/api/packages/squadron/metrics:
{
"score": {
...
},
"scorecard": {
"packageName": "squadron",
"packageVersion": "4.2.0",
"runtimeVersion": "2022.07.05",
"updated": "2022-08-03T21:05:21.829067Z",
"packageCreated": "2021-09-25T17:14:56.549125Z",
"packageVersionCreated": "2022-08-02T23:36:54.078196Z",
"flags": ["latest-stable"],
"dartdocReport": {
...
},
"panaReport": {
"timestamp": "2022-08-03T21:05:21.779538Z",
"panaRuntimeInfo": {
...
},
"reportStatus": "success",
"derivedTags": [
"sdk:dart",
"sdk:flutter",
"platform:android",
"platform:ios",
"platform:windows",
"platform:linux",
"platform:macos",
"platform:web",
"runtime:native-aot",
"runtime:native-jit",
"runtime:web",
"is:null-safe",
"license:mit",
"license:fsf-libre",
"license:osi-approved"
],
...
}
}
}
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated |
---|---|---|---|
badgen.net | ✅ Ready (Inspect) | Visit Preview | Aug 14, 2022 at 7:35AM (UTC) |
@d-markey Thanks for the fix!