mirror of
https://github.com/renovatebot/renovate.git
synced 2026-11-08 21:22:38 +00:00
8bbce59ece
* fix(datasource/npm): tolerate non-string `time` entries in packument JFrog Artifactory npm registries emit `"unpublished": null` under the packument `time` field. Since the schema declared `time` values as `z.string()`, the `null` failed validation and Zod rejected the entire packument, so every package lookup returned no-result. Strip non-string `time` entries via a shared `PackumentTime` transform so a stray metadata key cannot invalidate the whole packument, while keeping the real version->timestamp entries the datasource relies on. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * refactor(datasource/npm): use LooseRecord for packument time Per PR review. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>