google / deps.dev

Resources for the deps.dev API
https://deps.dev
Apache License 2.0
258 stars 20 forks source link

The maven component query return data is missing the publishedAt field. #68

Open zhangzhenyu2 opened 8 months ago

zhangzhenyu2 commented 8 months ago

https://api.deps.dev/v3/query?versionKey.system=MAVEN&versionKey.name=com.alibaba:fastjson&versionKey.version=2.0.47

There is no publishedAt field for the return result.

PFCM commented 7 months ago

Hello and thanks for pointing this out.

Maven published timestamps are a bit tricky. Currently, for packages on Maven Central we only collect them from the index file which is only updated weekly. This means publishedAt might not show up for some time after the rest of the version data becomes available.

That said, this one is still missing and it's been around a month since it was published. I've had a look and found a bug in how we're handling these, which I hope to fix soon. I'll be sure to update here once the fix is in and the data is backfilled.