Socket
Socket
Sign inDemoInstall

@sentry/react

Package Overview
Dependencies
Maintainers
12
Versions
382
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 6.9.0 to 6.10.0-beta

2

dist/reactrouter.d.ts

@@ -23,4 +23,4 @@ import * as React from 'react';

export declare function reactRouterV5Instrumentation(history: RouterHistory, routes?: RouteConfig[], matchPath?: MatchPath): ReactRouterInstrumentation;
export declare function withSentryRouting<P extends Record<string, any>>(Route: React.ComponentType<P>): React.FC<P>;
export declare function withSentryRouting<P extends Record<string, any>, R extends React.ComponentType<P>>(Route: R): R;
export {};
//# sourceMappingURL=reactrouter.d.ts.map

@@ -98,3 +98,3 @@ Object.defineProperty(exports, "__esModule", { value: true });

}
// eslint-disable-next-line @typescript-eslint/no-explicit-any
/* eslint-disable @typescript-eslint/no-explicit-any */
function withSentryRouting(Route) {

@@ -106,2 +106,5 @@ var componentDisplayName = Route.displayName || Route.name;

}
// @ts-ignore Setting more specific React Component typing for `R` generic above
// will break advanced type inference done by react router params:
// https://github.com/DefinitelyTyped/DefinitelyTyped/blob/13dc4235c069e25fe7ee16e11f529d909f9f3ff8/types/react-router/index.d.ts#L154-L164
return React.createElement(Route, tslib_1.__assign({}, props));

@@ -111,5 +114,9 @@ };

hoist_non_react_statics_1.default(WrappedRoute, Route);
// @ts-ignore Setting more specific React Component typing for `R` generic above
// will break advanced type inference done by react router params:
// https://github.com/DefinitelyTyped/DefinitelyTyped/blob/13dc4235c069e25fe7ee16e11f529d909f9f3ff8/types/react-router/index.d.ts#L154-L164
return WrappedRoute;
}
exports.withSentryRouting = withSentryRouting;
/* eslint-enable @typescript-eslint/no-explicit-any */
//# sourceMappingURL=reactrouter.js.map

@@ -23,4 +23,4 @@ import * as React from 'react';

export declare function reactRouterV5Instrumentation(history: RouterHistory, routes?: RouteConfig[], matchPath?: MatchPath): ReactRouterInstrumentation;
export declare function withSentryRouting<P extends Record<string, any>>(Route: React.ComponentType<P>): React.FC<P>;
export declare function withSentryRouting<P extends Record<string, any>, R extends React.ComponentType<P>>(Route: R): R;
export {};
//# sourceMappingURL=reactrouter.d.ts.map

@@ -95,3 +95,3 @@ import { __assign } from "tslib";

}
// eslint-disable-next-line @typescript-eslint/no-explicit-any
/* eslint-disable @typescript-eslint/no-explicit-any */
export function withSentryRouting(Route) {

@@ -103,2 +103,5 @@ var componentDisplayName = Route.displayName || Route.name;

}
// @ts-ignore Setting more specific React Component typing for `R` generic above
// will break advanced type inference done by react router params:
// https://github.com/DefinitelyTyped/DefinitelyTyped/blob/13dc4235c069e25fe7ee16e11f529d909f9f3ff8/types/react-router/index.d.ts#L154-L164
return React.createElement(Route, __assign({}, props));

@@ -108,4 +111,8 @@ };

hoistNonReactStatics(WrappedRoute, Route);
// @ts-ignore Setting more specific React Component typing for `R` generic above
// will break advanced type inference done by react router params:
// https://github.com/DefinitelyTyped/DefinitelyTyped/blob/13dc4235c069e25fe7ee16e11f529d909f9f3ff8/types/react-router/index.d.ts#L154-L164
return WrappedRoute;
}
/* eslint-enable @typescript-eslint/no-explicit-any */
//# sourceMappingURL=reactrouter.js.map
{
"name": "@sentry/react",
"version": "6.9.0",
"version": "6.10.0-beta",
"description": "Official Sentry SDK for React.js",

@@ -19,6 +19,6 @@ "repository": "git://github.com/getsentry/sentry-javascript.git",

"dependencies": {
"@sentry/browser": "6.9.0",
"@sentry/minimal": "6.9.0",
"@sentry/types": "6.9.0",
"@sentry/utils": "6.9.0",
"@sentry/browser": "6.10.0-beta",
"@sentry/minimal": "6.10.0-beta",
"@sentry/types": "6.10.0-beta",
"@sentry/utils": "6.10.0-beta",
"hoist-non-react-statics": "^3.3.2",

@@ -31,3 +31,3 @@ "tslib": "^1.9.3"

"devDependencies": {
"@sentry-internal/eslint-config-sdk": "6.9.0",
"@sentry-internal/eslint-config-sdk": "6.10.0-beta",
"@testing-library/react": "^11.2.6",

@@ -34,0 +34,0 @@ "@testing-library/react-hooks": "^5.1.1",

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

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