This repository was archived by the owner on Nov 14, 2025. It is now read-only.
Commit 4e7dc18
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- .changeset
- src
- __tests__
- domains
6 files changed
+540
-475
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | | - | |
| 5 | + | |
5 | 6 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 7 | + | |
11 | 8 | | |
12 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
109 | | - | |
| 108 | + | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| |||
0 commit comments