Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-error-boundary

Package Overview
Dependencies
Maintainers
2
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-error-boundary - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

6

index.d.ts

@@ -11,3 +11,3 @@ import * as React from 'react'

onReset?: () => void
onError?: (error: Error, componentStack: string) => void
onError?: (error: Error, info: { componentStack: string }) => void
resetKeys?: Array<any>

@@ -20,3 +20,3 @@ FallbackComponent: React.ComponentType<FallbackProps>

onReset?: () => void
onError?: (error: Error, componentStack: string) => void
onError?: (error: Error, info: { componentStack: string }) => void
resetKeys?: Array<any>

@@ -29,3 +29,3 @@ fallbackRender: (props: FallbackProps) => React.ReactElement<any, any> | null

onReset?: () => void
onError?: (error: Error, componentStack: string) => void
onError?: (error: Error, info: { componentStack: string }) => void
resetKeys?: Array<any>

@@ -32,0 +32,0 @@ fallback: React.ReactElement<any, any> | null

{
"name": "react-error-boundary",
"version": "3.0.1",
"version": "3.0.2",
"description": "Simple reusable React error boundary component",

@@ -5,0 +5,0 @@ "main": "dist/react-error-boundary.cjs.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc