Skip to content

Commit 16c3eea

Browse files
ESultanikclaude
andcommitted
Fix vulnerable dependencies and update CLAUDE.md
- Update pdfminer.six minimum version to 20251230 (fixes GHSA-f83h-ghpp-7wcc) - Add filelock>=3.20.3 constraint (fixes GHSA-w853-jp5j-5j7f, GHSA-qmgc-5h2g-mvrw) - Add pre-commit checklist to CLAUDE.md Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 33b4eff commit 16c3eea

2 files changed

Lines changed: 16 additions & 1 deletion

File tree

CLAUDE.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,20 @@ pytest tests/test_corkami.py # Polyglot corpus
8989
pip-audit
9090
```
9191

92+
### Pre-Commit Checklist
93+
Run all checks before committing changes:
94+
```bash
95+
# Lint
96+
flake8 polyfile polymerge --max-complexity=10 --max-line-length=127 \
97+
--exclude=polyfile/kaitai/parsers
98+
99+
# Security audit (checks for vulnerable dependencies)
100+
pip-audit
101+
102+
# Tests
103+
pytest tests
104+
```
105+
92106
## Code Navigation
93107

94108
### Finding Matchers

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,13 @@
2828
"chardet>=5.0.0",
2929
"cint>=1.0.0",
3030
"fickling>=0.0.8",
31+
"filelock>=3.20.3",
3132
"graphviz>=0.20.1",
3233
"intervaltree>=2.4.0",
3334
"jinja2>=2.1.0",
3435
"kaitaistruct~=0.10",
3536
"networkx>=2.6.3",
36-
"pdfminer.six>=20251107",
37+
"pdfminer.six>=20251230",
3738
"Pillow>=5.0.0",
3839
"pyreadline3;platform_system=='Windows'",
3940
"pyyaml>=3.13",

0 commit comments

Comments
 (0)