Commit dd66bb6
fix(deps): pin esbuild ≥0.28.1 via pnpm-workspace overrides (GHSA-gv7w-rqvm-qjhr) (#1910)
pnpm v10 reads `overrides` from `pnpm-workspace.yaml`, NOT package.json's `pnpm`
field (hence the recurring "pnpm field ignored" warning). The repo's minimatch
/tar pins lived in package.json and were therefore silently dead, and nothing
pinned esbuild at all — so `tsup`/`tsx`/`vite` resolved esbuild 0.27.7 and 0.28.0
(both < 0.28.1), tripping the high-severity advisory GHSA-gv7w-rqvm-qjhr that
fails `pnpm audit --audit-level=high` (the "Validate Package Dependencies" CI job)
on every dependency-touching PR.
Fix: add a real `overrides:` block to pnpm-workspace.yaml — `esbuild: '>=0.28.1'`
plus the migrated minimatch/tar pins — and drop the dead `pnpm.overrides` from
package.json. esbuild now resolves to a single 0.28.1 across the tree; high
advisories drop from 2 to 0. tsup build + vitest verified working on 0.28.1.
Test-only tooling/lockfile change; empty changeset.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 15f35bb commit dd66bb6
4 files changed
Lines changed: 29 additions & 606 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | 50 | | |
55 | 51 | | |
56 | 52 | | |
| |||
0 commit comments