Skip to content

chore(deps): upgrade minor packages and resolve Dependabot alerts - #780

Open
farnabaz wants to merge 3 commits into
mainfrom
chore/upgrade-deps
Open

farnabaz wants to merge 3 commits into
mainfrom
chore/upgrade-deps

Conversation

@farnabaz

@farnabaz farnabaz commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

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

  • 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.

Resolved versions: vite 7.3.8, rollup 4.68.8, js-yaml 3.15.2 / 4.3.2, zod 4.6.7, @modelcontextprotocol/server 2.4.0, dompurify 3.5.0, lodash-es 4.18.1, path-to-regexp 8.4.2, picomatch 4.0.7, image-size 2.1.0, browserslist 4.29.6, ws 8.23.0, source-map-js 1.2.4, brace-expansion 5.0.13, postcss-selector-parser 7.2.1, uuid 11.1.1.

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
  • I have created a changeset (pnpm changeset)
  • All my commits are signed

Changeset

  • 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.

@vercel

vercel Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
streamdown Ready Ready Preview, v0 Nov 24, 2026 3:53pm UTC

@socket-security

Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Priority Alert  (click "▶" to expand/collapse) Action
High priority
High CVE: npm @fastify/busboy vulnerable to Denial of Service via prototype-named multipart part header

CVE: GHSA-x8mw-p69m-v3mx @fastify/busboy vulnerable to Denial of Service via prototype-named multipart part header (HIGH)

Affected versions: >= 1.0.0 < 3.2.1

Patched version: 3.2.1

From: apps/test/package.json → npm/@ai-sdk/gateway@2.0.183 → npm/ai@5.0.292 → npm/@ai-sdk/react@2.0.295 → npm/@fastify/busboy@2.1.1

ℹ Read more on: This package | This alert | What is a CVE?

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 priority
High CVE: npm undici vulnerable to TLS certificate validation bypass via dropped tls options in Agent

CVE: GHSA-2m5v-pch6-74hx undici vulnerable to TLS certificate validation bypass via dropped tls options in Agent (HIGH)

Affected versions: >= 4.0.0 < 6.29.1; >= 7.0.0 < 7.30.1; >= 8.0.0 < 8.12.2

Patched version: 6.29.1

From: apps/test/package.json → npm/@ai-sdk/gateway@2.0.183 → npm/ai@5.0.292 → npm/@ai-sdk/react@2.0.295 → npm/undici@5.29.0

ℹ Read more on: This package | This alert | What is a CVE?

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 priority
High CVE: npm undici vulnerable to Denial of Service via TLS 1.2 certificate-changing renegotiation

CVE: GHSA-qrxm-fqhp-jwvm undici vulnerable to Denial of Service via TLS 1.2 certificate-changing renegotiation (HIGH)

Affected versions: >= 4.2.1 < 6.29.1; >= 7.0.0 < 7.30.1; >= 8.0.0 < 8.12.2

Patched version: 6.29.1

From: apps/test/package.json → npm/@ai-sdk/gateway@2.0.183 → npm/ai@5.0.292 → npm/@ai-sdk/react@2.0.295 → npm/undici@5.29.0

ℹ Read more on: This package | This alert | What is a CVE?

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

View full report

This branch was successfully deployed

1 active deployment
Preview — dd9f7e20 Deployed Nov 24, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant