Commit Graph

1 Commits

Author SHA1 Message Date
Sebastian Poxhofer be4d2e0892 refactor(nuget): replace getJsonUnchecked with schema validated getJson (#43700)
* fix(nuget): replace getJsonUnchecked with validated getJson

Migrate NuGet v3 datasource from unvalidated HTTP responses to Zod-schema
validated ones. Creates schema.ts with ServicesIndexRaw, CatalogPage, and
PackageRegistration schemas derived from the existing TypeScript interfaces.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix(nuget): migrate zod import from v3 to v4

Update schema.ts to use 'zod/v4' instead of 'zod/v3' following the
upstream migration in renovatebot/renovate PR #43691.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore: some manual improvements

* refactor: rename schema

* fix linter errors

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-03 12:26:44 +00:00