Repository navigation
fix(deps): patched zod, fast-uri, body-parser and ip-address - #684
Conversation
zod 4.6.5 could run out of memory validating a large array with failing elements (GHSA-mrhx-c7xc-m3w5); the server validates MCP tool input with it. fast-uri, body-parser and ip-address come with the MCP SDK; fast-uri is used by its validator, the other two by express, which neatroots doesn't serve through. All are patch or minor bumps in the same major. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Update dependency ranges packages/neatroots/package.json, pnpm-workspace.yaml |
The neatroots package changes its zod range to ^4.6.7. The workspace adds overrides for matching zod, fast-uri, body-parser, and ip-address versions. |
Priority:
Estimated code review effort: 1 (Trivial) | ~3 minutes
Change: Other
Suggested reviewers: taranum-neatlogs
Merge Risk: 
Minimal · up to 4bde9
-
The dependency constraint changes are mergeable; no actionable regression is evidenced.
Architecture risk: 
Low · up to 4bde9
-
The change affects 2 systems.
Changed systems:
packages/neatroots,pnpm-workspace.yamlArchitecture concerns
No architecture-level concerns identified.Review details
-
Systems and components
- observed — packages/neatroots (library) was modified; 1 changed file maps to changed impact.
- observed — pnpm-workspace.yaml (service) was modified; 1 changed file maps to changed impact.
Before / after behavior
- observed — Modified behavior in packages/neatroots/package.json: The
zoddependency range changed from^4.6.5to^4.6.7. - observed — Modified behavior in pnpm-workspace.yaml: Adds pnpm overrides for
zod@>=4.0.0 <4.6.6,fast-uri@>=3.0.0 <3.1.9,body-parser@>=2.0.0 <2.4.0, andip-address@<10.7.4, directing them to the specified patched version ranges.
-
Pre-merge checks: 
5
-
Full details: Description check
-
Explanation
The description explains the dependency advisories, scope, exclusions, and test results. It does not use the template headings or include a linked issue and test checkboxes, but it provides the required information in substance.
Full details: Docstring Coverage
-
Explanation
No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (2 skipped: 2 unsupported.)
-
Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Comment @coderabbitai help to get the list of available commands.
Found in the v0.2.10 release dependency audit (
pnpm audit --prod); these advisories were published after rc.1.webStandardStreamableHttp)The transitive ones are pinned through
overridesinpnpm-workspace.yaml, as #355 did.Not in this PR:
undici,@opentelemetry/propagator-jaegerand@opentelemetry/coreunder the Neatlogs SDK. The SDK is installed here only for the TypeScript hook's tests. It isn't in the bundle, and users get their own resolution when they install it.Tests:
pnpm build,pnpm typecheck, the server tests (620) and the steer-ts tests (25) pass. Afterwards,pnpm audit --prodlists only the 5 SDK-side findings above.🤖 Generated with Claude Code
Summary by CodeRabbit