remarkjs / react-remark

React component and hook to use remark to render markdown
https://remarkjs.github.io/react-remark
MIT License
204 stars 7 forks source link

chore(deps): update dependency @testing-library/react-hooks to v5 #15

Closed renovate[bot] closed 3 years ago

renovate[bot] commented 3 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@testing-library/react-hooks ^4.0.0 -> ^5.0.0 age adoption passing confidence

Release Notes

testing-library/react-hooks-testing-library ### [`v5.0.0`](https://togithub.com/testing-library/react-hooks-testing-library/releases/v5.0.0) [Compare Source](https://togithub.com/testing-library/react-hooks-testing-library/compare/v4.0.1...v5.0.0) ##### Bug Fixes - constrain TOptions to be an object instead of an empty interface ([3813b88](https://togithub.com/testing-library/react-hooks-testing-library/commit/3813b88a8a779a2deb61f2de3abe97e79dada52a)) - display returned function names correctly in stack traces ([#​528](https://togithub.com/testing-library/react-hooks-testing-library/issues/528)) ([a82d5ef](https://togithub.com/testing-library/react-hooks-testing-library/commit/a82d5ef31779bf1112a951909dfb09328e48581b)) - fixed potential error when hook suspends and current result is accessed ([dc21e59](https://togithub.com/testing-library/react-hooks-testing-library/commit/dc21e5947a54adfaf348bfeaeab56d37a4e7e2bb)) - include render utils in RenderHook type ([ca32bce](https://togithub.com/testing-library/react-hooks-testing-library/commit/ca32bce8ef67104a1424093f8d40f539800a1eea)) - ReactHooksRenderer renderHook was not expecting arguments ([bb870e0](https://togithub.com/testing-library/react-hooks-testing-library/commit/bb870e0ee77b775be5debf909c71596e17c0e85d)) - stop appending container elements to document body ([bab38d9](https://togithub.com/testing-library/react-hooks-testing-library/commit/bab38d9c7b7ccd7e9e494ce36f98ed6609278f64)) - Type for options in autodetected renderer was incorrectly inferring any passed type ([#​527](https://togithub.com/testing-library/react-hooks-testing-library/issues/527)) ([4786242](https://togithub.com/testing-library/react-hooks-testing-library/commit/4786242a9a22c6f235f537d26b9990c2bec4b24d)) - use actual line break in error message when auto-detect fails ([a3fd0e2](https://togithub.com/testing-library/react-hooks-testing-library/commit/a3fd0e2d483e05dc55fdf471c87b7b1a520283d4)) ##### Code Refactoring - async utils ([#​537](https://togithub.com/testing-library/react-hooks-testing-library/issues/537)) ([394f65a](https://togithub.com/testing-library/react-hooks-testing-library/commit/394f65a927d71e9ef9f0b75c79936651c669f666)) ##### Features - react-dom and SSR compatible rendering ([a25993f](https://togithub.com/testing-library/react-hooks-testing-library/commit/a25993fe1c08fea92b6d7a90666fc8c1c94b9855)) - use error boundary to capture useEffect errors ([#​539](https://togithub.com/testing-library/react-hooks-testing-library/issues/539)) ([b81fd04](https://togithub.com/testing-library/react-hooks-testing-library/commit/b81fd04b748071c566ca18bfe02475813dbd2877)), closes [#​308](https://togithub.com/testing-library/react-hooks-testing-library/issues/308) ##### BREAKING CHANGES - `interval` will now default to 50ms in async utils - `timeout` will now default to 1000ms in async utils - `suppressErrors` has been removed from async utils - Adjust types so that react renderer exports don't required extra generic parameter - Importing from `renderHook` and `act` from `@testing-library/react-hooks` will now auto-detect which renderer to used based on the project's dependencies - `peerDependencies` are now optional to support different dependencies being required - This means there will be no warning if the dependency is not installed at all, but it will still warn if an incompatible version is installed

Renovate configuration

:date: Schedule: At any time (no schedule defined).

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

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

:no_bell: 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.