Skip to content

chore: bump dependencies to resolve security advisories - #1534

Merged
dannyhw merged 2 commits into
mainfrom
chore/resolve-security-alerts
Nov 30, 2026
Merged

dannyhw merged 2 commits into
mainfrom
chore/resolve-security-alerts

Conversation

@dannyhw

@dannyhw dannyhw commented Nov 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

Resolves 74 of the 82 open Dependabot alerts and all but 6 pnpm audit advisories, using version bumps rather than new overrides.

Direct bumps

Package From → To Fixes
@module-federation/enhanced / runtime / sdk 2.9.2 → 2.9.4 undici 7.29.1 → 7.30.1 (pinned by dts-plugin)
fastify (dev-server) ^5.12.5 → ^5.12.8 GHSA-389g-gv7q-r4x8, fast-uri
launch-editor (dev-server) ^2.14.1 → ^2.14.2 3 launch-editor advisories
vite (devtools plugin + vite 7 hold override) ^7.3.1 → ^7.3.7 5 vite advisories
vitest (catalog) ^4.1.11 → ^4.1.12 @vitest/mocker advisories
e2e / @e2e-dev/mobile 0.19.0 / 0.11.0 → 0.22.0 / 0.12.5 zod 4.6.1 → 4.6.7 (smallest versions with the fix)
@callstack/rspress-preset / rspress-theme (website) 0.6.0 → 0.6.8 zod 3 → zod 4
@changesets/cli ^3.0.3 → ^3.1.0 launch-editor
addressable (tester Gemfile.locks) 2.9.0 → 2.10.0 18 addressable alerts

Lockfile refreshes within existing ranges

node-forge 1.4.4, follow-redirects 1.16.3, body-parser 2.4.0, qs 6.17.1, fast-uri 3.1.9 / 4.2.4, postcss-selector-parser 6.1.6, joi 17.13.9, fast-xml-parser 5.12.1, undici 7.30.1 (@electron/get), and @expo/cli 58.1.22. That @expo/cli release no longer depends on zod 3. It brings its own @expo/config/@expo/metro-config and @react-native/*@0.88.1 alongside expo 58.0.13's copies. That is within expo's declared range.

Overrides

  • Removed caniuse-lite: every consumer already resolves above the floor, and removing it only changes the lockfile header.
  • Kept koa@2, koa@3, ws@8, adm-zip, esbuild@<0.25.0, uuid@7. I removed each one in turn and re-resolved: each would bring back a vulnerable version, mostly via the older MF versions pinned in tests/integration.
  • Kept vite ^7 hold, since Node 18 is still in the main test matrix.
  • Kept react-native-screens: without it, expo-router's ^5.0.0-alpha.3 range would resolve 5.0.0-beta.2 on a fresh install.

Not fixable by a bump (left open)

Test plan

  • pnpm build, pnpm typecheck, pnpm lint:ci
  • pnpm test (15/15 tasks)
  • pnpm website:build
  • e2e list in tester-federation-v2 picks up all 16 tests on e2e 0.22.0
  • pnpm audit: 71 → 6 advisories (all in the list above)
  • All 2,124 locked npm packages checked against the GitHub advisory DB: only the advisories listed above remain
  • E2E workflow on this PR (MF 2.9.4, e2e 0.22.0)

Direct bumps:
- @module-federation/enhanced, runtime, sdk 2.9.2 -> 2.9.4 (undici 7.30.1)
- fastify ^5.12.8, launch-editor ^2.14.2 (dev-server)
- vite ^7.3.7 (devtools plugin and the vite 7 hold), vitest ^4.1.12
- e2e 0.22.0 and @e2e-dev/mobile 0.12.5 (zod 4.6.7)
- @callstack/rspress-preset and rspress-theme 0.6.8 (zod 4)
- @changesets/cli ^3.1.0 (launch-editor 2.14.2)
- addressable 2.10.0 in the tester Gemfile.locks

Lockfile refreshes within existing ranges: node-forge, follow-redirects,
body-parser, qs, fast-uri, postcss-selector-parser, joi, fast-xml-parser,
undici, and @expo/cli (58.1.22 no longer depends on zod 3).

Drop the caniuse-lite override: every consumer already resolves above it.
@vercel

vercel Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
repack-website Ready Ready Preview Nov 30, 2026 2:23pm UTC

Request Review

@changeset-bot

changeset-bot Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: b4e1055

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@callstack/repack-dev-server Patch
@callstack/repack Patch
@callstack/repack-plugin-expo-modules Patch
@callstack/repack-plugin-nativewind Patch
@callstack/repack-plugin-reanimated Patch
@callstack/repack-init Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@dannyhw
dannyhw marked this pull request as ready for review November 30, 2026 14:20
The @expo/config-plugins refresh changes react-native-test-app's pnpm directory name.
@dannyhw
dannyhw merged commit 0f96980 into main Nov 30, 2026
12 of 13 checks passed
@dannyhw
dannyhw deleted the chore/resolve-security-alerts branch November 30, 2026 14:34

This branch was successfully deployed

1 active deployment
Preview — b4e10556 Deployed Nov 30, 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