Commit a90dc7c
fix: replace pre-commit with @fastify/pre-commit
The pre-commit package is unmaintained and carried a vulnerable version
of cross-spawn (CVE-2024-21538). @fastify/pre-commit is a maintained
drop-in replacement that ships with a safe cross-spawn@^7.0.3.
Also removes the now-unnecessary cross-spawn override.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 0fa4050 commit a90dc7c
2 files changed
Lines changed: 50 additions & 122 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| |||
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
82 | | - | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
93 | 92 | | |
94 | 93 | | |
95 | 94 | | |
| |||
0 commit comments