New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sentry/react

Package Overview
Dependencies
Maintainers
10
Versions
416
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/react - npm Package Compare versions

Comparing version 8.48.0 to 8.49.0

3

build/cjs/errorboundary.js

@@ -70,3 +70,4 @@ Object.defineProperty(exports, '__esModule', { value: true });

const eventId = error.captureReactException(error$1, errorInfo, { mechanism: { handled: !!this.props.fallback } });
const handled = this.props.handled != null ? this.props.handled : !!this.props.fallback;
const eventId = error.captureReactException(error$1, errorInfo, { mechanism: { handled } });

@@ -73,0 +74,0 @@ if (onError) {

@@ -51,3 +51,4 @@ import { getClient, showReportDialog, withScope } from '@sentry/browser';

const eventId = captureReactException(error, errorInfo, { mechanism: { handled: !!this.props.fallback } });
const handled = this.props.handled != null ? this.props.handled : !!this.props.fallback;
const eventId = captureReactException(error, errorInfo, { mechanism: { handled } });

@@ -54,0 +55,0 @@ if (onError) {

@@ -1,1 +0,1 @@

{"type":"module","version":"8.48.0","sideEffects":false}
{"type":"module","version":"8.49.0","sideEffects":false}

@@ -29,2 +29,8 @@ import { ReportDialogOptions } from '@sentry/browser';

fallback?: React.ReactElement | FallbackRender | undefined;
/**
* If set to `true` or `false`, the error `handled` property will be set to the given value.
* If unset, the default behaviour is to rely on the presence of the `fallback` prop to determine
* if the error was handled or not.
*/
handled?: boolean | undefined;
/** Called when the error boundary encounters an error */

@@ -31,0 +37,0 @@ onError?: ((error: unknown, componentStack: string | undefined, eventId: string) => void) | undefined;

@@ -29,2 +29,8 @@ import type { ReportDialogOptions } from '@sentry/browser';

fallback?: React.ReactElement | FallbackRender | undefined;
/**
* If set to `true` or `false`, the error `handled` property will be set to the given value.
* If unset, the default behaviour is to rely on the presence of the `fallback` prop to determine
* if the error was handled or not.
*/
handled?: boolean | undefined;
/** Called when the error boundary encounters an error */

@@ -31,0 +37,0 @@ onError?: ((error: unknown, componentStack: string | undefined, eventId: string) => void) | undefined;

{
"name": "@sentry/react",
"version": "8.48.0",
"version": "8.49.0",
"description": "Official Sentry SDK for React.js",

@@ -42,4 +42,4 @@ "repository": "git://github.com/getsentry/sentry-javascript.git",

"dependencies": {
"@sentry/browser": "8.48.0",
"@sentry/core": "8.48.0",
"@sentry/browser": "8.49.0",
"@sentry/core": "8.49.0",
"hoist-non-react-statics": "^3.3.2"

@@ -46,0 +46,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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