chore(deps): update dependency zinfer to v0.2.7#1755
Conversation
|
commit: |
This comment has been minimized.
This comment has been minimized.
🤖 Claude Dependency Review📦 Update Summary
📝 Release Noteshttps://github.com/toiroakr/zinfer/blob/main/CHANGELOG.md 🔐 Security Assessment
✨ Main ChangesBoth releases are patch-level bug fixes addressing issues with Version 0.2.7 (commit 5210bb4):
Version 0.2.6 (commit 07d3613):
🔍 Impact Analysis📁 Usage Locationszinfer is a critical build-time dependency for this project. It generates TypeScript types from Zod schemas and is used in 69 files throughout the codebase. Primary usage:
Schema files processed by zinfer (11 files): These files contain 245
Generated type files (15 files): These files are auto-generated by zinfer and imported by 69 source files:
Files importing generated types (69 files): These files consume the zinfer-generated types across the CLI, parser, configure, and plugin modules. See grep count output showing 86 total import statements across these 69 files. ✅ Recommended Actions1. Merge this PR - Both bug fixes are highly relevant to this codebase:
2. Regenerate types after merge: pnpm -C packages/sdk generateThis will regenerate all 15 3. Verify the fix (optional but recommended):
Note: Since zinfer is a devDependency used only at build time, there is no runtime impact. The changes only affect the quality of generated TypeScript type definitions and their documentation. |
7172f1e to
e073103
Compare
This comment has been minimized.
This comment has been minimized.
e073103 to
1fdf9d5
Compare
Code Metrics Report (packages/sdk)
Details | | main (0cb744f) | #1755 (c3f2fd2) | +/- |
|--------------------|----------------|-----------------|------|
| Coverage | 74.6% | 74.6% | 0.0% |
| Files | 458 | 458 | 0 |
| Lines | 17049 | 17049 | 0 |
| Covered | 12719 | 12719 | 0 |
| Code to Test Ratio | 1:0.4 | 1:0.4 | 0.0 |
| Code | 114318 | 114318 | 0 |
| Test | 53379 | 53379 | 0 |SDK Configure Bundle Size
Runtime Performance
Type Performance (instantiations)
Reported by octocov |
This PR contains the following updates:
0.2.5→0.2.7Release Notes
toiroakr/zinfer (zinfer)
v0.2.7Compare Source
Patch Changes
5210bb4: Fix description extraction stack-overflowing on self-recursive Zod schemas (e.g. agetaccessor referencing the schema itself), which silently dropped every.describe()comment for the whole file. Field description extraction now tracks visited object schemas per recursion path and stops descending on a cycle, and a single schema's extraction failure no longer discards descriptions already collected for other schemas in the same file.v0.2.6Compare Source
Patch Changes
07d3613: Fix.describe()text on an inlined nested field being replaced by an unrelated same-named field's text elsewhere in the file. Field descriptions were looked up by field name only, because the nested object formatter never actually tracked nesting depth (including across sibling objects in the same union/tuple). Also extend description extraction to recurse into array element and union member types, since those types print inline at the same path as their containing field.Configuration
📅 Schedule: (in timezone Asia/Tokyo)
* 9-18 * * 1-5)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.