chore(deps): override miniflare's undici and sharp to patched releases

miniflare 4.20260730.0 is still the newest stable release, and it pins
undici 7.28.0 and sharp 0.35.2. The existing undici 7.29.0 override is
now inside a new advisory range (7.0.0 - 7.29.0, high), and sharp is
under two libheif/librsvg advisories (<= 0.35.5-rc.1, high).
`npm audit fix --force` would install miniflare 5.20261006.1-alpha:
a major and a prerelease, for a test-only dependency.

Move the undici override to 7.29.1 and add sharp 0.35.5, both patch
releases and the exact versions the next miniflare ships with. Same
approach already used for find-my-way, hyperid's uuid and undici.

`test:edge` is the suite that drives workerd through miniflare and it
passes unchanged.

npm audit: 8 (2 critical, 4 high, 2 moderate) -> 5 (2 critical,
1 high, 2 moderate). `npm audit --omit=dev` stays at 0.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
chrnx committed 2026-10-10 11:59:59 -05:00
1 parent 352ba477b4
commit 445738e830
3 files changed
+132 -125

No files matched your search

+2 -1
View File
@@ -128,7 +128,8 @@
"uuid": "11.1.1"
}
},
"undici": "7.29.0"
"undici": "7.29.1",
"sharp": "0.35.5"
},
"devDependencies": {
"@eslint/js": "^9.39.5",