Skip to content

chore(deps): resolve all Dependabot security alerts - #362

Merged
Vadman97 merged 12 commits into
mainfrom
fix/dependabot-alerts
Feb 9, 2026
Merged

Vadman97 merged 12 commits into
mainfrom
fix/dependabot-alerts

Conversation

@Vadman97

@Vadman97 Vadman97 commented Feb 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Update vulnerable dependencies across npm, Python, Go, and NuGet ecosystems to resolve all 156 open Dependabot security alerts
  • Add yarn resolutions for transitive dependencies that can't be directly upgraded
  • Dismiss 7 alerts with no fix available (deprecated packages)

Test plan

  • Verify yarn install succeeds without errors
  • Verify SDK builds pass (yarn build:sdk)
  • Verify tests pass (yarn test)
  • Confirm Dependabot alerts are auto-closed after merge

🤖 Generated with Claude Code


Note

Medium Risk
Mostly version bumps, but broad dependency upgrades and added transitive overrides can introduce build/runtime incompatibilities across multiple language toolchains (notably Go 1.24 and updated JS bundler/framework deps).

Overview
Primarily a dependency-security sweep across the monorepo, updating versions in multiple ecosystems (npm/Yarn, Go modules, Poetry/Python, and NuGet) to address Dependabot alerts.

Notable changes include adding extensive root package.json Yarn resolutions to pin/override vulnerable transitive packages, upgrading e2e app dependencies (Angular, Remix, Next.js tooling, Vite, React Router, NestJS), bumping Go toolchains to go 1.24.x and updating golang.org/x/* + chi, updating .NET Framework e2e OpenTelemetry packages from 1.11.1 to 1.11.2, and refreshing Python lockfiles/dependency floors (e.g., requests, urllib3, fastapi/starlette, werkzeug, filelock, plus new annotated-doc/typing-inspection).

Written by Cursor Bugbot for commit 8e0fae7. This will update automatically on new commits. Configure here.

Update vulnerable dependencies across npm, Python, Go, and NuGet ecosystems:

- npm: upgrade @apollo/server, next, wrangler, happy-dom, playwright, Angular,
  Remix, NestJS, @trpc/server, @sveltejs/kit, glob, react-router-dom, vercel
- npm resolutions: add resolutions for transitive deps including vite, undici,
  lodash, devalue, node-forge, multer, tar-fs, protobufjs, form-data, sha.js,
  ws, semver, body-parser, qs, validator, cookie, and more
- Python: upgrade urllib3, requests, werkzeug, starlette, h11, httpcore,
  protobuf, flask, fastapi, brotli, filelock across all poetry.lock files
- Go: upgrade golang.org/x/crypto, golang.org/x/net, go-chi/chi/v5
- NuGet: upgrade OpenTelemetry.Api to 1.11.2
- Dismiss 7 alerts with no fix available (apollo-server, npm, orjson,
  vue-template-compiler, request, golang-jwt/jwt v3)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@Vadman97
Vadman97 requested a review from a team as a code owner February 5, 2026 21:01
@github-actions

github-actions Bot commented Feb 5, 2026 •

Copy link
Copy Markdown
Contributor

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
628 551 88% 0% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: 8e0fae7 by action🐍

Comment thread e2e/nextjs/package.json Resolved
Comment thread e2e/angular/package.json Resolved
Comment thread sdk/highlight-next/package.json Resolved
Comment thread e2e/nextjs/go-service/go.sum Resolved
- Pin next to ^15.5.10 in e2e/nextjs instead of overly permissive >=13
- Align all Angular packages to ^19.2.18 (animations, forms, devkit, cli)
- Revert @trpc/server in sdk/highlight-next back to ^9.27.4 to avoid
  breaking v9 API usage in tests
- Fix go.sum checksums in e2e/nextjs/go-service via go mod tidy

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Comment thread sdk/highlight-run/package.json Resolved
Comment thread package.json Resolved
Vadman97 and others added 2 commits February 6, 2026 10:22
- Pin vite to ^5.4.21 in SDK packages (highlight-run, observability,
  session-replay, observability-react-native) that use Rollup plugins
  incompatible with Vite 7's Rolldown bundler
- Replace blanket vite resolution with scoped per-major-version resolutions
  (^4: 4.5.14, ^5: 5.4.21, ^6: 6.4.1, ^7: 7.0.8)
- Scope path-to-regexp resolution per major version to avoid cross-major
  downgrades (^3: 3.3.0, ^6: 6.3.0, ^8: 8.2.0)
- Add exact-version resolution for path-to-regexp@6.1.0 -> 6.3.0

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@Vadman97 Vadman97 changed the title fix: resolve all Dependabot security alerts chore(deps): resolve all Dependabot security alerts Feb 6, 2026
Comment thread e2e/react-router/package.json Resolved
Vadman97 and others added 2 commits February 6, 2026 12:12
- Restore @launchdarkly SDK packages (observability, session-replay,
  observability-react-native) to vite ^6.3.4 since the vite@^6 root
  resolution already handles bumping to >=6.4.1
- Pin e2e/react-router and e2e/react-three-vite to vite ^5.4.21 since
  their React plugins (@vitejs/plugin-react-swc ^3.7.0 and
  @vitejs/plugin-react ^4.3.0) are not compatible with Vite 7

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Comment thread sdk/highlight-py/pyproject.toml Resolved
@rollup/plugin-commonjs@25 depends on glob@^10.5.0 which removed its
default export in v10.5.0, breaking the ESM import. Upgrade to
@rollup/plugin-commonjs@^28.0.2 and @rollup/plugin-node-resolve@^16.0.0
which don't depend on glob at all.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Comment thread e2e/remix/package.json Resolved
Comment thread package.json Resolved
Vadman97 and others added 2 commits February 6, 2026 13:35
Next.js 16 changed the NextConfig type to no longer accept function
returns, breaking the withHighlightConfig typegen. Pin to <16 until
the SDK is updated for Next 16 compatibility.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Replace blanket body-parser resolution with version-qualified ones:
  body-parser@~1.20.3 -> ^1.20.4 (for Express 4)
  body-parser@^2 -> ^2.2.1 (for Express 5)
- Align @remix-run/node to ^2.17.3 to match other @remix-run packages

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Comment thread sdk/highlight-next/package.json Resolved
Vadman97 and others added 2 commits February 6, 2026 14:11
Update peerDependencies to also specify <16 so users with Next.js 16+
get a proper peer dependency warning.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Dependabot bumped OpenTelemetry packages from 1.11.1 to 1.11.2 in
packages.config but didn't update the corresponding HintPath references
in cs.csproj. This caused xbuild to look for assemblies in nonexistent
1.11.1 directories, failing with 'Tracer type not found'.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Comment thread sdk/highlight-next/package.json Resolved
Revert the <16 upper bound from highlight-next's peerDependencies and
dependencies so Next.js 16 users aren't blocked from installing. Instead
add a root workspace resolution to pin next@>=13 to ^15.5.12 for the
build, since the SDK code isn't yet compatible with Next 16 types.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Vadman97
Vadman97 merged commit 372a434 into main Feb 9, 2026
29 of 30 checks passed
@Vadman97
Vadman97 deleted the fix/dependabot-alerts branch February 9, 2026 18:36
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.

2 participants