Skip to content

Commit 1e40e74

Browse files
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

File tree

package.json

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@
4141
"react-dom": "19.2.7",
4242
"reading-time": "1.5.0",
4343
"shiki": "4.2.0",
44-
"swr": "2.4.1"
44+
"swr": "2.4.2"
4545
},
4646
"devDependencies": {
4747
"@commitlint/cli": "21.0.2",
4848
"@commitlint/config-conventional": "21.0.2",
4949
"@commitlint/types": "21.0.1",
5050
"@shikijs/rehype": "4.2.0",
5151
"@shikijs/transformers": "4.2.0",
52-
"@tailwindcss/postcss": "4.3.0",
52+
"@tailwindcss/postcss": "4.3.1",
5353
"@tailwindcss/typography": "0.5.20",
5454
"@testing-library/dom": "10.4.1",
5555
"@testing-library/jest-dom": "6.9.1",
@@ -70,7 +70,7 @@
7070
"rehype-code-titles": "1.2.1",
7171
"rehype-slug": "6.0.0",
7272
"remark-gfm": "4.0.1",
73-
"tailwindcss": "4.3.0",
73+
"tailwindcss": "4.3.1",
7474
"typescript": "6.0.3"
7575
},
7676
"browserslist": [
@@ -80,11 +80,17 @@
8080
"node": "24.x",
8181
"pnpm": ">=10"
8282
},
83-
"packageManager": "pnpm@10.34.3",
83+
"packageManager": "pnpm@10.34.4",
8484
"pnpm": {
8585
"overrides": {
8686
"@hono/node-server": "^1.19.13",
87-
"postcss": "^8.5.10"
87+
"postcss": "^8.5.10",
88+
"hono": "^4.12.25",
89+
"@opentelemetry/core": "^2.8.0",
90+
"@opentelemetry/resources": "^2.8.0",
91+
"@opentelemetry/sdk-trace-base": "^2.8.0",
92+
"js-yaml@4": "^4.2.0",
93+
"@babel/core@7": "^7.29.6"
8894
},
8995
"onlyBuiltDependencies": [
9096
"@prisma/engines",

0 commit comments

Comments
 (0)