Commit 1b07024
authored
fix: Update dependencies to address 14 Dependabot security alerts (#94)
* fix: update dependencies to address security vulnerabilities
Security fixes for Dependabot alerts:
- mcp: 1.9.2 -> 1.26.0 (fixes CVE for DNS rebinding, DoS vulnerabilities)
- filelock: 3.18.0 -> 3.20.3 (fixes TOCTOU symlink vulnerabilities)
- starlette: 0.46.2 -> 0.50.0 (fixes Range header DoS, multipart DoS)
- python-multipart: 0.0.20 -> 0.0.22 (fixes arbitrary file write)
- urllib3: removed (no longer needed as transitive dep)
- requests: removed (no longer needed as transitive dep)
Updated pyproject.toml to require mcp>=1.23.0 (was >=1.7.0).
All 63 tests pass.
* fix: resolve mypy strict errors after dependency upgrades
- Remove redundant cast(Diff, ...) in repo_context.py (pygit2 types improved)
- Add None check for patch iteration in repo_context.py
- Remove unused 'cast' and 'Diff' imports
- Remove obsolete type: ignore comments in bash_state.py (pexpect types improved)1 parent 29e0ab1 commit 1b07024
File tree
4 files changed
+1198
-667
lines changed- src/wcgw/client
- bash_state
- repo_ops
4 files changed
+1198
-667
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
385 | | - | |
| 385 | + | |
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
| |||
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
401 | | - | |
| 401 | + | |
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
121 | 123 | | |
122 | 124 | | |
123 | 125 | | |
| |||
0 commit comments