`@ai-sdk/[email protected]` (pulled in by `[email protected]` in `apps/test`) depends on `undici@^5.29.0`, which brings in `@fastify/[email protected]`. Both are affected by GHSA-2m5v-pch6-74hx, GHSA-qrxm-fqhp-jwvm and GHSA-x8mw-p69m-v3mx.
Adds a range-scoped override `undici@>=4.0.0 <6.29.1` -> `^6.29.1`. The lockfile no longer contains `[email protected]` or `@fastify/busboy`.
provider-utils 3.0.x only uses `Agent` (with `connect.lookup`) and `fetch` from undici, and both exist unchanged in undici 6.
Description
Upgrades minor dependency versions and resolves most open Dependabot security alerts by adding version-scoped
pnpm.overrides. Almost all affected packages are dev, build, or docs-site transitive dependencies. The only published-package changes are raised minimums for existing runtime dependency ranges (see changeset).Type of Change
Changes Made
chore: upgrade minor packages— minor version bumps across the workspace.chore(deps): resolve Dependabot security alerts via pnpm overrides:@modelcontextprotocol/server,brace-expansion,browserslist,dompurify,image-size,js-yaml(3.x and 4.x),path-to-regexp,picomatch,postcss-selector-parser,rollup,source-map-js,uuid,ws,zod.lodash-esoverride to^4.18.1.viteuses an unscoped^7.3.7override, because the copy thatvitestauto-installs as a peer ignored the range-scoped form.Resolved versions:
vite7.3.8,rollup4.68.8,js-yaml3.15.2 / 4.3.2,zod4.6.7,@modelcontextprotocol/server2.4.0,dompurify3.5.0,lodash-es4.18.1,path-to-regexp8.4.2,picomatch4.0.7,image-size2.1.0,browserslist4.29.6,ws8.23.0,source-map-js1.2.4,brace-expansion5.0.13,postcss-selector-parser7.2.1,uuid11.1.1.The
@ai-sdk/provider-utilsand@babel/corealerts are already resolved by the minor upgrades in the first commit.Not addressed (needs upstream changes)
katex(low): kept on 0.16.x. The fix is in 0.18.2, but[email protected](latest) still depends onkatex ^0.16, and KaTeX 0.18 renamed internal CSS classes (KaTeX#4229). Bumpingkatexalone would ship 0.18 CSS against 0.16-generated markup and break math rendering for@streamdown/mathusers.esbuild(low, Windows dev server only):vite@7andtsuppin^0.27; the fix is in 0.28.1.glob/minimatch(medium): pulled in by@vercel/geistdocsandultracite. The fixes require new majors (glob14,minimatch11), so I didn't force them.Testing
pnpm test(2,391 tests across 6 packages)pnpm build:packagessucceeds (6/6 tasks)Checklist
pnpm changeset)Changeset
.changeset/patched-dependency-ranges.md(patch forstreamdown,@streamdown/cjk,@streamdown/math,@streamdown/mermaid). The first commit raises minimums for runtime deps:marked,tailwind-merge,decode-named-character-reference,mdast-util-gfm-autolink-literal,katex,mermaid.Note:
pnpm.overridesonly apply inside this repo. Consumers of@streamdown/mermaidgetdompurifyfrom their own resolution ofmermaid's^3.3.3range, so the fix reaches them when they update.Additional Notes
Pre-existing peer warning, not introduced here:
@vitest/[email protected]vs[email protected].