Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 5, 2023

Bumps react-error-boundary from 3.1.4 to 4.0.9.

Release notes

Sourced from react-error-boundary's releases.

4.0.9

  • 145: Removed explicit ErrorBoundary.render return type to avoid TypeScript error:

'ErrorBoundary' cannot be used as a JSX component.

4.0.8

  • 144: Build release bundle with Preconstruct

4.0.7

*Replaced post-processing "use client" insertion step with a custom Parcel plug-in. This should hopefully produce better source maps.

4.0.6

  • Removed arrow function syntax to support older versions of Safari

4.0.5

Move "use client" directive to top of the bundled file.

4.0.4

README changes only

4.0.3

  • withErrorBoundary forwards refs
  • Add "use client" directive

4.0.2

Fix broken TypeScript definitions file (#133, parcel-bundler/parcel#8908)

4.0.1

  • Render ErrorBoundaryContext around fallback UI as well, so the useErrorBoundary hook could be used within the fallback component to reset the boundary.

For example:

import { useErrorBoundary } from "react-error-boundary";
function ErrorFallback({ error }) {
const { resetBoundary } = useErrorBoundary();
return (
<div role="alert">
<p>Something went wrong:</p>
<pre style={{ color: "red" }}>{error.message}</pre>
<button onClick={resetBoundary}>Try again</button>
</div>
);
}

See this demo: https://codesandbox.io/s/nostalgic-browser-e9lpmf

4.0.0

  • Replace useErrorHandler hook with useErrorBoundary; can be used to trigger an error boundary or dismiss one

... (truncated)

Commits
  • ba64263 4.0.8 -> 4.0.9
  • 5eab39a Merge pull request #146 from KubaJastrz/jsx-component
  • 27c82e7 Revert "docs: remove outdated FAQ"
  • 400d313 docs: remove outdated FAQ
  • 5ee94d9 fix: remove ReactElement casting from render
  • 8fafb77 Add FAQ for @​types/react
  • dc357f0 4.0.7 -> 4.0.8
  • 9884e67 Add nvmrc to pin Node to v18 to work around Pnpm install issue
  • b0f3cc4 Merge pull request #144 from Andarist/preconstruct
  • 5df1272 Switch to Preconstruct
  • Additional commits viewable in compare view

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)

Bumps [react-error-boundary](https://github.com/bvaughn/react-error-boundary) from 3.1.4 to 4.0.9.
- [Release notes](https://github.com/bvaughn/react-error-boundary/releases)
- [Commits](bvaughn/react-error-boundary@v3.1.4...4.0.9)

---
updated-dependencies:
- dependency-name: react-error-boundary
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Development

Successfully merging this pull request may close these issues.

0 participants