Commit ee2acd5
authored
fix: bump @microsoft/api-extractor to fix security vulnerabilities (#462)
Upgrades `@microsoft/api-extractor` from `^7.52.9` to `^7.57.0` in both
the root and `packages/vite-plugin-dts` devDependencies. The old version
pulled in vulnerable transitive deps:
- minimatch@~3.0.3 (CVE: GHSA-7r86-cg39-jmmj, GHSA-3ppc-4f35-3m26)
- lodash@~4.17.15 (CVE: GHSA-xxjr-mmjv-4gpg)
- ajv@<8.18.0 via @microsoft/tsdoc-config (CVE: GHSA-2g4f-4pwh-qvx6)
`@microsoft/api-extractor@7.57.x` switched to minimatch@10.x and
lodash@~4.17.23, resolving all three vulnerability chains.
Adds `pnpm.overrides` to force:
- `@microsoft/api-extractor@<7.57.6` → 7.57.6 (covers peer dep resolution
in packages/unplugin-dts which declares `>=7`)
- `minimatch@>=10.0.0 <10.2.3` → 10.2.4 (api-extractor 7.57.x uses
minimatch@10.2.1 which itself has a ReDoS fix in >=10.2.3)1 parent 179aa30 commit ee2acd5
3 files changed
Lines changed: 210 additions & 197 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
69 | 75 | | |
70 | 76 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
0 commit comments