Skip to content

chore(deps-dev): take zod 4.6.7 (GHSA-mrhx-c7xc-m3w5) - #113

Merged
kkdev92 merged 1 commit into
mainfrom
chore/zod-4.6.7
Oct 24, 2026
Merged

kkdev92 merged 1 commit into
mainfrom
chore/zod-4.6.7

Conversation

@kkdev92

@kkdev92 kkdev92 commented Oct 24, 2026

Copy link
Copy Markdown
Owner

Moves zod from 4.6.5 to 4.6.7 in package-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 (knip 6.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/zod 4.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

  • Produced with npm update zod --package-lock-only (npm 11 on Node 24); the diff is the three lines of that entry.
  • The lock's integrity for 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.
  • From npm ci: format:check, typecheck, lint, the unit tests (1136) and knip, which validates its configuration with zod.

🤖 Generated with Claude Code

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>
@kkdev92
kkdev92 merged commit 85bd597 into main Oct 24, 2026
10 checks passed
@kkdev92
kkdev92 deleted the chore/zod-4.6.7 branch October 24, 2026 02:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant