cp-20 / Dice-Spec

DiceSpec is a service that collects little tools for TRPG.
https://v1-dicespec.vercel.app/
3 stars 0 forks source link

Bump react-error-boundary from 3.1.4 to 4.0.11 #825

Closed dependabot[bot] closed 11 months ago

dependabot[bot] commented 1 year ago

Bumps react-error-boundary from 3.1.4 to 4.0.11.

Release notes

Sourced from react-error-boundary's releases.

4.0.11

  • Re-throw original error in the event that no fallback is specified (#160)
  • Improved exported prop types def (#152)
  • Bundle built with Preconstruct (#144, #149, 9b7b15bc29829b2a145c047ef188fecb90c9894e)

4.0.10

  • Target Safari 12+ compatibility (by removing optional chaining operator and default parameters)

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> </tr></table>

... (truncated)

Commits
  • 8b2c6c5 Re-throw original error if no fallback provided (#160)
  • 341f67d Upgrade TypeScript
  • 9b7b15b Add is-development import conditional
  • 13d5cf7 fix: remove unnecessary PropsWithRef type (#158)
  • a4c8f9b Add cache option of actions/setup-node@v3 (#157)
  • 37baab4 chore: use .nvmrc as source of actions/setup-node@v3's following version (#151)
  • 45175a8 docs: update README.md's pnpm support (#155)
  • bd91a6d docs: update CONTRIBUTING.md (#153)
  • 21b9e01 chore: update pnpm version (#150)
  • 196537e fix: ErrorBoundarySharedProps's info type (#156)
  • 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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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)
vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
dicespec ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 23, 2023 4:24pm
dependabot[bot] commented 11 months ago

Superseded by #891.