Commit 1e40e74
authored
Fix/pnpm security overrides (#501)
* chore: update deps
* fix: override transitives to patch advisories
Patch vulnerable transitive dependencies via pnpm.overrides. Each
parent is already latest/pins exact, so overrides are the only fix:
- hono ^4.12.25 — GHSA-88fw-hqm2-52qc (high, CORS) + 4 moderate;
@prisma/dev@0.24.3 ranges ^4.12.8 but lockfile was stuck on 4.12.23
- @opentelemetry/{core,resources,sdk-trace-base} ^2.8.0 — core <2.8.0
advisory; @sentry/node 10.57 pins the otel set at 2.6.1, overriding
all three keeps the tree aligned
- js-yaml@4 ^4.2.0 — patches the cosmiconfig (commitlint) instance;
scoped to v4 because gray-matter (prod) pins js-yaml ^3 and uses the
removed safeLoad API — a global override breaks the build
- @babel/core@7 ^7.29.6 — low advisory via jest's istanbul tooling
Existing @hono/node-server and postcss overrides verified still
load-bearing (removal re-introduces findings); kept.
Known remaining: js-yaml 3.14.2 (moderate, no 3.x patch exists) via
gray-matter and jest coverage tooling. Below the prod --audit-level=high
gate; no upgrade path until gray-matter drops js-yaml 3.1 parent 1e5e5f0 commit 1e40e74
2 files changed
Lines changed: 364 additions & 294 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
88 | 94 | | |
89 | 95 | | |
90 | 96 | | |
| |||
0 commit comments