Repository navigation
fix: security - upgrade body-parser to 2.4.0 and zod to 4.6.7 - #1748
Merged
Merged
Conversation
body-parser 2.4.0 closes GHSA-27r3-jxmh-p828. zod 4.6.7 closes GHSA-mrhx-c7xc-m3w5. The release-age exclude lists body-parser 2.4.0 only. Co-authored-by: Jared Wray <me@jaredwray.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1748 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 29 29
Lines 3620 3620
Branches 811 811
=========================================
Hits 3620 3620 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
Please check if the PR fulfills these requirements
What kind of change does this PR introduce?
Bug fix. This change upgrades body-parser and zod to patched releases.
Packages
body-parser 2.4.0 also moves these dependencies:
Why these versions
cacheable-requestdepends on body-parser. The specifier moves from ^2.3.0 to ^2.4.0.express 5.2.1 accepts body-parser ^2.2.1. The lockfile now resolves 2.4.0 for express too. No override is required.
writr 6.1.6 accepts zod ^4.5.4. The ai packages accept zod ^3.25.76 or ^4.1.8. The lockfile now resolves zod 4.6.7. No override is required.
Release age
body-parser 2.4.0 was published on 2026-10-22.
minimumReleaseAgeis 10080 minutes, and strict mode is on. The install adds an exact exclude for body-parser@2.4.0.Needs Jared's sign-off
zod 4.6.7 was published on 2026-10-12. That release is older than 7 days. The cooldown accepts it.
These packages stay on the current versions:
Verification
pnpm install --frozen-lockfilepassed the supply-chain policy.pnpm buildpassed.node scripts/test-build.mjspassed.pnpm test:cipassed. Each package Biome check passed. Vitest passed with Redis and mock HTTP.Test audit
This pull request does not add, change, or delete a test. The change is a dependency update. The current tests cover the public packages.