Repository navigation
chore(deps): bump zod from 3.25.76 to 4.6.6 - #100
semgrep-code-wave-av[bot] wants to merge 1 commit into
Conversation
Bumps [zod](https://github.com/colinhacks/zod) from 3.25.76 to 4.6.6. - [Release notes](https://github.com/colinhacks/zod/releases) - [Commits](colinhacks/zod@v3.25.76...v4.6.6)
|
Skipping PR review because a bot author is detected. If you want to trigger CodeAnt AI, comment |
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Summary
Upgrades zod from 3.25.76 to 4.6.6.
Vulnerability details
yakimotorequested this Autofix PR for this finding.Affected versions of zod are vulnerable to Allocation of Resources Without Limits or Throttling.
References: GHSA,CVE
Upgrade guidance
✨ Semgrep thinks this is safe to upgrade ✅
5 functions in use unchanged
zod.z.enum
zod.z.boolean
zod.z.object
zod.z.string
zod.z.record
zod references
Release notes
Sourced from zod's releases.
... (truncated)
Commits
9c21983ci: stage at verbose so a failed OIDC token exchange says why529f78d4.6.6a0ebf97fix(v4): check array, set and map size bounds before parsing elements (#6652)a2ba4a6fix(types): declare record output and input as members, not base type argumen...c42596brelease: hold the run on the release-approval environment until the staged ve...bacad51docs: square the Code for Japan logo to match the other bronze tiles8fb2fafdocs: crop the Code for Japan logo and list it first in bronzeb2ef983docs: add Code for Japan to bronze sponsors74304cerelease: stage npm versions instead of publishing them (#6622)34a626fdocs: tighten the z.locales tree-shaking noteMaintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for zod since your current version.
Summary by cubic
Bumps
zodfrom 3.25.76 to 4.6.6 to fix CVE-2023-54404, a resource-exhaustion vulnerability in validation. The change touches onlypackage.jsonandpackage-lock.json; no source code changes.The only code using
zodis the config schema insrc/lib/config/schema.ts, which relies onz.enum,z.boolean,z.object,z.string, andz.record. Semgrep's upgrade analysis reports these five functions are unchanged in v4, so the major-version bump requires no code changes. No workers, routes, or workflows are affected, and there is no billing or metering impact.Verification
zodAPIs are unchanged.Written for commit d1f7067. Summary will update on new commits.