Socket
Socket
Sign inDemoInstall

@sentry/browser

Package Overview
Dependencies
Maintainers
11
Versions
535
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/browser - npm Package Compare versions

Comparing version 7.98.0 to 7.99.0

7

cjs/helpers.js
Object.defineProperty(exports, '__esModule', { value: true });
require('@sentry-internal/tracing');
const core = require('@sentry/core');

@@ -151,8 +152,2 @@ const utils = require('@sentry/utils');

/**
* All properties the report dialog supports
*
* @deprecated This type will be removed in the next major version of the Sentry SDK. `showReportDialog` will still be around, however the `eventId` option will now be required.
*/
exports.WINDOW = WINDOW;

@@ -159,0 +154,0 @@ exports.ignoreNextOnError = ignoreNextOnError;

4

cjs/index.js

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

exports.getHubFromCarrier = core.getHubFromCarrier;
exports.getSpanStatusFromHttpCode = core.getSpanStatusFromHttpCode;
exports.inboundFiltersIntegration = core.inboundFiltersIntegration;

@@ -137,4 +138,7 @@ exports.isInitialized = core.isInitialized;

exports.BrowserTracing = tracing.BrowserTracing;
exports.browserTracingIntegration = tracing.browserTracingIntegration;
exports.defaultRequestInstrumentationOptions = tracing.defaultRequestInstrumentationOptions;
exports.instrumentOutgoingRequests = tracing.instrumentOutgoingRequests;
exports.startBrowserTracingNavigationSpan = tracing.startBrowserTracingNavigationSpan;
exports.startBrowserTracingPageLoadSpan = tracing.startBrowserTracingPageLoadSpan;
exports.makeBrowserOfflineTransport = offline.makeBrowserOfflineTransport;

@@ -141,0 +145,0 @@ exports.onProfilingStartRouteTransaction = hubextensions.onProfilingStartRouteTransaction;

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

import '@sentry-internal/tracing';
import { withScope, captureException } from '@sentry/core';

@@ -149,9 +150,3 @@ import { GLOBAL_OBJ, getOriginalFunction, markFunctionWrapped, addNonEnumerableProperty, addExceptionTypeValue, addExceptionMechanism } from '@sentry/utils';

/**
* All properties the report dialog supports
*
* @deprecated This type will be removed in the next major version of the Sentry SDK. `showReportDialog` will still be around, however the `eventId` option will now be required.
*/
export { WINDOW, ignoreNextOnError, shouldIgnoreOnError, wrap };
//# sourceMappingURL=helpers.js.map
import { Integrations } from '@sentry/core';
export { FunctionToString, Hub, InboundFilters, ModuleMetadata, SDK_VERSION, Scope, addBreadcrumb, addEventProcessor, addGlobalEventProcessor, addIntegration, addTracingExtensions, captureEvent, captureException, captureMessage, close, configureScope, continueTrace, createTransport, extractTraceparentData, flush, functionToStringIntegration, getActiveSpan, getActiveTransaction, getClient, getCurrentHub, getCurrentScope, getHubFromCarrier, inboundFiltersIntegration, isInitialized, lastEventId, makeMain, makeMultiplexedTransport, metrics, moduleMetadataIntegration, parameterize, setContext, setCurrentClient, setExtra, setExtras, setMeasurement, setTag, setTags, setUser, spanStatusfromHttpCode, startInactiveSpan, startSpan, startSpanManual, startTransaction, trace, withIsolationScope, withScope } from '@sentry/core';
export { FunctionToString, Hub, InboundFilters, ModuleMetadata, SDK_VERSION, Scope, addBreadcrumb, addEventProcessor, addGlobalEventProcessor, addIntegration, addTracingExtensions, captureEvent, captureException, captureMessage, close, configureScope, continueTrace, createTransport, extractTraceparentData, flush, functionToStringIntegration, getActiveSpan, getActiveTransaction, getClient, getCurrentHub, getCurrentScope, getHubFromCarrier, getSpanStatusFromHttpCode, inboundFiltersIntegration, isInitialized, lastEventId, makeMain, makeMultiplexedTransport, metrics, moduleMetadataIntegration, parameterize, setContext, setCurrentClient, setExtra, setExtras, setMeasurement, setTag, setTags, setUser, spanStatusfromHttpCode, startInactiveSpan, startSpan, startSpanManual, startTransaction, trace, withIsolationScope, withScope } from '@sentry/core';
import { WINDOW } from './helpers.js';

@@ -22,3 +22,3 @@ export { WINDOW } from './helpers.js';

export { Feedback, feedbackIntegration, sendFeedback } from '@sentry-internal/feedback';
export { BrowserTracing, defaultRequestInstrumentationOptions, instrumentOutgoingRequests } from '@sentry-internal/tracing';
export { BrowserTracing, browserTracingIntegration, defaultRequestInstrumentationOptions, instrumentOutgoingRequests, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan } from '@sentry-internal/tracing';
export { makeBrowserOfflineTransport } from './transports/offline.js';

@@ -25,0 +25,0 @@ export { onProfilingStartRouteTransaction } from './profiling/hubextensions.js';

{
"name": "@sentry/browser",
"version": "7.98.0",
"version": "7.99.0",
"description": "Official Sentry SDK for browsers",

@@ -32,12 +32,12 @@ "repository": "git://github.com/getsentry/sentry-javascript.git",

"dependencies": {
"@sentry-internal/feedback": "7.98.0",
"@sentry-internal/replay-canvas": "7.98.0",
"@sentry-internal/tracing": "7.98.0",
"@sentry/core": "7.98.0",
"@sentry/replay": "7.98.0",
"@sentry/types": "7.98.0",
"@sentry/utils": "7.98.0"
"@sentry-internal/feedback": "7.99.0",
"@sentry-internal/replay-canvas": "7.99.0",
"@sentry-internal/tracing": "7.99.0",
"@sentry/core": "7.99.0",
"@sentry/replay": "7.99.0",
"@sentry/types": "7.99.0",
"@sentry/utils": "7.99.0"
},
"devDependencies": {
"@sentry-internal/integration-shims": "7.98.0",
"@sentry-internal/integration-shims": "7.99.0",
"@types/md5": "2.1.33",

@@ -44,0 +44,0 @@ "btoa": "^1.2.1",

@@ -1,2 +0,3 @@

import { DsnLike, Mechanism, WrappedFunction } from '@sentry/types';
import { browserTracingIntegration } from '@sentry-internal/tracing';
import { DsnLike, Integration, Mechanism, WrappedFunction } from '@sentry/types';
export declare const WINDOW: import("@sentry/utils").InternalGlobal & Window;

@@ -53,2 +54,12 @@ /**

}
/**
* This is a slim shim of `browserTracingIntegration` for the CDN bundles.
* Since the actual functional integration uses a different code from `BrowserTracing`,
* we want to avoid shipping both of them in the CDN bundles, as that would blow up the size.
* Instead, we provide a functional integration with the same API, but the old implementation.
* This means that it's not possible to register custom routing instrumentation, but that's OK for now.
* We also don't expose the utilities for this anyhow in the CDN bundles.
* For users that need custom routing in CDN bundles, they have to continue using `new BrowserTracing()` until v8.
*/
export declare function bundleBrowserTracingIntegration(options?: Parameters<typeof browserTracingIntegration>[0]): Integration;
//# sourceMappingURL=helpers.d.ts.map

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

import { BrowserTracing, Feedback, Replay, addTracingExtensions, feedbackIntegration, replayIntegration } from '@sentry-internal/integration-shims';
import { BrowserTracing, Feedback, Replay, addTracingExtensions, browserTracingIntegration, feedbackIntegration, replayIntegration } from '@sentry-internal/integration-shims';
export * from './index.bundle.base';
export { BrowserTracing, addTracingExtensions, Replay, Feedback, feedbackIntegration, replayIntegration, };
export { BrowserTracing, addTracingExtensions, Replay, Feedback, browserTracingIntegration, feedbackIntegration, replayIntegration, };
//# sourceMappingURL=index.bundle.d.ts.map
import { Feedback, feedbackIntegration } from '@sentry-internal/feedback';
import { BrowserTracing, Replay, addTracingExtensions, replayIntegration } from '@sentry-internal/integration-shims';
import { BrowserTracing, Replay, addTracingExtensions, browserTracingIntegration, replayIntegration } from '@sentry-internal/integration-shims';
export * from './index.bundle.base';
export { BrowserTracing, addTracingExtensions, Replay, replayIntegration, Feedback, feedbackIntegration, };
export { BrowserTracing, browserTracingIntegration, addTracingExtensions, Replay, replayIntegration, Feedback, feedbackIntegration, };
//# sourceMappingURL=index.bundle.feedback.d.ts.map

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

import { BrowserTracing, Feedback, addTracingExtensions, feedbackIntegration } from '@sentry-internal/integration-shims';
import { BrowserTracing, Feedback, addTracingExtensions, browserTracingIntegration, feedbackIntegration } from '@sentry-internal/integration-shims';
import { Replay, replayIntegration } from '@sentry/replay';
export * from './index.bundle.base';
export { BrowserTracing, addTracingExtensions, Replay, replayIntegration, Feedback, feedbackIntegration, };
export { BrowserTracing, browserTracingIntegration, addTracingExtensions, Replay, replayIntegration, Feedback, feedbackIntegration, };
//# sourceMappingURL=index.bundle.replay.d.ts.map
import { Feedback, Replay, feedbackIntegration, replayIntegration } from '@sentry-internal/integration-shims';
import { BrowserTracing, Span, addExtensionMethods } from '@sentry-internal/tracing';
export { Feedback, Replay, feedbackIntegration, replayIntegration, BrowserTracing, Span, addExtensionMethods, };
import { bundleBrowserTracingIntegration as browserTracingIntegration } from './helpers';
export { Feedback, Replay, feedbackIntegration, replayIntegration, BrowserTracing, browserTracingIntegration, Span, addExtensionMethods, };
export * from './index.bundle.base';
//# sourceMappingURL=index.bundle.tracing.d.ts.map
import { Feedback, feedbackIntegration } from '@sentry-internal/integration-shims';
import { BrowserTracing, Span, addExtensionMethods } from '@sentry-internal/tracing';
import { Replay, replayIntegration } from '@sentry/replay';
export { Feedback, Replay, replayIntegration, feedbackIntegration, BrowserTracing, Span, addExtensionMethods, };
import { bundleBrowserTracingIntegration as browserTracingIntegration } from './helpers';
export { Feedback, Replay, replayIntegration, feedbackIntegration, BrowserTracing, browserTracingIntegration, Span, addExtensionMethods, };
export * from './index.bundle.base';
//# sourceMappingURL=index.bundle.tracing.replay.d.ts.map
import { Feedback, feedbackIntegration } from '@sentry-internal/feedback';
import { BrowserTracing, Span, addExtensionMethods } from '@sentry-internal/tracing';
import { Replay, replayIntegration } from '@sentry/replay';
export { Feedback, Replay, feedbackIntegration, replayIntegration, BrowserTracing, Span, addExtensionMethods, };
import { bundleBrowserTracingIntegration as browserTracingIntegration } from './helpers';
export { Feedback, Replay, feedbackIntegration, replayIntegration, BrowserTracing, browserTracingIntegration, Span, addExtensionMethods, };
export * from './index.bundle.base';
//# sourceMappingURL=index.bundle.tracing.replay.feedback.d.ts.map

@@ -62,5 +62,5 @@ export * from './exports';

export { Feedback, feedbackIntegration, sendFeedback, } from '@sentry-internal/feedback';
export { BrowserTracing, defaultRequestInstrumentationOptions, instrumentOutgoingRequests, } from '@sentry-internal/tracing';
export { BrowserTracing, defaultRequestInstrumentationOptions, instrumentOutgoingRequests, browserTracingIntegration, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan, } from '@sentry-internal/tracing';
export { RequestInstrumentationOptions } from '@sentry-internal/tracing';
export { addTracingExtensions, setMeasurement, extractTraceparentData, getActiveTransaction, spanStatusfromHttpCode, trace, makeMultiplexedTransport, ModuleMetadata, moduleMetadataIntegration, } from '@sentry/core';
export { addTracingExtensions, setMeasurement, extractTraceparentData, getActiveTransaction, spanStatusfromHttpCode, getSpanStatusFromHttpCode, trace, makeMultiplexedTransport, ModuleMetadata, moduleMetadataIntegration, } from '@sentry/core';
export { SpanStatusType } from '@sentry/core';

@@ -67,0 +67,0 @@ export { Span } from '@sentry/types';

@@ -1,2 +0,3 @@

import type { DsnLike, Mechanism, WrappedFunction } from '@sentry/types';
import type { browserTracingIntegration } from '@sentry-internal/tracing';
import type { DsnLike, Integration, Mechanism, WrappedFunction } from '@sentry/types';
export declare const WINDOW: import("@sentry/utils").InternalGlobal & Window;

@@ -53,2 +54,12 @@ /**

}
/**
* This is a slim shim of `browserTracingIntegration` for the CDN bundles.
* Since the actual functional integration uses a different code from `BrowserTracing`,
* we want to avoid shipping both of them in the CDN bundles, as that would blow up the size.
* Instead, we provide a functional integration with the same API, but the old implementation.
* This means that it's not possible to register custom routing instrumentation, but that's OK for now.
* We also don't expose the utilities for this anyhow in the CDN bundles.
* For users that need custom routing in CDN bundles, they have to continue using `new BrowserTracing()` until v8.
*/
export declare function bundleBrowserTracingIntegration(options?: Parameters<typeof browserTracingIntegration>[0]): Integration;
//# sourceMappingURL=helpers.d.ts.map

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

import { BrowserTracing, Feedback, Replay, addTracingExtensions, feedbackIntegration, replayIntegration } from '@sentry-internal/integration-shims';
import { BrowserTracing, Feedback, Replay, addTracingExtensions, browserTracingIntegration, feedbackIntegration, replayIntegration } from '@sentry-internal/integration-shims';
export * from './index.bundle.base';
export { BrowserTracing, addTracingExtensions, Replay, Feedback, feedbackIntegration, replayIntegration, };
export { BrowserTracing, addTracingExtensions, Replay, Feedback, browserTracingIntegration, feedbackIntegration, replayIntegration, };
//# sourceMappingURL=index.bundle.d.ts.map
import { Feedback, feedbackIntegration } from '@sentry-internal/feedback';
import { BrowserTracing, Replay, addTracingExtensions, replayIntegration } from '@sentry-internal/integration-shims';
import { BrowserTracing, Replay, addTracingExtensions, browserTracingIntegration, replayIntegration } from '@sentry-internal/integration-shims';
export * from './index.bundle.base';
export { BrowserTracing, addTracingExtensions, Replay, replayIntegration, Feedback, feedbackIntegration, };
export { BrowserTracing, browserTracingIntegration, addTracingExtensions, Replay, replayIntegration, Feedback, feedbackIntegration, };
//# sourceMappingURL=index.bundle.feedback.d.ts.map

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

import { BrowserTracing, Feedback, addTracingExtensions, feedbackIntegration } from '@sentry-internal/integration-shims';
import { BrowserTracing, Feedback, addTracingExtensions, browserTracingIntegration, feedbackIntegration } from '@sentry-internal/integration-shims';
import { Replay, replayIntegration } from '@sentry/replay';
export * from './index.bundle.base';
export { BrowserTracing, addTracingExtensions, Replay, replayIntegration, Feedback, feedbackIntegration, };
export { BrowserTracing, browserTracingIntegration, addTracingExtensions, Replay, replayIntegration, Feedback, feedbackIntegration, };
//# sourceMappingURL=index.bundle.replay.d.ts.map
import { Feedback, Replay, feedbackIntegration, replayIntegration } from '@sentry-internal/integration-shims';
import { BrowserTracing, Span, addExtensionMethods } from '@sentry-internal/tracing';
export { Feedback, Replay, feedbackIntegration, replayIntegration, BrowserTracing, Span, addExtensionMethods, };
import { bundleBrowserTracingIntegration as browserTracingIntegration } from './helpers';
export { Feedback, Replay, feedbackIntegration, replayIntegration, BrowserTracing, browserTracingIntegration, Span, addExtensionMethods, };
export * from './index.bundle.base';
//# sourceMappingURL=index.bundle.tracing.d.ts.map
import { Feedback, feedbackIntegration } from '@sentry-internal/integration-shims';
import { BrowserTracing, Span, addExtensionMethods } from '@sentry-internal/tracing';
import { Replay, replayIntegration } from '@sentry/replay';
export { Feedback, Replay, replayIntegration, feedbackIntegration, BrowserTracing, Span, addExtensionMethods, };
import { bundleBrowserTracingIntegration as browserTracingIntegration } from './helpers';
export { Feedback, Replay, replayIntegration, feedbackIntegration, BrowserTracing, browserTracingIntegration, Span, addExtensionMethods, };
export * from './index.bundle.base';
//# sourceMappingURL=index.bundle.tracing.replay.d.ts.map
import { Feedback, feedbackIntegration } from '@sentry-internal/feedback';
import { BrowserTracing, Span, addExtensionMethods } from '@sentry-internal/tracing';
import { Replay, replayIntegration } from '@sentry/replay';
export { Feedback, Replay, feedbackIntegration, replayIntegration, BrowserTracing, Span, addExtensionMethods, };
import { bundleBrowserTracingIntegration as browserTracingIntegration } from './helpers';
export { Feedback, Replay, feedbackIntegration, replayIntegration, BrowserTracing, browserTracingIntegration, Span, addExtensionMethods, };
export * from './index.bundle.base';
//# sourceMappingURL=index.bundle.tracing.replay.feedback.d.ts.map

@@ -62,5 +62,5 @@ export * from './exports';

export { Feedback, feedbackIntegration, sendFeedback, } from '@sentry-internal/feedback';
export { BrowserTracing, defaultRequestInstrumentationOptions, instrumentOutgoingRequests, } from '@sentry-internal/tracing';
export { BrowserTracing, defaultRequestInstrumentationOptions, instrumentOutgoingRequests, browserTracingIntegration, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan, } from '@sentry-internal/tracing';
export type { RequestInstrumentationOptions } from '@sentry-internal/tracing';
export { addTracingExtensions, setMeasurement, extractTraceparentData, getActiveTransaction, spanStatusfromHttpCode, trace, makeMultiplexedTransport, ModuleMetadata, moduleMetadataIntegration, } from '@sentry/core';
export { addTracingExtensions, setMeasurement, extractTraceparentData, getActiveTransaction, spanStatusfromHttpCode, getSpanStatusFromHttpCode, trace, makeMultiplexedTransport, ModuleMetadata, moduleMetadataIntegration, } from '@sentry/core';
export type { SpanStatusType } from '@sentry/core';

@@ -67,0 +67,0 @@ export type { Span } from '@sentry/types';

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

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

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