Skip to content

[Snyk] Upgrade focus-trap from 6.3.0 to 6.9.0#142

Open
NOUIY wants to merge 1 commit intomasterfrom
snyk-upgrade-ba607cad96fc03d8b1248e9f263b5fe4
Open

[Snyk] Upgrade focus-trap from 6.3.0 to 6.9.0#142
NOUIY wants to merge 1 commit intomasterfrom
snyk-upgrade-ba607cad96fc03d8b1248e9f263b5fe4

Conversation

@NOUIY
Copy link
Owner

@NOUIY NOUIY commented May 21, 2022

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.


  • The recommended version is 15 versions ahead of your current version.
  • The recommended version was released 22 days ago, on 2022-04-28.
Release notes
Package name: focus-trap
  • 6.9.0 - 2022-04-28

    Minor Changes

    • 2a57e4b: Add new trap.active and trap.paused readonly state properties on the trap so that the trap's active/paused state can be queried.

    Patch Changes

    • 8fd49df: Fixed bug where clickOutsideDeactivate handler 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.
    • c32c60a: Fixed: onDeactivate, onPostDeactivate, and checkCanReturnFocus options originally given to createFocusTrap() were not being used by default when calling trap.deactivate({...}) with an option set even if that option set didn't specify any overrides of these options.
  • 6.8.1 - 2022-04-22

    Patch Changes

    • 7c86111:
      • Bump tabbable to ^5.3.1 (fixing previous update which was incorrectly set to 5.3.0).
      • Fix tabbableOptions not being used in all internal uses of tabbable APIs.
      • Expose displayCheck option in tabbableOptions typings and pass it through to tabbable APIs.
      • Add info to README about testing traps in JSDom (which is not officially supported).
  • 6.8.0 - 2022-04-20

    Minor Changes

    • 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 getShadowRoot tabbable option exposed in a new tabbableOptions focus-trap config option.
  • 6.8.0-beta.2 - 2022-03-12
  • 6.8.0-beta.1 - 2022-02-12

    6.8.0-beta.1

  • 6.8.0-beta.0 - 2022-01-28

    6.8.0-beta.0

  • 6.7.3 - 2022-02-09

    Patch Changes

    • 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

    Patch Changes

    • 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

    Patch Changes

    • 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

    Minor Changes

    • 893dd2c: Add document option to support focus traps inside <iframe> elements (#97)
    • 244f0c1: Extend the setReturnFocus option 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 return false to leave focus where it is at the time of deactivation. (#485)

    Patch Changes

    • 60162eb: Fix bug where KeyboardEvent was not being passed to escapeDeactivates option when it's a function (#498)
    • 7b6abfa: Fix how focus-trap determines the event's target, which was preventing traps inside open shadow DOMs from working properly (#496)
    • 14b0ee8: Fix initialFocus option not supporting function returning false as documented (#490)
  • 6.6.1 - 2021-08-14

    Patch Changes

    • 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 notes
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

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