This repository has been archived by the owner on Mar 15, 2023. It is now read-only.
[Snyk] Upgrade @testing-library/user-event from 13.5.0 to 14.0.0 #573
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 @testing-library/user-event from 13.5.0 to 14.0.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.
Warning: This is a major version upgrade, and may be a breaking change.
Release notes
Package name: @testing-library/user-event
14.0.0 (2022-03-29)
⚠ BREAKING CHANGES
skipPointerEvents
has been removed.Use
pointerEventsCheck: PointerEventsCheckLevel.Never
instead.init
parameter has been removed fromuserEvent.upload
.applyAccept
defaults totrue
.userEvent.paste
API has new parameters.{ctrl}
,{del}
,{esc}
no longer describe a key. Use{Control}
,{Delete}
,{Escape}
instead.{alt}
,{ctrl}
,{meta}
,{shift}
no longer imply not releasing the key. Use{Alt>}
,{Control>}
,{Meta>}
,{Shift>}
instead.init
parameter has been removed from these APIs:userEvent.click
userEvent.dblClick
userEvent.tripleClick
userEvent.hover
userEvent.unhover
userEvent.selectOptions
userEvent.deselectOptions
userEvent.upload
no longer supportsclickInit
as part of its
init
parameter.{selectall}
has been removed.keyCode
property on keyboard events has been removed.userEvent.clear
on an element which is not editable.userEvent.clear
from focussing/selecting content.focusTrap
option has been removed fromuserEvent.tab()
.userEvent.type
does no longer move the cursorif used with
skipClick=false
and withoutinitialSelectionStart
.This might break tests relying on unintended side-effects of the previous implementation.
Features
beforeinput
(#851) (8890bd6)pointer
API (#750) (c12ee44)setup
API (#746) (719ba03)userEvent.copy
anduserEvent.cut
(#787) (8727a2d)userEvent.tripleClick
API (#773) (0badabd)[Tab]
support (#767) (87470ff){Control}+[KeyA]
(#774) (ea9b18a)pointerEventsCheck
option (#823) (e2a5f43)MouseEventInit
(#784) (56ebf7d)userEvent.paste
(#785) (f8fe217)userEvent.clear
API (#779) (1cda1b1)Bug Fixes
:disabled
(#872) (1a00fdf)copy
/cut
(#866) (5423094)paste
(#862) (d3d71ac)createEvent
(#781) (da5b5b7)KeyboardEvent.charCode
onkeypress
(#771) (55e194a)<button/>
on[Enter]
(#808) (eca157a)activeElement
on click outside of focusable (#834) (d64167c)<label/>
(#810) (2c5d9f1)contextmenu
onmousedown
(#811) (e1c4cad)tabIndex>0
beforetabIndex=0
(#809) (1bc5945)focusTrap
option (#772) (a0412c0)visibility:hidden
(#799) (a747b0a)Miscellaneous Chores
14.0.0-beta.14 (2022-03-24)
Bug Fixes
14.0.0-beta.13 (2022-03-04)
Bug Fixes
:disabled
(#872) (1a00fdf)14.0.0-beta.12 (2022-03-01)
Bug Fixes
copy
/cut
(#866) (5423094)paste
(#862) (d3d71ac)14.0.0-beta.11 (2022-02-10)
Features
beforeinput
(#851) (8890bd6)14.0.0-beta.10 (2022-02-08)
Bug Fixes
14.0.0-beta.9 (2022-02-07)
Bug Fixes
14.0.0-beta.8 (2022-01-16)
Bug Fixes
activeElement
on click outside of focusable (#834) (d64167c)14.0.0-beta.7 (2022-01-05)
⚠ BREAKING CHANGES
skipPointerEvents
has been removed.Use
pointerEventsCheck: PointerEventsCheckLevel.Never
instead.Features
pointerEventsCheck
option (#823) (e2a5f43)Commit messages
Package name: @testing-library/user-event
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