mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-25 23:11:31 +00:00
c908d078ef
* fix(datasource): replace getJsonUnchecked with validated getJson in npm/Node/PyPI/Go Replace all getJsonUnchecked calls in npm, Node.js, PyPI, and Go datasources with Zod-validated getJson calls: - datasource/npm: add NpmResponseSchema to schema.ts (shared with presets) - config/presets/npm: migrate to NpmResponseSchema with passthrough version fields - datasource/node-version: add NodeReleasesSchema using LooseArray - datasource/pypi: add PypiJSONSchema (nullable+catch for lenient empty-body handling) - datasource/go: add VersionInfoSchema for both versionInfo and getLatestVersion calls Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * some manual cleaning up * removing schema level catch * removing some more types * refactor: rename schema * fix linter errors * remove schema suffix which hasn't been catched by linter --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This datasource returns NodeJS releases from nodejs.org API.