Snyk has created this PR to upgrade @testing-library/user-event from 13.5.0 to 14.1.0.
:information_source: 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.
The recommended version is 38 versions ahead of your current version.
The recommended version was released 24 days ago, on 2022-04-11.
Snyk has created this PR to upgrade @testing-library/user-event from 13.5.0 to 14.1.0.
:information_source: 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.1.0 (2022-04-11)
Features
advanceTimers
option (#907) (627a5cf)Bug Fixes
maxlength
(#909) (f5049c4)14.0.4 (2022-04-01)
Bug Fixes
HTMLInputElement.select()
(#898) (6d36828)14.0.3 (2022-03-31)
Bug Fixes
focus
(#895) (06f12a6)14.0.2 (2022-03-31)
Bug Fixes
14.0.1 (2022-03-31)
Bug Fixes
14.0.0 (2022-03-29)
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
Commit messages
Package name: @testing-library/user-event
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:![](https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiI3ZjJmZGVmOS1jNTk4LTQ5NWUtODRiNS04ODJkZTdkM2ViOTYiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjdmMmZkZWY5LWM1OTgtNDk1ZS04NGI1LTg4MmRlN2QzZWI5NiJ9fQ==)
![](https://app.snyk.io/badges/merge-advice/?package_manager=npm&package_name=@testing-library/user-event&from_version=13.5.0&to_version=14.1.0&pr_id=7f2fdef9-c598-495e-84b5-882de7d3eb96&visibility=false&has_feature_flag=false)
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs