react-error-boundary
Advanced tools
Comparing version 3.0.1 to 3.0.2
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47367