kktjs / kkt

Create React apps with no build configuration, Cli tool for creating react apps.
https://kktjs.github.io/kkt
MIT License
49 stars 11 forks source link

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

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.5.0 -> ^14.0.0 age adoption passing confidence

Release Notes

testing-library/user-event ### [`v14.1.0`](https://togithub.com/testing-library/user-event/releases/v14.1.0) [Compare Source](https://togithub.com/testing-library/user-event/compare/v14.0.4...v14.1.0) ##### Features - add `advanceTimers` option ([#​907](https://togithub.com/testing-library/user-event/issues/907)) ([627a5cf](https://togithub.com/testing-library/user-event/commit/627a5cf22e6736eb3e9e6303b21e5940269ba027)) ##### Bug Fixes - delete chars from value at `maxlength` ([#​909](https://togithub.com/testing-library/user-event/issues/909)) ([f5049c4](https://togithub.com/testing-library/user-event/commit/f5049c45c1d0d7917cc85ebd02e9c8e2761549a8)) - reset UI selection after programmatic value change ([#​915](https://togithub.com/testing-library/user-event/issues/915)) ([8bc3310](https://togithub.com/testing-library/user-event/commit/8bc331036cf7a2d3f93fb9e5faca0f8dcfa3c20e)) - set initial value when setting UI value ([#​918](https://togithub.com/testing-library/user-event/issues/918)) ([7b0643b](https://togithub.com/testing-library/user-event/commit/7b0643b52a50b2f7fd93e4401ef643b5fbae6516)) ### [`v14.0.4`](https://togithub.com/testing-library/user-event/releases/v14.0.4) [Compare Source](https://togithub.com/testing-library/user-event/compare/v14.0.3...v14.0.4) ##### [14.0.4](https://togithub.com/testing-library/user-event/compare/v14.0.3...v14.0.4) (2022-04-01) ##### Bug Fixes - track calls to `HTMLInputElement.select()` ([#​898](https://togithub.com/testing-library/user-event/issues/898)) ([6d36828](https://togithub.com/testing-library/user-event/commit/6d36828e22d0ab65d94178daadb131ec92bae676)) ### [`v14.0.3`](https://togithub.com/testing-library/user-event/releases/v14.0.3) [Compare Source](https://togithub.com/testing-library/user-event/compare/v14.0.2...v14.0.3) ##### [14.0.3](https://togithub.com/testing-library/user-event/compare/v14.0.2...v14.0.3) (2022-03-31) ##### Bug Fixes - **pointer:** change selection before dispatching `focus` ([#​895](https://togithub.com/testing-library/user-event/issues/895)) ([06f12a6](https://togithub.com/testing-library/user-event/commit/06f12a6475e6332a048c8c0770a36661af3fea20)) ### [`v14.0.2`](https://togithub.com/testing-library/user-event/releases/v14.0.2) [Compare Source](https://togithub.com/testing-library/user-event/compare/v14.0.1...v14.0.2) ##### [14.0.2](https://togithub.com/testing-library/user-event/compare/v14.0.1...v14.0.2) (2022-03-31) ##### Bug Fixes - work around shadowed globals ([#​892](https://togithub.com/testing-library/user-event/issues/892)) ([126d2e7](https://togithub.com/testing-library/user-event/commit/126d2e7b7853e0cf16640e01316e3c602ef2b640)) ### [`v14.0.1`](https://togithub.com/testing-library/user-event/releases/v14.0.1) [Compare Source](https://togithub.com/testing-library/user-event/compare/v14.0.0...v14.0.1) ##### [14.0.1](https://togithub.com/testing-library/user-event/compare/v14.0.0...v14.0.1) (2022-03-31) ##### Bug Fixes - maintain UI value on controlled number input ([#​889](https://togithub.com/testing-library/user-event/issues/889)) ([a7f9906](https://togithub.com/testing-library/user-event/commit/a7f99066a5623e0bd05ce3092def09907a1d4dc6)) - **pointer:** support nested select ([#​888](https://togithub.com/testing-library/user-event/issues/888)) ([e23e559](https://togithub.com/testing-library/user-event/commit/e23e559297c33d86c96d217c414d4d230e14c7a2)) ### [`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`. - **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 - 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: 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.



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