dromru / react-photoswipe-gallery

🏙 React component wrapper around PhotoSwipe
https://dromru.github.io/react-photoswipe-gallery/
MIT License
515 stars 28 forks source link

chore(deps): update testing-library monorepo (major) #1445

Open renovate[bot] opened 6 months ago

renovate[bot] commented 6 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@testing-library/dom 9.3.4 -> 10.4.0 age adoption passing confidence
@testing-library/jest-dom 5.17.0 -> 6.6.2 age adoption passing confidence
@testing-library/react 14.3.1 -> 16.0.1 age adoption passing confidence

Release Notes

testing-library/dom-testing-library (@​testing-library/dom) ### [`v10.4.0`](https://redirect.github.com/testing-library/dom-testing-library/compare/v10.3.2...a86c54ccda5242ad8dfc1c70d31980bdbf96af7f) [Compare Source](https://redirect.github.com/testing-library/dom-testing-library/compare/v10.3.2...v10.4.0) ### [`v10.3.2`](https://redirect.github.com/testing-library/dom-testing-library/releases/tag/v10.3.2) [Compare Source](https://redirect.github.com/testing-library/dom-testing-library/compare/v10.3.1...v10.3.2) ##### Bug Fixes - safer read of DEBUG_PRINT_LIMIT ([#​1329](https://redirect.github.com/testing-library/dom-testing-library/issues/1329)) ([306526b](https://redirect.github.com/testing-library/dom-testing-library/commit/306526b5519abcaed84ef35f82501a1691edcd0e)) ### [`v10.3.1`](https://redirect.github.com/testing-library/dom-testing-library/releases/tag/v10.3.1) [Compare Source](https://redirect.github.com/testing-library/dom-testing-library/compare/v10.3.0...v10.3.1) ##### Bug Fixes - Revert "feat: Reduce caught exceptions in `prettyDom` ([#​1321](https://redirect.github.com/testing-library/dom-testing-library/issues/1321))" ([#​1325](https://redirect.github.com/testing-library/dom-testing-library/issues/1325)) ([fdc12ec](https://redirect.github.com/testing-library/dom-testing-library/commit/fdc12ecf4343ab6b08a898d9b3ff0013981849c8)) ### [`v10.3.0`](https://redirect.github.com/testing-library/dom-testing-library/compare/v10.2.0...76cb73dec444fca7ae3d160b4dad3b61f7bc8995) [Compare Source](https://redirect.github.com/testing-library/dom-testing-library/compare/v10.2.0...v10.3.0) ### [`v10.2.0`](https://redirect.github.com/testing-library/dom-testing-library/releases/tag/v10.2.0) [Compare Source](https://redirect.github.com/testing-library/dom-testing-library/compare/v10.1.0...v10.2.0) ##### Features - Support anonymous custom elements when pretty printing DOM ([#​1319](https://redirect.github.com/testing-library/dom-testing-library/issues/1319)) ([0a8ad65](https://redirect.github.com/testing-library/dom-testing-library/commit/0a8ad65723efe47493d387c38f31082c7846d824)) ### [`v10.1.0`](https://redirect.github.com/testing-library/dom-testing-library/releases/tag/v10.1.0) [Compare Source](https://redirect.github.com/testing-library/dom-testing-library/compare/v10.0.0...v10.1.0) ##### Features - Add window events "pagehide" / "pageshow" ([#​1308](https://redirect.github.com/testing-library/dom-testing-library/issues/1308)) ([56543d5](https://redirect.github.com/testing-library/dom-testing-library/commit/56543d51a8776d3bc7fa9b947771ce5308bf5df4)) ### [`v10.0.0`](https://redirect.github.com/testing-library/dom-testing-library/releases/tag/v10.0.0) [Compare Source](https://redirect.github.com/testing-library/dom-testing-library/compare/v9.3.4...v10.0.0) ##### Bug Fixes - use defineProperty on the error object instead of setting the message directly ([#​1268](https://redirect.github.com/testing-library/dom-testing-library/issues/1268)) ([3580f25](https://redirect.github.com/testing-library/dom-testing-library/commit/3580f25bd765cedb70889b2cf716085023d8c314)), closes [#​1259](https://redirect.github.com/testing-library/dom-testing-library/issues/1259) ##### Features - Drop support for Node.js 14.x and Node.js 16.x and add support for Node 20.x ([#​1255](https://redirect.github.com/testing-library/dom-testing-library/issues/1255)) ([452097b](https://redirect.github.com/testing-library/dom-testing-library/commit/452097b35a207341f5328b997dfc901461a4e9d9)) - upgrade aria-query to 5.3.0 ([#​1241](https://redirect.github.com/testing-library/dom-testing-library/issues/1241)) ([2c57055](https://redirect.github.com/testing-library/dom-testing-library/commit/2c570553d8f31b008451398152a9bd30bce362b3)), closes [#​1240](https://redirect.github.com/testing-library/dom-testing-library/issues/1240) ##### BREAKING CHANGES - Minimum supported Node.js version is 18.0 - New version of `aria-query` changes various roles. Check out the changed tests in [`2c57055`](https://redirect.github.com/testing-library/dom-testing-library/commit/2c57055) to get an overview about what changed.
testing-library/jest-dom (@​testing-library/jest-dom) ### [`v6.6.2`](https://redirect.github.com/testing-library/jest-dom/releases/tag/v6.6.2) [Compare Source](https://redirect.github.com/testing-library/jest-dom/compare/v6.6.1...v6.6.2) ##### Bug Fixes - remove recursive type reference in vitest types ([#​636](https://redirect.github.com/testing-library/jest-dom/issues/636)) ([4468378](https://redirect.github.com/testing-library/jest-dom/commit/4468378fb4986018e0bacdebd02244decb9f0718)) ### [`v6.6.1`](https://redirect.github.com/testing-library/jest-dom/compare/v6.6.0...ced792e2f2773f16c249c6ce59fa8df968d28a20) [Compare Source](https://redirect.github.com/testing-library/jest-dom/compare/v6.6.0...v6.6.1) ### [`v6.6.0`](https://redirect.github.com/testing-library/jest-dom/compare/v6.5.0...9b148043d082a83f0ae5cdc03cdfc6a7c4573e6e) [Compare Source](https://redirect.github.com/testing-library/jest-dom/compare/v6.5.0...v6.6.0) ### [`v6.5.0`](https://redirect.github.com/testing-library/jest-dom/compare/v6.4.8...62f0e3a43262b945bbf6bdd9bf231bf3e4ac7778) [Compare Source](https://redirect.github.com/testing-library/jest-dom/compare/v6.4.8...v6.5.0) ### [`v6.4.8`](https://redirect.github.com/testing-library/jest-dom/compare/v6.4.7...d02e80b1b7ed38090975bdfe49ab8063eec040f5) [Compare Source](https://redirect.github.com/testing-library/jest-dom/compare/v6.4.7...v6.4.8) ### [`v6.4.7`](https://redirect.github.com/testing-library/jest-dom/compare/v6.4.6...5cc6298847e08872b79f827921c64c9ba261cc54) [Compare Source](https://redirect.github.com/testing-library/jest-dom/compare/v6.4.6...v6.4.7) ### [`v6.4.6`](https://redirect.github.com/testing-library/jest-dom/releases/tag/v6.4.6) [Compare Source](https://redirect.github.com/testing-library/jest-dom/compare/v6.4.5...v6.4.6) ##### Bug Fixes - Support [@​starting-style](https://redirect.github.com/starting-style) ([#​602](https://redirect.github.com/testing-library/jest-dom/issues/602)) ([fd9ee68](https://redirect.github.com/testing-library/jest-dom/commit/fd9ee68ae4ca93c47f0781ad23113d45118b8476)) ### [`v6.4.5`](https://redirect.github.com/testing-library/jest-dom/releases/tag/v6.4.5) [Compare Source](https://redirect.github.com/testing-library/jest-dom/compare/v6.4.4...v6.4.5) ##### Bug Fixes - add js suffix to isEqualWith import ([#​599](https://redirect.github.com/testing-library/jest-dom/issues/599)) ([e8c8b13](https://redirect.github.com/testing-library/jest-dom/commit/e8c8b13c6de2a0ccffaa6539809c8c11f141beca)) ### [`v6.4.4`](https://redirect.github.com/testing-library/jest-dom/compare/v6.4.3...f03a582827453de6fac4510dcf4fa3148c7ed68a) [Compare Source](https://redirect.github.com/testing-library/jest-dom/compare/v6.4.3...v6.4.4) ### [`v6.4.3`](https://redirect.github.com/testing-library/jest-dom/compare/v6.4.2...20aca338d09062a2a71f6dd4e0daad65b26f6210) [Compare Source](https://redirect.github.com/testing-library/jest-dom/compare/v6.4.2...v6.4.3) ### [`v6.4.2`](https://redirect.github.com/testing-library/jest-dom/releases/tag/v6.4.2) [Compare Source](https://redirect.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 ([#​575](https://redirect.github.com/testing-library/jest-dom/issues/575)) ([a93c0c4](https://redirect.github.com/testing-library/jest-dom/commit/a93c0c4a20ed4d3a9656261ea6a449d1015b7879)) ### [`v6.4.1`](https://redirect.github.com/testing-library/jest-dom/releases/tag/v6.4.1) [Compare Source](https://redirect.github.com/testing-library/jest-dom/compare/v6.4.0...v6.4.1) ##### Bug Fixes - Export type `TestingLibraryMatchers` from "./matchers" ([#​576](https://redirect.github.com/testing-library/jest-dom/issues/576)) ([dd1c4dd](https://redirect.github.com/testing-library/jest-dom/commit/dd1c4dd504973efced2f9e02a35e7df3079914af)) ### [`v6.4.0`](https://redirect.github.com/testing-library/jest-dom/releases/tag/v6.4.0) [Compare Source](https://redirect.github.com/testing-library/jest-dom/compare/v6.3.0...v6.4.0) ##### Features - Add toHaveRole matcher ([#​572](https://redirect.github.com/testing-library/jest-dom/issues/572)) ([f7dc673](https://redirect.github.com/testing-library/jest-dom/commit/f7dc673dbc13e508f9867a9eb9c547ce3964b22c)) ### [`v6.3.0`](https://redirect.github.com/testing-library/jest-dom/releases/tag/v6.3.0) [Compare Source](https://redirect.github.com/testing-library/jest-dom/compare/v6.2.1...v6.3.0) ##### Features - Support for regular expressions in toHaveClass ([#​563](https://redirect.github.com/testing-library/jest-dom/issues/563)) ([9787ed5](https://redirect.github.com/testing-library/jest-dom/commit/9787ed59fcc930e3d33c8a6efe473da3eca01707)) ### [`v6.2.1`](https://redirect.github.com/testing-library/jest-dom/releases/tag/v6.2.1) [Compare Source](https://redirect.github.com/testing-library/jest-dom/compare/v6.2.0...v6.2.1) ##### Bug Fixes - Standalone types for "./matchers" export and add Bun support ([#​566](https://redirect.github.com/testing-library/jest-dom/issues/566)) ([5675b86](https://redirect.github.com/testing-library/jest-dom/commit/5675b8668c09345e064001784338a85b7bf9f2af)) ### [`v6.2.0`](https://redirect.github.com/testing-library/jest-dom/releases/tag/v6.2.0) [Compare Source](https://redirect.github.com/testing-library/jest-dom/compare/v6.1.6...v6.2.0) ##### Features - toHaveAccessibleDescription supports aria-description ([#​565](https://redirect.github.com/testing-library/jest-dom/issues/565)) ([1fb156c](https://redirect.github.com/testing-library/jest-dom/commit/1fb156c2b544e0069c56a72a2f1909fe04850f6c)) ### [`v6.1.6`](https://redirect.github.com/testing-library/jest-dom/releases/tag/v6.1.6) [Compare Source](https://redirect.github.com/testing-library/jest-dom/compare/v6.1.5...v6.1.6) ##### Bug Fixes - Upgrade [@​adobe/css-tools](https://redirect.github.com/adobe/css-tools) to v4.3.2 ([#​553](https://redirect.github.com/testing-library/jest-dom/issues/553)) ([b64b953](https://redirect.github.com/testing-library/jest-dom/commit/b64b953f76170f282c73329ee3479ede13610713)) ### [`v6.1.5`](https://redirect.github.com/testing-library/jest-dom/releases/tag/v6.1.5) [Compare Source](https://redirect.github.com/testing-library/jest-dom/compare/v6.1.4...v6.1.5) ##### Bug Fixes - support uppercase custom props in toHaveStyle ([#​552](https://redirect.github.com/testing-library/jest-dom/issues/552)) ([b7b7c6a](https://redirect.github.com/testing-library/jest-dom/commit/b7b7c6a9652f259434d13a22e4319826a4bd4d8b)) ### [`v6.1.4`](https://redirect.github.com/testing-library/jest-dom/releases/tag/v6.1.4) [Compare Source](https://redirect.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 ([#​532](https://redirect.github.com/testing-library/jest-dom/issues/532)) ([44f1eab](https://redirect.github.com/testing-library/jest-dom/commit/44f1eabc79b848f45daffac21c5f7383424e893c)) ### [`v6.1.3`](https://redirect.github.com/testing-library/jest-dom/releases/tag/v6.1.3) [Compare Source](https://redirect.github.com/testing-library/jest-dom/compare/v6.1.2...v6.1.3) ##### Bug Fixes - proper [@​jest/globals](https://redirect.github.com/jest/globals) import ([#​530](https://redirect.github.com/testing-library/jest-dom/issues/530)) ([5b492ac](https://redirect.github.com/testing-library/jest-dom/commit/5b492ace23d52b7cb7d3f91913ed0b5311905a26)) ### [`v6.1.2`](https://redirect.github.com/testing-library/jest-dom/releases/tag/v6.1.2) [Compare Source](https://redirect.github.com/testing-library/jest-dom/compare/v6.1.1...v6.1.2) ##### Bug Fixes - bump [@​adobe/css-tools](https://redirect.github.com/adobe/css-tools) for ESM support ([#​525](https://redirect.github.com/testing-library/jest-dom/issues/525)) ([b959a68](https://redirect.github.com/testing-library/jest-dom/commit/b959a681386164bf5d64f5b2b9c8bf891301bc12)) ### [`v6.1.1`](https://redirect.github.com/testing-library/jest-dom/releases/tag/v6.1.1) [Compare Source](https://redirect.github.com/testing-library/jest-dom/compare/v6.1.0...v6.1.1) ##### Bug Fixes - **package.json:** update main and module file paths ([#​523](https://redirect.github.com/testing-library/jest-dom/issues/523)) ([853a3e5](https://redirect.github.com/testing-library/jest-dom/commit/853a3e51ba6757a34780e32953525b6142eadcf9)) ### [`v6.1.0`](https://redirect.github.com/testing-library/jest-dom/releases/tag/v6.1.0) [Compare Source](https://redirect.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](https://redirect.github.com/testing-library/jest-dom/pull/519)) ### [`v6.0.1`](https://redirect.github.com/testing-library/jest-dom/releases/tag/v6.0.1) [Compare Source](https://redirect.github.com/testing-library/jest-dom/compare/v6.0.0...v6.0.1) ##### Bug Fixes - matchers type is making the global expect unsafe ([#​513](https://redirect.github.com/testing-library/jest-dom/issues/513)) ([bdb34f1](https://redirect.github.com/testing-library/jest-dom/commit/bdb34f12959578c77b18b0c0910d512768b20ab0)) ### [`v6.0.0`](https://redirect.github.com/testing-library/jest-dom/releases/tag/v6.0.0) [Compare Source](https://redirect.github.com/testing-library/jest-dom/compare/v5.17.0...v6.0.0) ##### Features - local types, supporting jest, [@​jest/globals](https://redirect.github.com/jest/globals), vitest ([#​511](https://redirect.github.com/testing-library/jest-dom/issues/511)) ([4b764b9](https://redirect.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: - [@​testing-library/jest-dom](https://redirect.github.com/testing-library/jest-dom) - jest ([@​types/jest](https://redirect.github.com/types/jest)) - @​testing-library/jest-dom/jest-globals - [@​jest/globals](https://redirect.github.com/jest/globals) - @​testing-library/jest-dom/vitest - vitest 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
testing-library/react-testing-library (@​testing-library/react) ### [`v16.0.1`](https://redirect.github.com/testing-library/react-testing-library/compare/v16.0.0...3dcd8a9649e25054c0e650d95fca2317b7008576) [Compare Source](https://redirect.github.com/testing-library/react-testing-library/compare/v16.0.0...v16.0.1) ### [`v16.0.0`](https://redirect.github.com/testing-library/react-testing-library/releases/tag/v16.0.0) [Compare Source](https://redirect.github.com/testing-library/react-testing-library/compare/v15.0.7...v16.0.0) ##### Features - Move `@testing-library/dom` and `@types/react-dom` to peer dependencies ([#​1305](https://redirect.github.com/testing-library/react-testing-library/issues/1305)) ([a4744fa](https://redirect.github.com/testing-library/react-testing-library/commit/a4744fa904bf11812c92093226c3805450472636)) ##### BREAKING CHANGES - `@testing-library/dom` was moved to a peer dependency and needs to be explicitly installed. This reduces the chance of having conflicting versions of `@testing-library/dom` installed that frequently caused bugs when used with `@testing-library/user-event`. We will also be able to allow new versions of `@testing-library/dom` being used without a SemVer major release of `@testing-library/react` by just widening the peer dependency. `@types/react-dom` needs to be installed if you're typechecking files using `@testing-library/react`. ### [`v15.0.7`](https://redirect.github.com/testing-library/react-testing-library/compare/v15.0.6...c1f2957a219ec7e6a6159a57c5d0717655c515cd) [Compare Source](https://redirect.github.com/testing-library/react-testing-library/compare/v15.0.6...v15.0.7) ### [`v15.0.6`](https://redirect.github.com/testing-library/react-testing-library/compare/v15.0.5...b6e59f7d58c69f617cc9854d8c3e6f86c2dfb0e9) [Compare Source](https://redirect.github.com/testing-library/react-testing-library/compare/v15.0.5...v15.0.6) ### [`v15.0.5`](https://redirect.github.com/testing-library/react-testing-library/compare/v15.0.4...f6a1677501b53471f6a989078726aeb0dea114be) [Compare Source](https://redirect.github.com/testing-library/react-testing-library/compare/v15.0.4...v15.0.5) ### [`v15.0.4`](https://redirect.github.com/testing-library/react-testing-library/compare/v15.0.3...48282c2f35fb7338834b40983c12b889af35f5d1) [Compare Source](https://redirect.github.com/testing-library/react-testing-library/compare/v15.0.3...v15.0.4) ### [`v15.0.3`](https://redirect.github.com/testing-library/react-testing-library/releases/tag/v15.0.3) [Compare Source](https://redirect.github.com/testing-library/react-testing-library/compare/v15.0.2...v15.0.3) ##### Bug Fixes - Don't raise TypeScript errors when hydating `document` ([#​1304](https://redirect.github.com/testing-library/react-testing-library/issues/1304)) ([067d0c6](https://redirect.github.com/testing-library/react-testing-library/commit/067d0c6d2e87092f6ecaa8c9fcf505e4576055cf)) ### [`v15.0.2`](https://redirect.github.com/testing-library/react-testing-library/compare/v15.0.1...c63b873072d62c858959c2a19e68f8e2cc0b11be) [Compare Source](https://redirect.github.com/testing-library/react-testing-library/compare/v15.0.1...v15.0.2) ### [`v15.0.1`](https://redirect.github.com/testing-library/react-testing-library/compare/v15.0.0...1645d21950ab8e3c6740b7e51b8a179a4c975c24) [Compare Source](https://redirect.github.com/testing-library/react-testing-library/compare/v15.0.0...v15.0.1) ### [`v15.0.0`](https://redirect.github.com/testing-library/react-testing-library/compare/v14.3.0...787cb85f8baa3d2e2a9916b7dad12c0a76d787a4) [Compare Source](https://redirect.github.com/testing-library/react-testing-library/compare/v14.3.1...v15.0.0)

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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



This PR was generated by Mend Renovate. View the repository job log.

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.26%. Comparing base (2284343) to head (9624734). Report is 6 commits behind head on master.

:exclamation: Current head 9624734 differs from pull request most recent head 060532d

Please upload reports for the commit 060532d to get more accurate results.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1445 +/- ## ======================================= Coverage 98.26% 98.26% ======================================= Files 18 18 Lines 288 288 Branches 59 59 ======================================= Hits 283 283 Misses 5 5 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.