Open
Conversation
Snyk has created this PR to upgrade focus-trap from 6.3.0 to 6.9.0. See this package in npm: https://www.npmjs.com/package/focus-trap See this project in Snyk: https://app.snyk.io/org/nexuscompute/project/0af01599-32f0-4cff-878b-c5170a05ea81?utm_source=github&utm_medium=referral&page=upgrade-pr
This was referenced Nov 24, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade focus-trap from 6.3.0 to 6.9.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Release notes
Package name: focus-trap
-
6.9.0 - 2022-04-28
- 2a57e4b: Add new
- 8fd49df: Fixed bug where
- c32c60a: Fixed: onDeactivate, onPostDeactivate, and checkCanReturnFocus options originally given to createFocusTrap() were not being used by default when calling
-
6.8.1 - 2022-04-22
- 7c86111:
- Bump tabbable to
- Fix
- Expose
- Add info to README about testing traps in JSDom (which is not officially supported).
-
6.8.0 - 2022-04-20
- 21458c9: Bumps tabbable to v5.3.0 and includes all changes from the past v6.8.0 beta releases. The big new feature is opt-in Shadow DOM support in tabbable, and a new
-
6.8.0-beta.2 - 2022-03-12
-
6.8.0-beta.1 - 2022-02-12
-
6.8.0-beta.0 - 2022-01-28
-
6.7.3 - 2022-02-09
- ab20d3d: Fix issue with focusing negative tabindex node and then tabbing away when this node is not the last node in the trap's container ((#611)[https://github.com//issues/611])
-
6.7.2 - 2022-01-12
- c932330: Fixed bug where tabbing forward from an element with negative tabindex that is last in the trap would result in focus remaining on that element (565)
-
6.7.1 - 2021-09-27
- 28a069f: Fix bug from #504 where it's no longer possible to create a trap without any options [#525]
-
6.7.0 - 2021-09-24
- 893dd2c: Add
- 244f0c1: Extend the
- 60162eb: Fix bug where
- 7b6abfa: Fix how focus-trap determines the event's target, which was preventing traps inside open shadow DOMs from working properly (#496)
- 14b0ee8: Fix
-
6.6.1 - 2021-08-14
- 24063d7: Update tabbable to v5.2.1 to get bug fix for disabled fieldsets.
-
6.6.0 - 2021-07-01
-
6.5.1 - 2021-06-18
-
6.5.0 - 2021-06-07
-
6.4.0 - 2021-04-20
-
6.3.0 - 2021-01-16
from focus-trap GitHub release notesMinor Changes
trap.activeandtrap.pausedreadonly state properties on the trap so that the trap's active/paused state can be queried.Patch Changes
clickOutsideDeactivatehandler would get called on the 'click' event even if the node clicked was in the trap. As with 'mousedown' and 'touchstart' events where this option is also used, the handler should only get called if the target node is outside the trap.trap.deactivate({...})with an option set even if that option set didn't specify any overrides of these options.Patch Changes
^5.3.1(fixing previous update which was incorrectly set to5.3.0).tabbableOptionsnot being used in all internal uses of tabbable APIs.displayCheckoption intabbableOptionstypings and pass it through to tabbable APIs.Minor Changes
getShadowRoottabbable option exposed in a newtabbableOptionsfocus-trap config option.6.8.0-beta.1
6.8.0-beta.0
Patch Changes
Patch Changes
Patch Changes
Minor Changes
documentoption to support focus traps inside<iframe>elements (#97)setReturnFocusoption to receive a reference to the element that had focus prior to the trap being activated when a function is specified. Additionally, the function can now returnfalseto leave focus where it is at the time of deactivation. (#485)Patch Changes
KeyboardEventwas not being passed toescapeDeactivatesoption when it's a function (#498)initialFocusoption not supporting function returningfalseas documented (#490)Patch Changes
Commit messages
Package name: focus-trap
Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:

🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs