Update dependency @testing-library/jest-dom to v6 #58

Merged
alexandre merged 1 commits from renovate/testing-library-jest-dom-6.x into master 2024-11-08 22:22:07 +00:00
Collaborator

This PR contains the following updates:

Package Type Update Change
@testing-library/jest-dom dependencies major ^5.16.4 -> ^6.0.0

Release Notes

testing-library/jest-dom (@​testing-library/jest-dom)

v6.6.3

Compare Source

Bug Fixes
  • add vitest import when extending vitest matchers (#​646) (5ba0156)

v6.6.2

Compare Source

Bug Fixes

v6.6.1

Compare Source

Bug Fixes

v6.6.0

Compare Source

Features

v6.5.0

Compare Source

Features

v6.4.8

Compare Source

Bug Fixes

v6.4.7

Compare Source

Bug Fixes

v6.4.6

Compare Source

Bug Fixes

v6.4.5

Compare Source

Bug Fixes

v6.4.4

Compare Source

Bug Fixes

v6.4.3

Compare Source

Bug Fixes
  • Updates role support for aria-required attribute in toBeRequired (#​590) (20aca33)

v6.4.2

Compare Source

Bug Fixes
  • Remove errant export of GetByRoleMatcher, fixing type checking in some TS configurations (#​575) (a93c0c4)

v6.4.1

Compare Source

Bug Fixes
  • Export type TestingLibraryMatchers from "./matchers" (#​576) (dd1c4dd)

v6.4.0

Compare Source

Features

v6.3.0

Compare Source

Features

v6.2.1

Compare Source

Bug Fixes
  • Standalone types for "./matchers" export and add Bun support (#​566) (5675b86)

v6.2.0

Compare Source

Features
  • toHaveAccessibleDescription supports aria-description (#​565) (1fb156c)

v6.1.6

Compare Source

Bug Fixes

v6.1.5

Compare Source

Bug Fixes

v6.1.4

Compare Source

Bug Fixes
  • upgrade @adobe/css-tools to 4.3.1 to address vulnerability (#​532) (44f1eab)

v6.1.3

Compare Source

Bug Fixes

v6.1.2

Compare Source

Bug Fixes

v6.1.1

Compare Source

Bug Fixes

v6.1.0

Compare Source

Features

v6.0.1

Compare Source

Bug Fixes
  • matchers type is making the global expect unsafe (#​513) (bdb34f1)

v6.0.0

Compare Source

Features
BREAKING CHANGES
  • Removes the extend-expect script. Users should use
    the default import path or one of the new test platform-specific
    paths to automatically extend the appropriate "expect" instance.

extend-expect was not documented in the Readme, so this change should
have minimal impact.

Users can now use the following import paths to automatically extend
"expect" for their chosen test platform:

For example:

import '@​testing-library/jest-dom/jest-globals'

Importing from one of the above paths will augment the appropriate
matcher interface for the given test platform, assuming the import
is done in a .ts file that is included in the user's tsconfig.json.

It's also (still) possible to import the matchers directly without
side effects:

import * as matchers from '@​testing-library/jest-dom/matchers'

  • Update kcd-scripts
  • Drop node < 14

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 Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) | dependencies | major | [`^5.16.4` -> `^6.0.0`](https://renovatebot.com/diffs/npm/@testing-library%2fjest-dom/5.17.0/6.6.3) | --- ### Release Notes <details> <summary>testing-library/jest-dom (@&#8203;testing-library/jest-dom)</summary> ### [`v6.6.3`](https://github.com/testing-library/jest-dom/releases/tag/v6.6.3) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.6.2...v6.6.3) ##### Bug Fixes - add vitest import when extending vitest matchers ([#&#8203;646](https://github.com/testing-library/jest-dom/issues/646)) ([5ba0156](https://github.com/testing-library/jest-dom/commit/5ba015651c7b10c154e5a4ae54f85df6010c5295)) ### [`v6.6.2`](https://github.com/testing-library/jest-dom/releases/tag/v6.6.2) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.6.1...v6.6.2) ##### Bug Fixes - remove recursive type reference in vitest types ([#&#8203;636](https://github.com/testing-library/jest-dom/issues/636)) ([4468378](https://github.com/testing-library/jest-dom/commit/4468378fb4986018e0bacdebd02244decb9f0718)) ### [`v6.6.1`](https://github.com/testing-library/jest-dom/releases/tag/v6.6.1) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.6.0...v6.6.1) ##### Bug Fixes - fix lodash import in to-have-selection.js ([#&#8203;642](https://github.com/testing-library/jest-dom/issues/642)) ([ced792e](https://github.com/testing-library/jest-dom/commit/ced792e2f2773f16c249c6ce59fa8df968d28a20)) ### [`v6.6.0`](https://github.com/testing-library/jest-dom/releases/tag/v6.6.0) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.5.0...v6.6.0) ##### Features - implement toHaveSelection ([#&#8203;637](https://github.com/testing-library/jest-dom/issues/637)) ([9b14804](https://github.com/testing-library/jest-dom/commit/9b148043d082a83f0ae5cdc03cdfc6a7c4573e6e)) ### [`v6.5.0`](https://github.com/testing-library/jest-dom/releases/tag/v6.5.0) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.4.8...v6.5.0) ##### Features - **toHaveValue:** Asserting aria-valuenow ([#&#8203;479](https://github.com/testing-library/jest-dom/issues/479)) ([acbf416](https://github.com/testing-library/jest-dom/commit/acbf416871cf43525d569703be0e50f00a294e9b)) ### [`v6.4.8`](https://github.com/testing-library/jest-dom/releases/tag/v6.4.8) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.4.7...v6.4.8) ##### Bug Fixes - Drop peerDependencies from package.json ([#&#8203;610](https://github.com/testing-library/jest-dom/issues/610)) ([faf534b](https://github.com/testing-library/jest-dom/commit/faf534b6ffa20db8e3cad5824d8bc35bc2309965)) ### [`v6.4.7`](https://github.com/testing-library/jest-dom/releases/tag/v6.4.7) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.4.6...v6.4.7) ##### Bug Fixes - Type definition of `toHaveClass` ([#&#8203;611](https://github.com/testing-library/jest-dom/issues/611)) ([5cc6298](https://github.com/testing-library/jest-dom/commit/5cc6298847e08872b79f827921c64c9ba261cc54)) ### [`v6.4.6`](https://github.com/testing-library/jest-dom/releases/tag/v6.4.6) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.4.5...v6.4.6) ##### Bug Fixes - Support [@&#8203;starting-style](https://github.com/starting-style) ([#&#8203;602](https://github.com/testing-library/jest-dom/issues/602)) ([fd9ee68](https://github.com/testing-library/jest-dom/commit/fd9ee68ae4ca93c47f0781ad23113d45118b8476)) ### [`v6.4.5`](https://github.com/testing-library/jest-dom/releases/tag/v6.4.5) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.4.4...v6.4.5) ##### Bug Fixes - add js suffix to isEqualWith import ([#&#8203;599](https://github.com/testing-library/jest-dom/issues/599)) ([e8c8b13](https://github.com/testing-library/jest-dom/commit/e8c8b13c6de2a0ccffaa6539809c8c11f141beca)) ### [`v6.4.4`](https://github.com/testing-library/jest-dom/releases/tag/v6.4.4) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.4.3...v6.4.4) ##### Bug Fixes - **infra:** codecoverage token addition ([#&#8203;600](https://github.com/testing-library/jest-dom/issues/600)) ([f03a582](https://github.com/testing-library/jest-dom/commit/f03a582827453de6fac4510dcf4fa3148c7ed68a)) ### [`v6.4.3`](https://github.com/testing-library/jest-dom/releases/tag/v6.4.3) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.4.2...v6.4.3) ##### Bug Fixes - Updates role support for aria-required attribute in `toBeRequired` ([#&#8203;590](https://github.com/testing-library/jest-dom/issues/590)) ([20aca33](https://github.com/testing-library/jest-dom/commit/20aca338d09062a2a71f6dd4e0daad65b26f6210)) ### [`v6.4.2`](https://github.com/testing-library/jest-dom/releases/tag/v6.4.2) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.4.1...v6.4.2) ##### Bug Fixes - Remove errant export of GetByRoleMatcher, fixing type checking in some TS configurations ([#&#8203;575](https://github.com/testing-library/jest-dom/issues/575)) ([a93c0c4](https://github.com/testing-library/jest-dom/commit/a93c0c4a20ed4d3a9656261ea6a449d1015b7879)) ### [`v6.4.1`](https://github.com/testing-library/jest-dom/releases/tag/v6.4.1) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.4.0...v6.4.1) ##### Bug Fixes - Export type `TestingLibraryMatchers` from "./matchers" ([#&#8203;576](https://github.com/testing-library/jest-dom/issues/576)) ([dd1c4dd](https://github.com/testing-library/jest-dom/commit/dd1c4dd504973efced2f9e02a35e7df3079914af)) ### [`v6.4.0`](https://github.com/testing-library/jest-dom/releases/tag/v6.4.0) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.3.0...v6.4.0) ##### Features - Add toHaveRole matcher ([#&#8203;572](https://github.com/testing-library/jest-dom/issues/572)) ([f7dc673](https://github.com/testing-library/jest-dom/commit/f7dc673dbc13e508f9867a9eb9c547ce3964b22c)) ### [`v6.3.0`](https://github.com/testing-library/jest-dom/releases/tag/v6.3.0) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.2.1...v6.3.0) ##### Features - Support for regular expressions in toHaveClass ([#&#8203;563](https://github.com/testing-library/jest-dom/issues/563)) ([9787ed5](https://github.com/testing-library/jest-dom/commit/9787ed59fcc930e3d33c8a6efe473da3eca01707)) ### [`v6.2.1`](https://github.com/testing-library/jest-dom/releases/tag/v6.2.1) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.2.0...v6.2.1) ##### Bug Fixes - Standalone types for "./matchers" export and add Bun support ([#&#8203;566](https://github.com/testing-library/jest-dom/issues/566)) ([5675b86](https://github.com/testing-library/jest-dom/commit/5675b8668c09345e064001784338a85b7bf9f2af)) ### [`v6.2.0`](https://github.com/testing-library/jest-dom/releases/tag/v6.2.0) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.1.6...v6.2.0) ##### Features - toHaveAccessibleDescription supports aria-description ([#&#8203;565](https://github.com/testing-library/jest-dom/issues/565)) ([1fb156c](https://github.com/testing-library/jest-dom/commit/1fb156c2b544e0069c56a72a2f1909fe04850f6c)) ### [`v6.1.6`](https://github.com/testing-library/jest-dom/releases/tag/v6.1.6) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.1.5...v6.1.6) ##### Bug Fixes - Upgrade [@&#8203;adobe/css-tools](https://github.com/adobe/css-tools) to v4.3.2 ([#&#8203;553](https://github.com/testing-library/jest-dom/issues/553)) ([b64b953](https://github.com/testing-library/jest-dom/commit/b64b953f76170f282c73329ee3479ede13610713)) ### [`v6.1.5`](https://github.com/testing-library/jest-dom/releases/tag/v6.1.5) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.1.4...v6.1.5) ##### Bug Fixes - support uppercase custom props in toHaveStyle ([#&#8203;552](https://github.com/testing-library/jest-dom/issues/552)) ([b7b7c6a](https://github.com/testing-library/jest-dom/commit/b7b7c6a9652f259434d13a22e4319826a4bd4d8b)) ### [`v6.1.4`](https://github.com/testing-library/jest-dom/releases/tag/v6.1.4) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.1.3...v6.1.4) ##### Bug Fixes - upgrade `@adobe/css-tools` to `4.3.1` to address vulnerability ([#&#8203;532](https://github.com/testing-library/jest-dom/issues/532)) ([44f1eab](https://github.com/testing-library/jest-dom/commit/44f1eabc79b848f45daffac21c5f7383424e893c)) ### [`v6.1.3`](https://github.com/testing-library/jest-dom/releases/tag/v6.1.3) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.1.2...v6.1.3) ##### Bug Fixes - proper [@&#8203;jest/globals](https://github.com/jest/globals) import ([#&#8203;530](https://github.com/testing-library/jest-dom/issues/530)) ([5b492ac](https://github.com/testing-library/jest-dom/commit/5b492ace23d52b7cb7d3f91913ed0b5311905a26)) ### [`v6.1.2`](https://github.com/testing-library/jest-dom/releases/tag/v6.1.2) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.1.1...v6.1.2) ##### Bug Fixes - bump [@&#8203;adobe/css-tools](https://github.com/adobe/css-tools) for ESM support ([#&#8203;525](https://github.com/testing-library/jest-dom/issues/525)) ([b959a68](https://github.com/testing-library/jest-dom/commit/b959a681386164bf5d64f5b2b9c8bf891301bc12)) ### [`v6.1.1`](https://github.com/testing-library/jest-dom/releases/tag/v6.1.1) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.1.0...v6.1.1) ##### Bug Fixes - **package.json:** update main and module file paths ([#&#8203;523](https://github.com/testing-library/jest-dom/issues/523)) ([853a3e5](https://github.com/testing-library/jest-dom/commit/853a3e51ba6757a34780e32953525b6142eadcf9)) ### [`v6.1.0`](https://github.com/testing-library/jest-dom/releases/tag/v6.1.0) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.0.1...v6.1.0) ##### Features - Publish ESM and CJS (https://github.com/testing-library/jest-dom/pull/519) ### [`v6.0.1`](https://github.com/testing-library/jest-dom/releases/tag/v6.0.1) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.0.0...v6.0.1) ##### Bug Fixes - matchers type is making the global expect unsafe ([#&#8203;513](https://github.com/testing-library/jest-dom/issues/513)) ([bdb34f1](https://github.com/testing-library/jest-dom/commit/bdb34f12959578c77b18b0c0910d512768b20ab0)) ### [`v6.0.0`](https://github.com/testing-library/jest-dom/releases/tag/v6.0.0) [Compare Source](https://github.com/testing-library/jest-dom/compare/v5.17.0...v6.0.0) ##### Features - local types, supporting jest, [@&#8203;jest/globals](https://github.com/jest/globals), vitest ([#&#8203;511](https://github.com/testing-library/jest-dom/issues/511)) ([4b764b9](https://github.com/testing-library/jest-dom/commit/4b764b9f6a7b564d7f8ec0e9b0c6ba9cc875f2b8)) ##### BREAKING CHANGES - Removes the extend-expect script. Users should use the default import path or one of the new test platform-specific paths to automatically extend the appropriate "expect" instance. extend-expect was not documented in the Readme, so this change should have minimal impact. Users can now use the following import paths to automatically extend "expect" for their chosen test platform: - [@&#8203;testing-library/jest-dom](https://github.com/testing-library/jest-dom) - jest ([@&#8203;types/jest](https://github.com/types/jest)) - @&#8203;testing-library/jest-dom/jest-globals - [@&#8203;jest/globals](https://github.com/jest/globals) - @&#8203;testing-library/jest-dom/vitest - vitest For example: import '@&#8203;testing-library/jest-dom/jest-globals' Importing from one of the above paths will augment the appropriate matcher interface for the given test platform, assuming the import is done in a .ts file that is included in the user's tsconfig.json. It's also (still) possible to import the matchers directly without side effects: import \* as matchers from '@&#8203;testing-library/jest-dom/matchers' - Update kcd-scripts - Drop node < 14 </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS44LjAiLCJ1cGRhdGVkSW5WZXIiOiIzOS44LjAiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIiLCJsYWJlbHMiOltdfQ==-->
renovate added 1 commit 2024-11-08 17:06:16 +00:00
alexandre merged commit 6525f29901 into master 2024-11-08 22:22:07 +00:00
alexandre deleted branch renovate/testing-library-jest-dom-6.x 2024-11-08 22:22:07 +00:00
Sign in to join this conversation.
No description provided.