@sentry/react
Advanced tools
Comparing version 8.6.0 to 8.7.0
@@ -10,2 +10,3 @@ Object.defineProperty(exports, '__esModule', { value: true }); | ||
const reactrouterv3 = require('./reactrouterv3.js'); | ||
const tanstackrouter = require('./tanstackrouter.js'); | ||
const reactrouter = require('./reactrouter.js'); | ||
@@ -25,2 +26,3 @@ const reactrouterv6 = require('./reactrouterv6.js'); | ||
exports.reactRouterV3BrowserTracingIntegration = reactrouterv3.reactRouterV3BrowserTracingIntegration; | ||
exports.tanstackRouterBrowserTracingIntegration = tanstackrouter.tanstackRouterBrowserTracingIntegration; | ||
exports.reactRouterV4BrowserTracingIntegration = reactrouter.reactRouterV4BrowserTracingIntegration; | ||
@@ -27,0 +29,0 @@ exports.reactRouterV5BrowserTracingIntegration = reactrouter.reactRouterV5BrowserTracingIntegration; |
@@ -22,3 +22,3 @@ Object.defineProperty(exports, '__esModule', { value: true }); | ||
const CLIENTS_WITH_INSTRUMENT_NAVIGATION = []; | ||
const CLIENTS_WITH_INSTRUMENT_NAVIGATION = new WeakSet(); | ||
@@ -75,3 +75,3 @@ /** | ||
if (instrumentNavigation) { | ||
CLIENTS_WITH_INSTRUMENT_NAVIGATION.push(client); | ||
CLIENTS_WITH_INSTRUMENT_NAVIGATION.add(client); | ||
} | ||
@@ -190,3 +190,3 @@ }, | ||
const client = core.getClient(); | ||
if (!client || !CLIENTS_WITH_INSTRUMENT_NAVIGATION.includes(client)) { | ||
if (!client || !CLIENTS_WITH_INSTRUMENT_NAVIGATION.has(client)) { | ||
return; | ||
@@ -193,0 +193,0 @@ } |
@@ -8,4 +8,5 @@ export * from '@sentry/browser'; | ||
export { reactRouterV3BrowserTracingIntegration } from './reactrouterv3.js'; | ||
export { tanstackRouterBrowserTracingIntegration } from './tanstackrouter.js'; | ||
export { reactRouterV4BrowserTracingIntegration, reactRouterV5BrowserTracingIntegration, withSentryRouting } from './reactrouter.js'; | ||
export { reactRouterV6BrowserTracingIntegration, withSentryReactRouterV6Routing, wrapCreateBrowserRouter, wrapUseRoutes } from './reactrouterv6.js'; | ||
//# sourceMappingURL=index.js.map |
@@ -16,3 +16,3 @@ import { jsx } from 'react/jsx-runtime'; | ||
const CLIENTS_WITH_INSTRUMENT_NAVIGATION = []; | ||
const CLIENTS_WITH_INSTRUMENT_NAVIGATION = new WeakSet(); | ||
@@ -69,3 +69,3 @@ /** | ||
if (instrumentNavigation) { | ||
CLIENTS_WITH_INSTRUMENT_NAVIGATION.push(client); | ||
CLIENTS_WITH_INSTRUMENT_NAVIGATION.add(client); | ||
} | ||
@@ -184,3 +184,3 @@ }, | ||
const client = getClient(); | ||
if (!client || !CLIENTS_WITH_INSTRUMENT_NAVIGATION.includes(client)) { | ||
if (!client || !CLIENTS_WITH_INSTRUMENT_NAVIGATION.has(client)) { | ||
return; | ||
@@ -187,0 +187,0 @@ } |
{ | ||
"name": "@sentry/react", | ||
"version": "8.6.0", | ||
"version": "8.7.0", | ||
"description": "Official Sentry SDK for React.js", | ||
@@ -45,6 +45,6 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", | ||
"dependencies": { | ||
"@sentry/browser": "8.6.0", | ||
"@sentry/core": "8.6.0", | ||
"@sentry/types": "8.6.0", | ||
"@sentry/utils": "8.6.0", | ||
"@sentry/browser": "8.7.0", | ||
"@sentry/core": "8.7.0", | ||
"@sentry/types": "8.7.0", | ||
"@sentry/utils": "8.7.0", | ||
"hoist-non-react-statics": "^3.3.2" | ||
@@ -51,0 +51,0 @@ }, |
@@ -9,4 +9,5 @@ export * from '@sentry/browser'; | ||
export { reactRouterV3BrowserTracingIntegration } from './reactrouterv3'; | ||
export { tanstackRouterBrowserTracingIntegration } from './tanstackrouter'; | ||
export { withSentryRouting, reactRouterV4BrowserTracingIntegration, reactRouterV5BrowserTracingIntegration, } from './reactrouter'; | ||
export { reactRouterV6BrowserTracingIntegration, withSentryReactRouterV6Routing, wrapUseRoutes, wrapCreateBrowserRouter, } from './reactrouterv6'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -9,4 +9,5 @@ export * from '@sentry/browser'; | ||
export { reactRouterV3BrowserTracingIntegration } from './reactrouterv3'; | ||
export { tanstackRouterBrowserTracingIntegration } from './tanstackrouter'; | ||
export { withSentryRouting, reactRouterV4BrowserTracingIntegration, reactRouterV5BrowserTracingIntegration, } from './reactrouter'; | ||
export { reactRouterV6BrowserTracingIntegration, withSentryReactRouterV6Routing, wrapUseRoutes, wrapCreateBrowserRouter, } from './reactrouterv6'; | ||
//# sourceMappingURL=index.d.ts.map |
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
354626
94
3623
+ Added@sentry-internal/browser-utils@8.7.0(transitive)
+ Added@sentry-internal/feedback@8.7.0(transitive)
+ Added@sentry-internal/replay@8.7.0(transitive)
+ Added@sentry-internal/replay-canvas@8.7.0(transitive)
+ Added@sentry/browser@8.7.0(transitive)
+ Added@sentry/core@8.7.0(transitive)
+ Added@sentry/types@8.7.0(transitive)
+ Added@sentry/utils@8.7.0(transitive)
- Removed@sentry-internal/browser-utils@8.6.0(transitive)
- Removed@sentry-internal/feedback@8.6.0(transitive)
- Removed@sentry-internal/replay@8.6.0(transitive)
- Removed@sentry-internal/replay-canvas@8.6.0(transitive)
- Removed@sentry/browser@8.6.0(transitive)
- Removed@sentry/core@8.6.0(transitive)
- Removed@sentry/types@8.6.0(transitive)
- Removed@sentry/utils@8.6.0(transitive)
Updated@sentry/browser@8.7.0
Updated@sentry/core@8.7.0
Updated@sentry/types@8.7.0
Updated@sentry/utils@8.7.0