You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
chore(deps): upgrade minor packages and resolve Dependabot alerts - #780
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
Bug fix (non-breaking change which fixes an issue)
Changes Made
chore: upgrade minor packages — minor version bumps across the workspace.
chore(deps): resolve Dependabot security alerts via pnpm overrides:
Added range-scoped overrides so only vulnerable versions are replaced: @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.
Raised the existing lodash-es override to ^4.18.1.
vite uses an unscoped ^7.3.7 override, because the copy that vitest auto-installs as a peer ignored the range-scoped form.
The @ai-sdk/provider-utils and @babel/core alerts 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 rehype-katex@7.0.1 (latest) still depends on katex ^0.16, and KaTeX 0.18 renamed internal CSS classes (KaTeX#4229). Bumping katex alone would ship 0.18 CSS against 0.16-generated markup and break math rendering for @streamdown/math users.
esbuild (low, Windows dev server only): vite@7 and tsup pin ^0.27; the fix is in 0.28.1.
glob / minimatch (medium): pulled in by @vercel/geistdocs and ultracite. The fixes require new majors (glob 14, minimatch 11), so I didn't force them.
Testing
All existing tests pass: pnpm test (2,391 tests across 6 packages)
pnpm build:packages succeeds (6/6 tasks)
Checklist
I have performed a self-review of my own code
New and existing unit tests pass locally with my changes
Added .changeset/patched-dependency-ranges.md (patch for streamdown, @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.overrides only apply inside this repo. Consumers of @streamdown/mermaid get dompurify from their own resolution of mermaid's ^3.3.3 range, so the fix reaches them when they update.
Additional Notes
Pre-existing peer warning, not introduced here: @vitest/coverage-v8@4.1.12 vs vitest@5.1.1.
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Remove or replace dependencies that include known high severity CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/@fastify/busboy@2.1.1. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
Warn
High CVE: npm undici vulnerable to TLS certificate validation bypass via dropped tls options in Agent
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Remove or replace dependencies that include known high severity CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/undici@5.29.0. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
Warn
High CVE: npm undici vulnerable to Denial of Service via TLS 1.2 certificate-changing renegotiation
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Remove or replace dependencies that include known high severity CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/undici@5.29.0. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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, butrehype-katex@7.0.1(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/coverage-v8@4.1.12vsvitest@5.1.1.