Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency @testing-library/user-event to v14 #18

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 26, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@testing-library/user-event ^12.1.10 -> ^14.0.0 age adoption passing confidence

Release Notes

testing-library/user-event

v14.4.3

Compare Source

Bug Fixes

v14.4.2

Compare Source

Bug Fixes

v14.4.1

Compare Source

Bug Fixes

v14.4.0

Compare Source

Features
Bug Fixes
  • event: be robust against incomplete event implementations (#​1009) (289828b)
  • upload: be robust against missing FileList implementation (#​1007) (a46b4d7)
  • keyboard: switch modifier state of lock keys on the correct event (#​1003) (2852509)
  • keyboard: remove platform-specific additional key events for Control on AltGraph (#​1003) (2852509)
  • pointer: dispatch contextmenu events with detail: 0 (#​1003) (2852509)
  • pointer: always set PointerEvent.isPrimary (#​1003) (2852509)
  • pointer: set button property on pointer events separately from legacy mouse events (#​1003) (2852509)
  • pointer: click closest common ancestor if mousedown and mouseup happen on different elements (#​1003) (2852509)
  • pointer: omit click event on release if another button is released first (#​1003) (2852509)
  • pointer: dispatch mouseover, mouseenter and mousemove on disabled elements (#​1003) (2852509)
  • pointer: prevent mouse* events per pointerdown event handler (#​1003) (2852509)
  • pointer: dispatch *out and *over events when moving into / out of nested elements (#​1003) (2852509)
  • pointer: dispatch *enter and *leave events on ancestors (#​1003) (2852509)

v14.3.0

Compare Source

Features

v14.2.6

Compare Source

Bug Fixes
  • document: reduce impact of React@17 workaround (#​992) (9816d38)
  • pointer: do not throw for pointer-events: none on previous target (#​991) (6e4058b)

v14.2.5

Compare Source

Bug Fixes
  • document: do not track value on HTMLSelectElement (#​989) (77a7fa8)

v14.2.4

Compare Source

Bug Fixes
  • use window.FileList instead of implicit global (c88865d)

v14.2.3

Compare Source

Bug Fixes
  • document: use setters/methods on element as default (#​987) (c40e614)

v14.2.2

Compare Source

Bug Fixes

v14.2.1

Compare Source

Performance Improvements
  • tab: avert visibility check on irrelevant elements (#​967) (d2d8a39)

v14.2.0

Compare Source

Features
  • report element with declaration in pointerEventsCheck (#​950) (31b7091)
Bug Fixes

v14.1.1

Compare Source

14.1.1 (2022-04-17)
Bug Fixes

v14.1.0

Compare Source

Features
Bug Fixes

v14.0.4

Compare Source

14.0.4 (2022-04-01)
Bug Fixes

v14.0.3

Compare Source

14.0.3 (2022-03-31)
Bug Fixes
  • pointer: change selection before dispatching focus (#​895) (06f12a6)

v14.0.2

Compare Source

14.0.2 (2022-03-31)
Bug Fixes

v14.0.1

Compare Source

14.0.1 (2022-03-31)
Bug Fixes

v14.0.0

Compare Source

⚠ BREAKING CHANGES
  • APIs always return a Promise.
  • pointer: skipPointerEvents has been removed.
    Use pointerEventsCheck: PointerEventsCheckLevel.Never instead.
  • upload: init parameter has been removed from userEvent.upload.
  • upload: applyAccept defaults to true.
  • The 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 supports clickInit
    as part of its init parameter.
  • Behavior for special key descriptor {selectall} has been removed.
  • Support for keyCode property on keyboard events has been removed.
  • An error is thrown when calling userEvent.clear on an element which is not editable.
  • An error is thrown when event handlers prevent userEvent.clear from focussing/selecting content.
  • tab: The focusTrap option has been removed from userEvent.tab().
  • type: userEvent.type does no longer move the cursor
    if used with skipClick=false and without initialSelectionStart.
  • The implementation of pointer related APIs was replaced.
    This might break tests relying on unintended side-effects of the previous implementation.
  • Support for node 10 was removed as it reached its end-of-life.
Features
Bug Fixes
Miscellaneous Chores

v13.5.0

Compare Source

Features
  • keyboard: keep key pressed for multiple keydown events (#​728) (5d946d5)

v13.4.2

Compare Source

Bug Fixes
  • keyboard: submit on enter keypress for checkboxes and radio buttons (#​741) (97ba08e)

v13.4.1

Compare Source

Bug Fixes

v13.4.0

Compare Source

Features

v13.3.0

Compare Source

Features

v13.2.1

Compare Source

Bug Fixes

v13.2.0

Compare Source

Features
  • add keydownBehavior for ArrowLeft and ArrowRight on <textarea> (#​686) (f8f00d4)

v13.1.9

Compare Source

Bug Fixes
  • keyboard: do not set document selection when typing on <input> (#​679) (f2fec13)

v13.1.8

Compare Source

Bug Fixes
  • keyboard: maintain cursor position on controlled React input (#​665) (03f38b9)

v13.1.7

Compare Source

Bug Fixes

v13.1.6

Compare Source

Bug Fixes
  • keyboard: add link to README in key descriptor error (#​666) (ebc90d8)

v13.1.5

Compare Source

Bug Fixes
  • relax typing and throw error for unsupported elements (#​649) (dc13160)

v13.1.4

Compare Source

Bug Fixes
  • keyboard: recognize checkbox/radio as clickable inputs (#​654) (35d996e)

v13.1.3

Compare Source

Bug Fixes
  • throw error when click/hover on pointer-events: none (#​647) (6b2ce66)

v13.1.2

Compare Source

Bug Fixes

v13.1.1

Compare Source

Bug Fixes

v13.1.0

Compare Source

Features

v13.0.16

Compare Source

Bug Fixes
  • keyboard: suppress invalid input on <input type="number"> (#​628) (f633a52)

v13.0.15

Compare Source

Bug Fixes

v13.0.14

Compare Source

Bug Fixes

v13.0.13

Compare Source

Bug Fixes

v13.0.12

Compare Source

Bug Fixes

v13.0.11

Compare Source

Bug Fixes

v13.0.10

Compare Source

Bug Fixes

v13.0.9

Compare Source

Bug Fixes
  • keyboard: inputType for Enter on contenteditable (#​614) (2b0632a)

v13.0.8

Compare Source

Bug Fixes

v13.0.7

Compare Source

Bug Fixes

v13.0.6

Compare Source

Bug Fixes

v13.0.5

Compare Source

Bug Fixes

v13.0.4

Compare Source

Bug Fixes

v13.0.3

Compare Source

Bug Fixes

v13.0.2

Compare Source

Bug Fixes

v13.0.1

Compare Source

Bug Fixes

v13.0.0

Compare Source

Features
BREAKING CHANGES
  • userEvent.type features a rewritten implementation shared with the new userEvent.keyboard. This might break code depending on unintended/undocumented behavior of the previous implementation.
  • userEvent.type treats { and [ as special characters.
  • userEvent.type returns no Promise if called without delay.

v12.8.3

Compare Source

Bug Fixes

v12.8.2

Compare Source

Bug Fixes

v12.8.1

Compare Source

Bug Fixes

v12.8.0

Compare Source

Features

v12.7.4

Compare Source

Bug Fixes

v12.7.3

Compare Source

Reverts

v12.7.2

Compare Source

Bug Fixes

v12.7.1

Compare Source

Bug Fixes

v12.7.0

Compare Source

Features

v12.6.3

Compare Source

Bug Fixes

v12.6.2

Compare Source

Bug Fixes

v12.6.1

Compare Source

Bug Fixes

v12.6.0

Compare Source

Features
  • specialChars: Create and expose specialChars map (#​510) (e8b7778)

v12.5.0

Compare Source

Features

v12.4.0

Compare Source

Features

v12.3.0

Compare Source

Features

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate
Copy link
Contributor Author

renovate bot commented Oct 26, 2022

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: @reach/alert@0.1.5
npm WARN Found: react@17.0.1
npm WARN node_modules/react
npm WARN   react@"^17.0.1" from the root project
npm WARN   13 more (@testing-library/react, ...)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer react@"^16.8.0" from @reach/alert@0.1.5
npm WARN node_modules/@reach/alert
npm WARN   @reach/alert@"^0.1.2" from toasted-notes@3.2.0
npm WARN   node_modules/toasted-notes
npm WARN 
npm WARN Conflicting peer dependency: react@16.14.0
npm WARN node_modules/react
npm WARN   peer react@"^16.8.0" from @reach/alert@0.1.5
npm WARN   node_modules/@reach/alert
npm WARN     @reach/alert@"^0.1.2" from toasted-notes@3.2.0
npm WARN     node_modules/toasted-notes
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: @reach/alert@0.1.5
npm WARN Found: react-dom@17.0.1
npm WARN node_modules/react-dom
npm WARN   react-dom@"^17.0.1" from the root project
npm WARN   5 more (@testing-library/react, ...)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer react-dom@"^16.8.0" from @reach/alert@0.1.5
npm WARN node_modules/@reach/alert
npm WARN   @reach/alert@"^0.1.2" from toasted-notes@3.2.0
npm WARN   node_modules/toasted-notes
npm WARN 
npm WARN Conflicting peer dependency: react-dom@16.14.0
npm WARN node_modules/react-dom
npm WARN   peer react-dom@"^16.8.0" from @reach/alert@0.1.5
npm WARN   node_modules/@reach/alert
npm WARN     @reach/alert@"^0.1.2" from toasted-notes@3.2.0
npm WARN     node_modules/toasted-notes
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: @reach/component-component@0.1.3
npm WARN Found: react@17.0.1
npm WARN node_modules/react
npm WARN   react@"^17.0.1" from the root project
npm WARN   13 more (@testing-library/react, ...)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer react@"^16.4.0" from @reach/component-component@0.1.3
npm WARN node_modules/@reach/component-component
npm WARN   @reach/component-component@"^0.1.3" from @reach/alert@0.1.5
npm WARN   node_modules/@reach/alert
npm WARN 
npm WARN Conflicting peer dependency: react@16.14.0
npm WARN node_modules/react
npm WARN   peer react@"^16.4.0" from @reach/component-component@0.1.3
npm WARN   node_modules/@reach/component-component
npm WARN     @reach/component-component@"^0.1.3" from @reach/alert@0.1.5
npm WARN     node_modules/@reach/alert
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: @reach/component-component@0.1.3
npm WARN Found: react-dom@17.0.1
npm WARN node_modules/react-dom
npm WARN   react-dom@"^17.0.1" from the root project
npm WARN   5 more (@testing-library/react, ...)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer react-dom@"^16.4.0" from @reach/component-component@0.1.3
npm WARN node_modules/@reach/component-component
npm WARN   @reach/component-component@"^0.1.3" from @reach/alert@0.1.5
npm WARN   node_modules/@reach/alert
npm WARN 
npm WARN Conflicting peer dependency: react-dom@16.14.0
npm WARN node_modules/react-dom
npm WARN   peer react-dom@"^16.4.0" from @reach/component-component@0.1.3
npm WARN   node_modules/@reach/component-component
npm WARN     @reach/component-component@"^0.1.3" from @reach/alert@0.1.5
npm WARN     node_modules/@reach/alert
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: @reach/visually-hidden@0.1.4
npm WARN Found: react@17.0.1
npm WARN node_modules/react
npm WARN   react@"^17.0.1" from the root project
npm WARN   13 more (@testing-library/react, ...)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer react@"^16.8.0" from @reach/visually-hidden@0.1.4
npm WARN node_modules/@reach/visually-hidden
npm WARN   @reach/visually-hidden@"^0.1.4" from @reach/alert@0.1.5
npm WARN   node_modules/@reach/alert
npm WARN 
npm WARN Conflicting peer dependency: react@16.14.0
npm WARN node_modules/react
npm WARN   peer react@"^16.8.0" from @reach/visually-hidden@0.1.4
npm WARN   node_modules/@reach/visually-hidden
npm WARN     @reach/visually-hidden@"^0.1.4" from @reach/alert@0.1.5
npm WARN     node_modules/@reach/alert
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: @reach/visually-hidden@0.1.4
npm WARN Found: react-dom@17.0.1
npm WARN node_modules/react-dom
npm WARN   react-dom@"^17.0.1" from the root project
npm WARN   5 more (@testing-library/react, ...)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer react-dom@"^16.8.0" from @reach/visually-hidden@0.1.4
npm WARN node_modules/@reach/visually-hidden
npm WARN   @reach/visually-hidden@"^0.1.4" from @reach/alert@0.1.5
npm WARN   node_modules/@reach/alert
npm WARN 
npm WARN Conflicting peer dependency: react-dom@16.14.0
npm WARN node_modules/react-dom
npm WARN   peer react-dom@"^16.8.0" from @reach/visually-hidden@0.1.4
npm WARN   node_modules/@reach/visually-hidden
npm WARN     @reach/visually-hidden@"^0.1.4" from @reach/alert@0.1.5
npm WARN     node_modules/@reach/alert
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: airbnb-prop-types@2.16.0
npm WARN Found: react@17.0.1
npm WARN node_modules/react
npm WARN   react@"^17.0.1" from the root project
npm WARN   13 more (@testing-library/react, ...)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer react@"^0.14 || ^15.0.0 || ^16.0.0-alpha" from airbnb-prop-types@2.16.0
npm WARN node_modules/airbnb-prop-types
npm WARN   airbnb-prop-types@"^2.16.0" from enzyme-adapter-utils@1.14.0
npm WARN   node_modules/enzyme-adapter-utils
npm WARN 
npm WARN Conflicting peer dependency: react@16.14.0
npm WARN node_modules/react
npm WARN   peer react@"^0.14 || ^15.0.0 || ^16.0.0-alpha" from airbnb-prop-types@2.16.0
npm WARN   node_modules/airbnb-prop-types
npm WARN     airbnb-prop-types@"^2.16.0" from enzyme-adapter-utils@1.14.0
npm WARN     node_modules/enzyme-adapter-utils
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: connected-react-router@6.0.0
npm ERR! Found: react@17.0.1
npm ERR! node_modules/react
npm ERR!   react@"^17.0.1" from the root project
npm ERR!   peer react@"*" from @testing-library/react@11.2.2
npm ERR!   node_modules/@testing-library/react
npm ERR!     @testing-library/react@"^11.1.0" from the root project
npm ERR!   12 more (@wojtekmaj/enzyme-adapter-react-17, ...)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.4.0" from connected-react-router@6.0.0
npm ERR! node_modules/connected-react-router
npm ERR!   connected-react-router@"^6.0.0" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: react@16.14.0
npm ERR! node_modules/react
npm ERR!   peer react@"^16.4.0" from connected-react-router@6.0.0
npm ERR!   node_modules/connected-react-router
npm ERR!     connected-react-router@"^6.0.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /tmp/renovate-cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/renovate-cache/others/npm/_logs/2022-11-27T09_11_44_853Z-debug-0.log

@urlDev urlDev closed this Nov 27, 2022
@renovate
Copy link
Contributor Author

renovate bot commented Nov 27, 2022

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 14.x releases. But if you manually upgrade to 14.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

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.

1 participant