Repository navigation
chore(deps-dev): take zod 4.6.7 (GHSA-mrhx-c7xc-m3w5) - #113
Merged
Merged
Conversation
zod 4.6.5 and earlier keep every issue of every failing element when they validate an array against a schema without a length limit, so a large enough array can exhaust memory (GHSA-mrhx-c7xc-m3w5). 4.6.6 fixes it. Here zod comes only through knip, a development dependency that validates its configuration with it. The package has no runtime dependencies, so nothing published depends on zod. npm update zod --package-lock-only moves that one entry to 4.6.7, inside knip's ^4.6.5. Verified from npm ci: format:check, typecheck, lint, the unit tests (1136) and knip. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves
zodfrom 4.6.5 to 4.6.7 inpackage-lock.json. Nothing the package publishes depends on it.Why
zod 4.6.5 and earlier keep every issue of every failing element when they validate an array against a schema without a length limit, so a large enough array can exhaust memory (GHSA-mrhx-c7xc-m3w5, high). 4.6.6 fixes it.
Here zod comes only through knip (
knip6.41.0 →zod^4.6.5), a development dependency that validates its configuration with it. The package has no runtime dependencies, so it does not ship.What changed
package-lock.json:node_modules/zod4.6.5 → 4.6.7, inside knip's^4.6.5. No other entry moves.package.json: unchanged. No changelog entry: the published package does not change.Verification
npm update zod --package-lock-only(npm 11 on Node 24); the diff is the three lines of that entry.integrityfor 4.6.7 is the registry's, and the published tarball hashes to it. 4.6.7 was published from the project's GitHub Actions with provenance, as 4.6.5 was. Its package differs from 4.6.6 only in the version strings; 4.6.6 holds the fix.npm ci:format:check,typecheck,lint, the unit tests (1136) andknip, which validates its configuration with zod.🤖 Generated with Claude Code