ant-design / sunflower

🦹 Process components for antd4 & antd3 by alipay industry technology
https://ant-design.github.io/sunflower
MIT License
497 stars 43 forks source link

chore(deps-dev): bump @testing-library/react-hooks from 3.2.1 to 5.0.0 #226

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Bumps @testing-library/react-hooks from 3.2.1 to 5.0.0.

Release notes

Sourced from @testing-library/react-hooks's releases.

v5.0.0

5.0.0 (2021-01-13)

Bug Fixes

  • constrain TOptions to be an object instead of an empty interface (3813b88)
  • display returned function names correctly in stack traces (#528) (a82d5ef)
  • fixed potential error when hook suspends and current result is accessed (dc21e59)
  • include render utils in RenderHook type (ca32bce)
  • ReactHooksRenderer renderHook was not expecting arguments (bb870e0)
  • stop appending container elements to document body (bab38d9)
  • Type for options in autodetected renderer was incorrectly inferring any passed type (#527) (4786242)
  • use actual line break in error message when auto-detect fails (a3fd0e2)

Code Refactoring

Features

  • react-dom and SSR compatible rendering (a25993f)
  • use error boundary to capture useEffect errors (#539) (b81fd04), closes #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

v5.0.0-beta.12

5.0.0-beta.12 (2021-01-13)

Features

  • use error boundary to capture useEffect errors (#539) (b81fd04), closes #308

v5.0.0-beta.11

5.0.0-beta.11 (2021-01-13)

Commits
  • b81fd04 feat: use error boundary to capture useEffect errors (#539)
  • 008077c Merge branch 'master' into beta
  • a826198 docs: add jonkoops as a contributor (#538)
  • 394f65a refactor: async utils (#537)
  • a334f80 fix: Restore 'RenderHookOptions' type (#535)
  • bab38d9 fix: stop appending container elements to document body
  • 4f2dd80 Merge branch 'master' into beta
  • 2a1e448 docs: add renderer and SSR documentation
  • 10d9a28 chore(deps-dev): bump kcd-scripts from 7.5.3 to 7.5.4 (#533)
  • dc21e59 fix: fixed potential error when hook suspends and current result is accessed
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by testing-library-bot, a new releaser for @testing-library/react-hooks since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 3 years ago

Superseded by #235.