Skip to content
This repository was archived by the owner on Nov 14, 2025. It is now read-only.

Commit 25a5fc4

Browse files
sapientpantsclaude
andauthored
chore: update dependencies to latest versions (#206)
updated @modelcontextprotocol/sdk from 1.20.0 to 1.20.1 pinned zod to 3.25.76 (matching mcp sdk version) updated dev dependencies (cdxgen, types/node, eslint, vite) added documentation for zod version pinning to CLAUDE.md 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <[email protected]>
1 parent 548a6f5 commit 25a5fc4

File tree

4 files changed

+455
-405
lines changed

4 files changed

+455
-405
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
'deepsource-mcp-server': patch
3+
---
4+
5+
Updated dependencies:
6+
7+
Production:
8+
9+
- @modelcontextprotocol/sdk: 1.20.0 → 1.20.1
10+
- zod: pinned to 3.25.76 (matching @modelcontextprotocol/sdk version)
11+
12+
Dev:
13+
14+
- @cyclonedx/cdxgen: 11.9.0 → 11.10.0
15+
- @types/node: 24.7.2 → 24.8.1
16+
- eslint: 9.37.0 → 9.38.0
17+
- vite: 7.1.10 → 7.1.11
18+
19+
All tests passing, no breaking changes.

CLAUDE.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,24 @@ Structured error categorization:
188188
- `LOG_FILE` (optional): File path for log output
189189
- `LOG_LEVEL` (optional): Minimum log level (DEBUG, INFO, WARN, ERROR)
190190

191+
## Dependency Management
192+
193+
### Zod Version Pinning
194+
195+
**IMPORTANT**: The `zod` dependency must be pinned to the exact version used by `@modelcontextprotocol/sdk`.
196+
197+
- **Current version**: `3.25.76` (pinned, no caret)
198+
- **Reason**: We use zod directly in `src/utils/graphql/processors/run-checks-processor.ts` for GraphQL response validation
199+
- **Maintenance**: When updating `@modelcontextprotocol/sdk`, check its zod dependency version and update our pinned version to match
200+
201+
To check the MCP SDK's zod version:
202+
203+
```bash
204+
pnpm list zod --depth=1
205+
```
206+
207+
This ensures compatibility and avoids duplicate zod versions in the dependency tree.
208+
191209
## Development Guidelines
192210

193211
### Code Quality Rules

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,22 +86,22 @@
8686
]
8787
},
8888
"dependencies": {
89-
"@modelcontextprotocol/sdk": "^1.20.0",
89+
"@modelcontextprotocol/sdk": "^1.20.1",
9090
"axios": "^1.12.2",
91-
"zod": "^3.25.76"
91+
"zod": "3.25.76"
9292
},
9393
"devDependencies": {
9494
"@changesets/cli": "^2.29.7",
9595
"@commitlint/cli": "^20.1.0",
9696
"@commitlint/config-conventional": "^20.0.0",
97-
"@cyclonedx/cdxgen": "11.9.0",
98-
"@types/node": "^24.7.2",
97+
"@cyclonedx/cdxgen": "11.10.0",
98+
"@types/node": "^24.8.1",
9999
"@typescript-eslint/eslint-plugin": "^8.46.1",
100100
"@typescript-eslint/parser": "^8.46.1",
101101
"@vitest/coverage-v8": "^3.2.4",
102102
"changelog-github-custom": "^1.2.7",
103103
"depcheck": "^1.4.7",
104-
"eslint": "^9.37.0",
104+
"eslint": "^9.38.0",
105105
"eslint-config-prettier": "^10.1.8",
106106
"eslint-plugin-jsonc": "2.21.0",
107107
"eslint-plugin-prettier": "^5.5.4",
@@ -114,7 +114,7 @@
114114
"prettier": "^3.6.2",
115115
"rimraf": "^6.0.1",
116116
"typescript": "^5.9.3",
117-
"vite": "7.1.10",
117+
"vite": "7.1.11",
118118
"vitest": "^3.2.4",
119119
"yaml-lint": "1.7.0"
120120
},

0 commit comments

Comments
 (0)