Skip to content

build(deps): bump focus-trap from 8.1.0 to 8.2.1#496

Merged
makermelissa merged 1 commit into
mainfrom
dependabot/npm_and_yarn/focus-trap-8.2.1
May 19, 2026
Merged

build(deps): bump focus-trap from 8.1.0 to 8.2.1#496
makermelissa merged 1 commit into
mainfrom
dependabot/npm_and_yarn/focus-trap-8.2.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 18, 2026

Bumps focus-trap from 8.1.0 to 8.2.1.

Release notes

Sourced from focus-trap's releases.

v8.2.1

Patch Changes

  • 7e0e518: Fixes lifecycle ordering bug introduced in v8.0.0 that always delays the order even if delayInitialFocus=false, delayReturnFocus=false, checkCanFocusTrap=undefined, checkCanReturnFocus=undefined (which would indicate a fully synchronous activation/pause/unpause/deactivation process) #1862
  • 2cba31e: Improve shadow DOM focus handling for nested traps by ensuring a parent trap resumes using the innermost active element (#1885)

v8.2.0

Minor Changes

  • 567dbe1: Add new delayReturnFocus option (default true) to control whether return focus and onPostDeactivate are deferred by one frame (#1689).

Patch Changes

  • b70e8d9: Fix bug where removing the ancestor of a focused node within a trap would result in focus landing on the body instead of remaining in the trap (#1660).
Changelog

Sourced from focus-trap's changelog.

8.2.1

Patch Changes

  • 7e0e518: Fixes lifecycle ordering bug introduced in v8.0.0 that always delays the order even if delayInitialFocus=false, delayReturnFocus=false, checkCanFocusTrap=undefined, checkCanReturnFocus=undefined (which would indicate a fully synchronous activation/pause/unpause/deactivation process) #1862
  • 2cba31e: Improve shadow DOM focus handling for nested traps by ensuring a parent trap resumes using the innermost active element (#1885)

8.2.0

Minor Changes

  • 567dbe1: Add new delayReturnFocus option (default true) to control whether return focus and onPostDeactivate are deferred by one frame (#1689).

Patch Changes

  • b70e8d9: Fix bug where removing the ancestor of a focused node within a trap would result in focus landing on the body instead of remaining in the trap (#1660).
Commits
  • 23b5ccf Version Packages (#1884)
  • cdb5968 add jcfranco as a contributor for bug (#1887)
  • 2cba31e fix: ensure parent trap resumes using innermost active element in shadow DOM ...
  • 7e0e518 #1862 Do not unnecessarily delay lifecycle events when options not async (#...
  • 7137b8b [DEPENDABOT]: Bump jest from 30.3.0 to 30.4.2 (#1879)
  • a13e4de [DEPENDABOT]: Bump eslint-plugin-cypress from 6.4.0 to 6.4.1 (#1875)
  • 1004797 [DEPENDABOT]: Bump start-server-and-test from 3.0.2 to 3.0.4 (#1876)
  • d03333d [DEPENDABOT]: Bump jest-environment-jsdom from 30.3.0 to 30.4.1 (#1877)
  • 659c7a1 [DEPENDABOT]: Bump babel-jest from 30.3.0 to 30.4.1 (#1878)
  • 4b2353f [DEPENDABOT]: Bump @​typescript-eslint/parser from 8.59.2 to 8.59.3 (#1880)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [focus-trap](https://github.com/focus-trap/focus-trap) from 8.1.0 to 8.2.1.
- [Release notes](https://github.com/focus-trap/focus-trap/releases)
- [Changelog](https://github.com/focus-trap/focus-trap/blob/master/CHANGELOG.md)
- [Commits](focus-trap/focus-trap@v8.1.0...v8.2.1)

---
updated-dependencies:
- dependency-name: focus-trap
  dependency-version: 8.2.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels May 18, 2026
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 18, 2026

Deploying web-editor with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4613aa1
Status: ✅  Deploy successful!
Preview URL: https://b2af2379.web-editor-2j8.pages.dev
Branch Preview URL: https://dependabot-npm-and-yarn-focu-k2tg.web-editor-2j8.pages.dev

View logs

@makermelissa makermelissa merged commit 893a89e into main May 19, 2026
2 checks passed
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/focus-trap-8.2.1 branch May 19, 2026 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant