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

Commit 4e7dc18

Browse files
sapientpantsclaude
andauthored
chore: update dependencies to latest versions (#334)
* chore: update dependencies to latest versions Updated production dependencies: - @modelcontextprotocol/sdk: 1.20.0 → 1.20.1 - pino: 10.0.0 → 10.1.0 - sonarqube-web-api-client: 0.11.1 → 1.0.1 Updated dev dependencies: - vite: 7.1.10 → 7.1.11 - @cyclonedx/cdxgen: 11.9.0 → 11.10.0 - @eslint/js: 9.37.0 → 9.38.0 - @types/node: 24.7.2 → 24.8.1 - eslint: 9.37.0 → 9.38.0 Breaking changes in sonarqube-web-api-client v1.0.1: - Added stricter typing for OWASP/SANS/Facet parameters - API query parameter changes (components vs componentKeys, author vs authors) - Fixed type compatibility issues with type casts - Updated tests to match new API behavior Note: zod pinned to 3.25.76 to match @modelcontextprotocol/sdk dependency 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]> * refactor: improve type safety by replacing any casts with specific types Replace `as any` type casts in issues domain with specific enum types (OwaspTop10Category, OwaspTop10v2021Category, SansTop25Category, IssueFacet). This addresses PR review comments about defeating TypeScript's type safety. - Add local type aliases matching sonarqube-web-api-client enums - Replace `as any` with specific type casts for better type safety - Remove unnecessary eslint-disable comments - Add deprecation note for withSansTop25 (deprecated since SonarQube 10.0) All tests passing with full coverage. Changes improve maintainability and self-documentation while preserving runtime behavior. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]> --------- Co-authored-by: Claude <[email protected]>
1 parent 2cb31bb commit 4e7dc18

File tree

6 files changed

+540
-475
lines changed

6 files changed

+540
-475
lines changed
Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
11
---
2+
'sonarqube-mcp-server': patch
23
---
34

4-
Updated dev dependencies to latest versions while keeping zod at v3:
5+
chore: update dependencies to latest versions
56

6-
- @typescript-eslint/eslint-plugin: 8.46.0 → 8.46.1
7-
- @typescript-eslint/parser: 8.46.0 → 8.46.1
8-
- changelog-github-custom: 1.2.5 → 1.2.7
9-
- vite: 7.1.9 → 7.1.10
10-
- zod: kept at 3.25.76 (v4 not adopted yet)
7+
Updated production dependencies:
118

12-
All tests and linting checks passing. No breaking changes identified.
9+
- @modelcontextprotocol/sdk: 1.20.0 → 1.20.1
10+
- pino: 10.0.0 → 10.1.0
11+
- sonarqube-web-api-client: 0.11.1 → 1.0.1 (major update with stricter typing)
12+
13+
Updated dev dependencies:
14+
15+
- vite: 7.1.10 → 7.1.11
16+
- @cyclonedx/cdxgen: 11.9.0 → 11.10.0
17+
- @eslint/js: 9.37.0 → 9.38.0
18+
- @types/node: 24.7.2 → 24.8.1
19+
- eslint: 9.37.0 → 9.38.0
20+
21+
Note: zod remains pinned to 3.25.76 to match @modelcontextprotocol/sdk dependency

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -88,15 +88,15 @@
8888
]
8989
},
9090
"dependencies": {
91-
"@modelcontextprotocol/sdk": "^1.20.0",
91+
"@modelcontextprotocol/sdk": "^1.20.1",
9292
"cors": "2.8.5",
9393
"express": "5.1.0",
9494
"lodash": "^4.17.21",
9595
"opossum": "^9.0.0",
96-
"pino": "10.0.0",
96+
"pino": "10.1.0",
9797
"pino-roll": "4.0.0",
9898
"pino-syslog": "3.2.0",
99-
"sonarqube-web-api-client": "0.11.1",
99+
"sonarqube-web-api-client": "1.0.1",
100100
"uuid": "13.0.0",
101101
"zod": "^3.25.76",
102102
"zod-to-json-schema": "^3.24.6"
@@ -105,21 +105,21 @@
105105
"@changesets/cli": "^2.29.7",
106106
"@commitlint/cli": "20.1.0",
107107
"@commitlint/config-conventional": "20.0.0",
108-
"@cyclonedx/cdxgen": "11.9.0",
109-
"@eslint/js": "^9.37.0",
108+
"@cyclonedx/cdxgen": "11.10.0",
109+
"@eslint/js": "^9.38.0",
110110
"@fast-check/vitest": "^0.2.2",
111111
"@jest/globals": "^30.2.0",
112112
"@types/cors": "2.8.19",
113113
"@types/express": "5.0.3",
114114
"@types/jest": "^30.0.0",
115115
"@types/lodash": "^4.17.20",
116-
"@types/node": "^24.7.2",
116+
"@types/node": "^24.8.1",
117117
"@types/opossum": "^8.1.9",
118118
"@typescript-eslint/eslint-plugin": "^8.46.1",
119119
"@typescript-eslint/parser": "^8.46.1",
120120
"@vitest/coverage-v8": "^3.2.4",
121121
"changelog-github-custom": "1.2.7",
122-
"eslint": "^9.37.0",
122+
"eslint": "^9.38.0",
123123
"eslint-config-prettier": "^10.1.8",
124124
"eslint-plugin-jsonc": "2.21.0",
125125
"eslint-plugin-prettier": "^5.5.4",
@@ -138,7 +138,7 @@
138138
"ts-node": "^10.9.2",
139139
"ts-node-dev": "^2.0.0",
140140
"typescript": "^5.9.3",
141-
"vite": "7.1.10",
141+
"vite": "7.1.11",
142142
"vitest": "^3.2.4",
143143
"yaml-lint": "1.7.0"
144144
},

0 commit comments

Comments
 (0)