Mause / financial-dash

https://financial-dash.vc.mause.me/openapi.yaml
https://financial-dash.vc.mause.me
1 stars 1 forks source link

fix(deps): update dependency @testing-library/user-event to v14 #315

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

WhiteSource Renovate

This PR contains the following updates:

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

Release Notes

testing-library/user-event ### [`v14.0.0`](https://togithub.com/testing-library/user-event/releases/v14.0.0) [Compare Source](https://togithub.com/testing-library/user-event/compare/v13.5.0...v14.0.0) ##### ⚠ 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`. - 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 - async APIs ([#​790](https://togithub.com/testing-library/user-event/issues/790)) ([86860cc](https://togithub.com/testing-library/user-event/commit/86860cc5fd1b59a6b34ffd00c96d22520f4aa56e)) - keep track of document state in UI ([#​747](https://togithub.com/testing-library/user-event/issues/747)) ([73e62d0](https://togithub.com/testing-library/user-event/commit/73e62d03877c736e18bc9e394e4ed07333b99933)) - rewrite selection handling ([#​776](https://togithub.com/testing-library/user-event/issues/776)) ([968c2c4](https://togithub.com/testing-library/user-event/commit/968c2c429e8d67974b9a313d1efab7d78c35c207)) - **event:** support `beforeinput` ([#​851](https://togithub.com/testing-library/user-event/issues/851)) ([8890bd6](https://togithub.com/testing-library/user-event/commit/8890bd6d17376205f553620148852d63f84d5565)) - add `pointer` API ([#​750](https://togithub.com/testing-library/user-event/issues/750)) ([c12ee44](https://togithub.com/testing-library/user-event/commit/c12ee44dc2caa19c5df98442759fcc9ae4ba167f)) - add `setup` API ([#​746](https://togithub.com/testing-library/user-event/issues/746)) ([719ba03](https://togithub.com/testing-library/user-event/commit/719ba03af5647e09cd734f419ce5f234af60328a)) - add `userEvent.copy` and `userEvent.cut` ([#​787](https://togithub.com/testing-library/user-event/issues/787)) ([8727a2d](https://togithub.com/testing-library/user-event/commit/8727a2d7b1723287923bf5e6ea1c33844d9cccf5)) - add `userEvent.tripleClick` API ([#​773](https://togithub.com/testing-library/user-event/issues/773)) ([0badabd](https://togithub.com/testing-library/user-event/commit/0badabdd504b0c42ad9adca94edd96ddb53ae303)) - apply modifier keys in pointer events ([#​751](https://togithub.com/testing-library/user-event/issues/751)) ([e33eb86](https://togithub.com/testing-library/user-event/commit/e33eb86194e08a0bc46285ca1acb57d6d533fbb7)) - **keyboard:** add `[Tab]` support ([#​767](https://togithub.com/testing-library/user-event/issues/767)) ([87470ff](https://togithub.com/testing-library/user-event/commit/87470ffe49c93c0b7a858d5c07d660fede90f881)) - **keyboard:** apply modifier state ([#​815](https://togithub.com/testing-library/user-event/issues/815)) ([e9635f6](https://togithub.com/testing-library/user-event/commit/e9635f656298ef1f96bd255b0d89031e04441537)) - **keyboard:** move cursor and delete content in contenteditable ([#​822](https://togithub.com/testing-library/user-event/issues/822)) ([b83b259](https://togithub.com/testing-library/user-event/commit/b83b25927a38de2477099ec2ad2ad074a5296ce6)) - **keyboard:** select all per `{Control}+[KeyA]` ([#​774](https://togithub.com/testing-library/user-event/issues/774)) ([ea9b18a](https://togithub.com/testing-library/user-event/commit/ea9b18a0e96142f7d4cd80009a53be06a1431c07)) - **pointer:** change selection per pointer ([#​763](https://togithub.com/testing-library/user-event/issues/763)) ([17fb8b1](https://togithub.com/testing-library/user-event/commit/17fb8b14056bb68d1c2fd9e8796c09e00aacd844)) - **pointer:** introduce `pointerEventsCheck` option ([#​823](https://togithub.com/testing-library/user-event/issues/823)) ([e2a5f43](https://togithub.com/testing-library/user-event/commit/e2a5f434b6e8b0ec0badddec52b54957b6f3320a)) - remove support for user provided `MouseEventInit` ([#​784](https://togithub.com/testing-library/user-event/issues/784)) ([56ebf7d](https://togithub.com/testing-library/user-event/commit/56ebf7d00620d7696d73e30f7f5d90a7ea02d0f3)) - **paste:** replace `userEvent.paste` ([#​785](https://togithub.com/testing-library/user-event/issues/785)) ([f8fe217](https://togithub.com/testing-library/user-event/commit/f8fe217fd445a27a62705894eb2c9f5a38a91f42)) - **clear:** rewrite `userEvent.clear` API ([#​779](https://togithub.com/testing-library/user-event/issues/779)) ([1cda1b1](https://togithub.com/testing-library/user-event/commit/1cda1b1b9726c2e7db213ec543f96b3fde2d10b8)) - **upload:** replace element properties ([#​794](https://togithub.com/testing-library/user-event/issues/794)) ([543eadb](https://togithub.com/testing-library/user-event/commit/543eadb14d8d0f08d5023edbd3353eb5df591329)) ##### Bug Fixes - check for inherited `:disabled` ([#​872](https://togithub.com/testing-library/user-event/issues/872)) ([1a00fdf](https://togithub.com/testing-library/user-event/commit/1a00fdfc3085addc4792897aecda202e07c3f5d2)) - **clipboard:** prevent default behavior on `copy`/`cut` ([#​866](https://togithub.com/testing-library/user-event/issues/866)) ([5423094](https://togithub.com/testing-library/user-event/commit/5423094180cd0946b7440f699933b6569b8639f5)) - **clipboard:** prevent default behavior on `paste` ([#​862](https://togithub.com/testing-library/user-event/issues/862)) ([d3d71ac](https://togithub.com/testing-library/user-event/commit/d3d71ac65d21f96b36cd1e087b79890bb8e61f03)) - create MouseEvents per `createEvent` ([#​781](https://togithub.com/testing-library/user-event/issues/781)) ([da5b5b7](https://togithub.com/testing-library/user-event/commit/da5b5b721894b39a4ab9bc2f15afa4123bfda88e)) - export bundled ESM ([#​816](https://togithub.com/testing-library/user-event/issues/816)) ([1a5e2a7](https://togithub.com/testing-library/user-event/commit/1a5e2a718b03e8523d7c14ba43020d2d9d653b33)) - export types and commonjs bundle ([#​821](https://togithub.com/testing-library/user-event/issues/821)) ([4f56856](https://togithub.com/testing-library/user-event/commit/4f56856bfc64aa1fcc6ee8ab91050b61ee7c2e7e)) - **keyboard:** parse escaped bracket followed by descriptor ([#​814](https://togithub.com/testing-library/user-event/issues/814)) ([684451f](https://togithub.com/testing-library/user-event/commit/684451f11b946374dca8a9650fce9fa316d0f032)) - **keyboard:** parse keyboard input without nesting ([#​793](https://togithub.com/testing-library/user-event/issues/793)) ([fafa677](https://togithub.com/testing-library/user-event/commit/fafa677a0901cab79174eb387b08d051db7129cc)) - **keyboard:** set `KeyboardEvent.charCode` on `keypress` ([#​771](https://togithub.com/testing-library/user-event/issues/771)) ([55e194a](https://togithub.com/testing-library/user-event/commit/55e194aa96c31844950fa5c74c5ff14a513f0f24)) - **keyboard:** submit form with `

Configuration

πŸ“… Schedule: At any time (no schedule defined).

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

β™» Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.



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

vercel[bot] commented 2 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

πŸ” Inspect: https://vercel.com/mause/financial-dash/AYfFrPePWynarNabJEvWx3dSA5BR
βœ… Preview: https://financial-dash-git-renovate-testing-library-user-e-70c6a6-mause.vercel.app