Skip to content

fix: update LaunchPad UI Focus Trap to 0.2.0 - #1054

Open
devin-ai-integration[bot] wants to merge 4 commits into
mainfrom
devin/dep-vulns-major-pkg/-launchpad-ui-focus-trap-4050aec8/2026-11-24
Open

devin-ai-integration[bot] wants to merge 4 commits into
mainfrom
devin/dep-vulns-major-pkg/-launchpad-ui-focus-trap-4050aec8/2026-11-24

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Dependency vulnerability fixes (automated)

Generated by the Devin Dependency Security Vuln Fix automation run on 2026-11-30.
Change type: Isolated major update with dependency overrides and generated build output.

Warning

We're not just looking for a review like a normal PR. Security can offer this fix as a recommendation, but doesn't have the tooling or domain knowledge to safely verify changes like this end-to-end for each repo. Please review, test, and own deployment before merging. For more information: https://launchdarkly.atlassian.net/wiki/spaces/SEC/pages/5360943572/Dependency+Vulnerability+Remediation+with+Devin.

Findings addressed

Package Ecosystem Bump type Current → Target Severity Age Source(s) Advisory
@launchpad-ui/focus-trap npm Major (0.x) 0.1.23 → 0.2.0 Medium 80d Wiz EOL-LIBRARY

Review facts

  • Focus Trap 0.2.0 is the first supplied supported release. Its React peer range now includes React 19. It also requires React Aria Focus 3.20.3.
  • Popover 0.11.46 is the first patch on its release line that supports Focus Trap 0.2.0. ldcli uses this Popover through the tooltip of the copy button.
  • Core, Drawer and Modal declare older Focus Trap ranges. The overrides update those copies. The production bundle source map confirms that only the supported Popover path includes Focus Trap.
  • An override pins @react-aria/focus to 3.20.3 (within ^3.18.2 declared by react-aria and react-aria-components) so all LaunchPad and React Aria packages share a single FocusScope context instance. This override also replaces exact 3.18.2 pins in LaunchPad Data Table, Inline Edit, Menu, Select, Tag, and Toggle.

Other changes in this diff:

  • Required companion bumps: Popover 0.11.46 uses React Aria and Floating UI. @react-aria/focus is pinned to 3.20.3 to prevent duplicate FocusScope copies. Framer Motion 12.15.0 builds with the matching motion-dom 12.15.0 release.
  • Removed unused dependencies: None.
  • Files changed outside manifests/lockfiles/vendor/: Vite regenerates the embedded dev server UI bundle; internal/dev_server/ui/src/__tests__/Flags.test.tsx adds a keyboard-focus test for copying flag keys.

Exposure if not merged

Describes the default branch before this PR.

  • @launchpad-ui/focus-trap EOL-LIBRARY — impact: Wiz reports that this release line is outside its supported version range.; exploit status: no specific exploit information supplied for this finding.

Deferred / excluded findings

None.

Verification

  • Install: ✅ npm ci
  • Build: ✅ npm run build and go build ./...
  • Tests: ✅ 21 UI tests and go test ./...
  • Lint: ✅ npm run lint, go vet ./..., and pre-commit

Note

Overview
Moves the dev server UI off EOL @launchpad-ui/focus-trap 0.1.23 by adding npm overrides that pin 0.2.0 for LaunchPad popover, core, drawer, and modal, bump @launchpad-ui/popover to 0.11.46, and pin @react-aria/focus to 3.20.3 so tooltip/popover overlays share one FocusScope context. The lockfile refresh pulls related transitive updates (Floating UI, internationalized packages, framer-motion/motion-dom, react-stately).

Adds a Flags UI test that the flag copy tooltip does not steal keyboard focus after copy—guarding the behavior the new focus-trap release is meant to fix.

Reviewed by Cursor Bugbot for commit f1f8962. Bugbot is set up for automated code reviews on this repo. Configure here.

Link to Devin session: https://app.devin.ai/sessions/072b784bc2e94863aa9442188f619ebe
Open in Devin Desktop: https://app.devin.ai/desktop/session/072b784bc2e94863aa9442188f619ebe?variant=devin

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration
devin-ai-integration Bot requested a review from a team as a code owner November 24, 2026 20:14
@devin-ai-integration
devin-ai-integration Bot requested review from apucacao and removed request for a team November 24, 2026 20:14
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

…-pkg/-launchpad-ui-focus-trap-4050aec8/2026-11-24

@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 using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 95d6629. Configure here.

Comment thread internal/dev_server/ui/package.json Resolved
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants