Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sentry-internal/browser-utils

Package Overview
Dependencies
Maintainers
9
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry-internal/browser-utils - npm Package Compare versions

Comparing version 8.39.0 to 8.41.0-beta.0

6

build/cjs/getNativeImplementation.js
Object.defineProperty(exports, '__esModule', { value: true });
const utils = require('@sentry/utils');
const core = require('@sentry/core');
const debugBuild = require('./debug-build.js');

@@ -35,3 +35,3 @@ const types = require('./types.js');

// Fast path to avoid DOM I/O
if (utils.isNativeFunction(impl)) {
if (core.isNativeFunction(impl)) {
return (cachedImplementations[name] = impl.bind(types.WINDOW) );

@@ -54,3 +54,3 @@ }

// Could not create sandbox iframe, just use window.xxx
debugBuild.DEBUG_BUILD && utils.logger.warn(`Could not create sandbox iframe for ${name} check, bailing to window.${name}: `, e);
debugBuild.DEBUG_BUILD && core.logger.warn(`Could not create sandbox iframe for ${name} check, bailing to window.${name}: `, e);
}

@@ -57,0 +57,0 @@ }

Object.defineProperty(exports, '__esModule', { value: true });
const utils = require('@sentry/utils');
const core = require('@sentry/core');
const types = require('../types.js');

@@ -20,4 +20,4 @@

const type = 'dom';
utils.addHandler(type, handler);
utils.maybeInstrument(type, instrumentDOM);
core.addHandler(type, handler);
core.maybeInstrument(type, instrumentDOM);
}

@@ -34,3 +34,3 @@

// we instrument `addEventListener` so that we don't end up attaching this handler twice.
const triggerDOMHandler = utils.triggerHandlers.bind(null, 'dom');
const triggerDOMHandler = core.triggerHandlers.bind(null, 'dom');
const globalDOMEventHandler = makeDOMEventHandler(triggerDOMHandler, true);

@@ -53,3 +53,3 @@ types.WINDOW.document.addEventListener('click', globalDOMEventHandler, false);

utils.fill(proto, 'addEventListener', function (originalAddEventListener) {
core.fill(proto, 'addEventListener', function (originalAddEventListener) {
return function (

@@ -84,3 +84,3 @@

utils.fill(
core.fill(
proto,

@@ -200,7 +200,7 @@ 'removeEventListener',

// Mark event as "seen"
utils.addNonEnumerableProperty(event, '_sentryCaptured', true);
core.addNonEnumerableProperty(event, '_sentryCaptured', true);
if (target && !target._sentryId) {
// Add UUID to event target so we can identify if
utils.addNonEnumerableProperty(target, '_sentryId', utils.uuid4());
core.addNonEnumerableProperty(target, '_sentryId', core.uuid4());
}

@@ -207,0 +207,0 @@

Object.defineProperty(exports, '__esModule', { value: true });
const utils = require('@sentry/utils');
const core = require('@sentry/core');
const types = require('../types.js');

@@ -18,8 +18,8 @@

const type = 'history';
utils.addHandler(type, handler);
utils.maybeInstrument(type, instrumentHistory);
core.addHandler(type, handler);
core.maybeInstrument(type, instrumentHistory);
}
function instrumentHistory() {
if (!utils.supportsHistory()) {
if (!core.supportsHistory()) {
return;

@@ -35,3 +35,3 @@ }

const handlerData = { from, to };
utils.triggerHandlers('history', handlerData);
core.triggerHandlers('history', handlerData);
if (oldOnPopState) {

@@ -59,3 +59,3 @@ // Apparently this can throw in Firefox when incorrectly implemented plugin is installed.

const handlerData = { from, to };
utils.triggerHandlers('history', handlerData);
core.triggerHandlers('history', handlerData);
}

@@ -66,4 +66,4 @@ return originalHistoryFunction.apply(this, args);

utils.fill(types.WINDOW.history, 'pushState', historyReplacementFunction);
utils.fill(types.WINDOW.history, 'replaceState', historyReplacementFunction);
core.fill(types.WINDOW.history, 'pushState', historyReplacementFunction);
core.fill(types.WINDOW.history, 'replaceState', historyReplacementFunction);
}

@@ -70,0 +70,0 @@

Object.defineProperty(exports, '__esModule', { value: true });
const utils = require('@sentry/utils');
const core = require('@sentry/core');
const types = require('../types.js');

@@ -18,4 +18,4 @@

const type = 'xhr';
utils.addHandler(type, handler);
utils.maybeInstrument(type, instrumentXHR);
core.addHandler(type, handler);
core.maybeInstrument(type, instrumentXHR);
}

@@ -34,7 +34,7 @@

apply(originalOpen, xhrOpenThisArg, xhrOpenArgArray) {
const startTimestamp = utils.timestampInSeconds() * 1000;
const startTimestamp = core.timestampInSeconds() * 1000;
// open() should always be called with two or more arguments
// But to be on the safe side, we actually validate this and bail out if we don't have a method & url
const method = utils.isString(xhrOpenArgArray[0]) ? xhrOpenArgArray[0].toUpperCase() : undefined;
const method = core.isString(xhrOpenArgArray[0]) ? xhrOpenArgArray[0].toUpperCase() : undefined;
const url = parseUrl(xhrOpenArgArray[1]);

@@ -75,7 +75,7 @@

const handlerData = {
endTimestamp: utils.timestampInSeconds() * 1000,
endTimestamp: core.timestampInSeconds() * 1000,
startTimestamp,
xhr: xhrOpenThisArg,
};
utils.triggerHandlers('xhr', handlerData);
core.triggerHandlers('xhr', handlerData);
}

@@ -108,3 +108,3 @@ };

if (xhrInfo && utils.isString(header) && utils.isString(value)) {
if (xhrInfo && core.isString(header) && core.isString(value)) {
xhrInfo.request_headers[header.toLowerCase()] = value;

@@ -135,6 +135,6 @@ }

const handlerData = {
startTimestamp: utils.timestampInSeconds() * 1000,
startTimestamp: core.timestampInSeconds() * 1000,
xhr: sendThisArg,
};
utils.triggerHandlers('xhr', handlerData);
core.triggerHandlers('xhr', handlerData);

@@ -147,3 +147,3 @@ return originalSend.apply(sendThisArg, sendArgArray);

function parseUrl(url) {
if (utils.isString(url)) {
if (core.isString(url)) {
return url;

@@ -150,0 +150,0 @@ }

Object.defineProperty(exports, '__esModule', { value: true });
const core = require('@sentry/core');
const utils$1 = require('@sentry/utils');
const debugBuild = require('../debug-build.js');

@@ -32,3 +31,3 @@ const types = require('../types.js');

const performance = utils.getBrowserPerformanceAPI();
if (performance && utils$1.browserPerformanceTimeOrigin) {
if (performance && core.browserPerformanceTimeOrigin) {
// @ts-expect-error we want to make sure all of these are available, even if TS is sure they are

@@ -67,3 +66,3 @@ if (performance.mark) {

for (const entry of entries) {
const startTime = utils.msToSec((utils$1.browserPerformanceTimeOrigin ) + entry.startTime);
const startTime = utils.msToSec((core.browserPerformanceTimeOrigin ) + entry.startTime);
const duration = utils.msToSec(entry.duration);

@@ -107,3 +106,3 @@

const startTime = utils.msToSec((utils$1.browserPerformanceTimeOrigin ) + entry.startTime);
const startTime = utils.msToSec((core.browserPerformanceTimeOrigin ) + entry.startTime);

@@ -162,7 +161,7 @@ const { start_timestamp: parentStartTimestamp, op: parentOp } = core.spanToJSON(parent);

if (entry.name === 'click') {
const startTime = utils.msToSec((utils$1.browserPerformanceTimeOrigin ) + entry.startTime);
const startTime = utils.msToSec((core.browserPerformanceTimeOrigin ) + entry.startTime);
const duration = utils.msToSec(entry.duration);
const spanOptions = {
name: utils$1.htmlTreeAsString(entry.target),
name: core.htmlTreeAsString(entry.target),
op: `ui.interaction.${entry.name}`,

@@ -175,3 +174,3 @@ startTime: startTime,

const componentName = utils$1.getComponentName(entry.target);
const componentName = core.getComponentName(entry.target);
if (componentName) {

@@ -197,3 +196,3 @@ spanOptions.attributes['ui.component_name'] = componentName;

}
debugBuild.DEBUG_BUILD && utils$1.logger.log(`[Measurements] Adding CLS ${metric.value}`);
debugBuild.DEBUG_BUILD && core.logger.log(`[Measurements] Adding CLS ${metric.value}`);
_measurements['cls'] = { value: metric.value, unit: '' };

@@ -212,3 +211,3 @@ _clsEntry = entry;

debugBuild.DEBUG_BUILD && utils$1.logger.log('[Measurements] Adding LCP');
debugBuild.DEBUG_BUILD && core.logger.log('[Measurements] Adding LCP');
_measurements['lcp'] = { value: metric.value, unit: 'millisecond' };

@@ -227,5 +226,5 @@ _lcpEntry = entry ;

const timeOrigin = utils.msToSec(utils$1.browserPerformanceTimeOrigin );
const timeOrigin = utils.msToSec(core.browserPerformanceTimeOrigin );
const startTime = utils.msToSec(entry.startTime);
debugBuild.DEBUG_BUILD && utils$1.logger.log('[Measurements] Adding FID');
debugBuild.DEBUG_BUILD && core.logger.log('[Measurements] Adding FID');
_measurements['fid'] = { value: metric.value, unit: 'millisecond' };

@@ -243,3 +242,3 @@ _measurements['mark.fid'] = { value: timeOrigin + startTime, unit: 'second' };

debugBuild.DEBUG_BUILD && utils$1.logger.log('[Measurements] Adding TTFB');
debugBuild.DEBUG_BUILD && core.logger.log('[Measurements] Adding TTFB');
_measurements['ttfb'] = { value: metric.value, unit: 'millisecond' };

@@ -252,3 +251,3 @@ });

const performance = utils.getBrowserPerformanceAPI();
if (!performance || !types.WINDOW.performance.getEntries || !utils$1.browserPerformanceTimeOrigin) {
if (!performance || !types.WINDOW.performance.getEntries || !core.browserPerformanceTimeOrigin) {
// Gatekeeper if performance API not available

@@ -258,4 +257,4 @@ return;

debugBuild.DEBUG_BUILD && utils$1.logger.log('[Tracing] Adding & adjusting spans using Performance API');
const timeOrigin = utils.msToSec(utils$1.browserPerformanceTimeOrigin);
debugBuild.DEBUG_BUILD && core.logger.log('[Tracing] Adding & adjusting spans using Performance API');
const timeOrigin = utils.msToSec(core.browserPerformanceTimeOrigin);

@@ -297,7 +296,7 @@ const performanceEntries = performance.getEntries();

if (entry.name === 'first-paint' && shouldRecord) {
debugBuild.DEBUG_BUILD && utils$1.logger.log('[Measurements] Adding FP');
debugBuild.DEBUG_BUILD && core.logger.log('[Measurements] Adding FP');
_measurements['fp'] = { value: entry.startTime, unit: 'millisecond' };
}
if (entry.name === 'first-contentful-paint' && shouldRecord) {
debugBuild.DEBUG_BUILD && utils$1.logger.log('[Measurements] Adding FCP');
debugBuild.DEBUG_BUILD && core.logger.log('[Measurements] Adding FCP');
_measurements['fcp'] = { value: entry.startTime, unit: 'millisecond' };

@@ -490,3 +489,3 @@ }

const parsedUrl = utils$1.parseUrl(resourceUrl);
const parsedUrl = core.parseUrl(resourceUrl);

@@ -564,3 +563,3 @@ const attributes = {

if (_lcpEntry) {
debugBuild.DEBUG_BUILD && utils$1.logger.log('[Measurements] Adding LCP Data');
debugBuild.DEBUG_BUILD && core.logger.log('[Measurements] Adding LCP Data');

@@ -570,3 +569,3 @@ // Capture Properties of the LCP element that contributes to the LCP.

if (_lcpEntry.element) {
span.setAttribute('lcp.element', utils$1.htmlTreeAsString(_lcpEntry.element));
span.setAttribute('lcp.element', core.htmlTreeAsString(_lcpEntry.element));
}

@@ -583,2 +582,14 @@

if (_lcpEntry.loadTime != null) {
// loadTime is the time of LCP that's related to receiving the LCP element response..
span.setAttribute('lcp.loadTime', _lcpEntry.loadTime);
}
if (_lcpEntry.renderTime != null) {
// renderTime is loadTime + rendering time
// it's 0 if the LCP element is loaded from a 3rd party origin that doesn't send the
// `Timing-Allow-Origin` header.
span.setAttribute('lcp.renderTime', _lcpEntry.renderTime);
}
span.setAttribute('lcp.size', _lcpEntry.size);

@@ -589,5 +600,5 @@ }

if (_clsEntry && _clsEntry.sources) {
debugBuild.DEBUG_BUILD && utils$1.logger.log('[Measurements] Adding CLS Data');
debugBuild.DEBUG_BUILD && core.logger.log('[Measurements] Adding CLS Data');
_clsEntry.sources.forEach((source, index) =>
span.setAttribute(`cls.source.${index + 1}`, utils$1.htmlTreeAsString(source.node)),
span.setAttribute(`cls.source.${index + 1}`, core.htmlTreeAsString(source.node)),
);

@@ -623,3 +634,3 @@ }

if (requestStart <= responseStart) {
debugBuild.DEBUG_BUILD && utils$1.logger.log('[Measurements] Adding TTFB Request Time');
debugBuild.DEBUG_BUILD && core.logger.log('[Measurements] Adding TTFB Request Time');
_measurements['ttfb.requestTime'] = {

@@ -626,0 +637,0 @@ value: responseStart - requestStart,

var {
_optionalChain
} = require('@sentry/utils');
} = require('@sentry/core');

@@ -8,6 +8,5 @@ Object.defineProperty(exports, '__esModule', { value: true });

const core = require('@sentry/core');
const utils = require('@sentry/utils');
const debugBuild = require('../debug-build.js');
const instrument = require('./instrument.js');
const utils$1 = require('./utils.js');
const utils = require('./utils.js');
const onHidden = require('./web-vitals/lib/onHidden.js');

@@ -80,10 +79,10 @@

function sendStandaloneClsSpan(clsValue, entry, pageloadSpanId) {
debugBuild.DEBUG_BUILD && utils.logger.log(`Sending CLS span (${clsValue})`);
debugBuild.DEBUG_BUILD && core.logger.log(`Sending CLS span (${clsValue})`);
const startTime = utils$1.msToSec((utils.browserPerformanceTimeOrigin || 0) + (_optionalChain([entry, 'optionalAccess', _3 => _3.startTime]) || 0));
const startTime = utils.msToSec((core.browserPerformanceTimeOrigin || 0) + (_optionalChain([entry, 'optionalAccess', _3 => _3.startTime]) || 0));
const routeName = core.getCurrentScope().getScopeData().transactionName;
const name = entry ? utils.htmlTreeAsString(_optionalChain([entry, 'access', _4 => _4.sources, 'access', _5 => _5[0], 'optionalAccess', _6 => _6.node])) : 'Layout shift';
const name = entry ? core.htmlTreeAsString(_optionalChain([entry, 'access', _4 => _4.sources, 'access', _5 => _5[0], 'optionalAccess', _6 => _6.node])) : 'Layout shift';
const attributes = utils.dropUndefinedKeys({
const attributes = core.dropUndefinedKeys({
[core.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.http.browser.cls',

@@ -96,3 +95,3 @@ [core.SEMANTIC_ATTRIBUTE_SENTRY_OP]: 'ui.webvital.cls',

const span = utils$1.startStandaloneWebVitalSpan({
const span = utils.startStandaloneWebVitalSpan({
name,

@@ -99,0 +98,0 @@ transaction: routeName,

var {
_optionalChain
} = require('@sentry/utils');
} = require('@sentry/core');

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

const core = require('@sentry/core');
const utils$1 = require('@sentry/utils');
const instrument = require('./instrument.js');

@@ -21,3 +20,3 @@ const utils = require('./utils.js');

const performance = utils.getBrowserPerformanceAPI();
if (performance && utils$1.browserPerformanceTimeOrigin) {
if (performance && core.browserPerformanceTimeOrigin) {
const inpCallback = _trackINP();

@@ -79,3 +78,3 @@

/** Build the INP span, create an envelope from the span, and then send the envelope */
const startTime = utils.msToSec((utils$1.browserPerformanceTimeOrigin ) + entry.startTime);
const startTime = utils.msToSec((core.browserPerformanceTimeOrigin ) + entry.startTime);
const duration = utils.msToSec(metric.value);

@@ -95,4 +94,4 @@ const activeSpan = core.getActiveSpan();

const name = utils$1.htmlTreeAsString(entry.target);
const attributes = utils$1.dropUndefinedKeys({
const name = core.htmlTreeAsString(entry.target);
const attributes = core.dropUndefinedKeys({
[core.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.http.browser.inp',

@@ -99,0 +98,0 @@ [core.SEMANTIC_ATTRIBUTE_SENTRY_OP]: `ui.interaction.${interactionType}`,

Object.defineProperty(exports, '__esModule', { value: true });
const utils = require('@sentry/utils');
const core = require('@sentry/core');
const debugBuild = require('../debug-build.js');

@@ -106,4 +106,4 @@ const getCLS = require('./web-vitals/getCLS.js');

debugBuild.DEBUG_BUILD &&
utils.logger.error(
`Error while triggering instrumentation handler.\nType: ${type}\nName: ${utils.getFunctionName(handler)}\nError:`,
core.logger.error(
`Error while triggering instrumentation handler.\nType: ${type}\nName: ${core.getFunctionName(handler)}\nError:`,
e,

@@ -110,0 +110,0 @@ );

Object.defineProperty(exports, '__esModule', { value: true });
const utils = require('@sentry/utils');
const core = require('@sentry/core');
const WINDOW = utils.GLOBAL_OBJ
const WINDOW = core.GLOBAL_OBJ

@@ -7,0 +7,0 @@ ;

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

import { isNativeFunction, logger } from '@sentry/utils';
import { isNativeFunction, logger } from '@sentry/core';
import { DEBUG_BUILD } from './debug-build.js';

@@ -3,0 +3,0 @@ import { WINDOW } from './types.js';

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

import { addHandler, maybeInstrument, triggerHandlers, fill, addNonEnumerableProperty, uuid4 } from '@sentry/utils';
import { addHandler, maybeInstrument, triggerHandlers, fill, addNonEnumerableProperty, uuid4 } from '@sentry/core';
import { WINDOW } from '../types.js';

@@ -3,0 +3,0 @@

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

import { addHandler, maybeInstrument, supportsHistory, triggerHandlers, fill } from '@sentry/utils';
import { addHandler, maybeInstrument, supportsHistory, triggerHandlers, fill } from '@sentry/core';
import { WINDOW } from '../types.js';

@@ -3,0 +3,0 @@

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

import { addHandler, maybeInstrument, timestampInSeconds, isString, triggerHandlers } from '@sentry/utils';
import { addHandler, maybeInstrument, timestampInSeconds, isString, triggerHandlers } from '@sentry/core';
import { WINDOW } from '../types.js';

@@ -3,0 +3,0 @@

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

import { getActiveSpan, spanToJSON, setMeasurement, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN } from '@sentry/core';
import { browserPerformanceTimeOrigin, logger, parseUrl, htmlTreeAsString, getComponentName } from '@sentry/utils';
import { browserPerformanceTimeOrigin, getActiveSpan, spanToJSON, logger, setMeasurement, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, parseUrl, htmlTreeAsString, getComponentName } from '@sentry/core';
import { DEBUG_BUILD } from '../debug-build.js';

@@ -566,2 +565,14 @@ import { WINDOW } from '../types.js';

if (_lcpEntry.loadTime != null) {
// loadTime is the time of LCP that's related to receiving the LCP element response..
span.setAttribute('lcp.loadTime', _lcpEntry.loadTime);
}
if (_lcpEntry.renderTime != null) {
// renderTime is loadTime + rendering time
// it's 0 if the LCP element is loaded from a 3rd party origin that doesn't send the
// `Timing-Allow-Origin` header.
span.setAttribute('lcp.renderTime', _lcpEntry.renderTime);
}
span.setAttribute('lcp.size', _lcpEntry.size);

@@ -568,0 +579,0 @@ }

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

import { _optionalChain } from '@sentry/utils';
import { getClient, getActiveSpan, getRootSpan, spanToJSON, getCurrentScope, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME, SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT, SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE } from '@sentry/core';
import { logger, browserPerformanceTimeOrigin, htmlTreeAsString, dropUndefinedKeys } from '@sentry/utils';
import { _optionalChain } from '@sentry/core';
import { getClient, getActiveSpan, getRootSpan, spanToJSON, logger, browserPerformanceTimeOrigin, getCurrentScope, htmlTreeAsString, dropUndefinedKeys, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME, SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT, SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE } from '@sentry/core';
import { DEBUG_BUILD } from '../debug-build.js';

@@ -5,0 +4,0 @@ import { addClsInstrumentationHandler } from './instrument.js';

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

import { _optionalChain } from '@sentry/utils';
import { getActiveSpan, getRootSpan, spanToJSON, getCurrentScope, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME, SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT, SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE } from '@sentry/core';
import { browserPerformanceTimeOrigin, htmlTreeAsString, dropUndefinedKeys } from '@sentry/utils';
import { _optionalChain } from '@sentry/core';
import { browserPerformanceTimeOrigin, getActiveSpan, getRootSpan, spanToJSON, getCurrentScope, htmlTreeAsString, dropUndefinedKeys, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME, SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT, SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE } from '@sentry/core';
import { addInpInstrumentationHandler, addPerformanceInstrumentationHandler, isPerformanceEventTiming } from './instrument.js';

@@ -5,0 +4,0 @@ import { getBrowserPerformanceAPI, msToSec, startStandaloneWebVitalSpan } from './utils.js';

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

import { logger, getFunctionName } from '@sentry/utils';
import { logger, getFunctionName } from '@sentry/core';
import { DEBUG_BUILD } from '../debug-build.js';

@@ -3,0 +3,0 @@ import { onCLS } from './web-vitals/getCLS.js';

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

{"type":"module","version":"8.39.0","sideEffects":false}
{"type":"module","version":"8.41.0-beta.0","sideEffects":false}

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

import { GLOBAL_OBJ } from '@sentry/utils';
import { GLOBAL_OBJ } from '@sentry/core';

@@ -3,0 +3,0 @@ const WINDOW = GLOBAL_OBJ

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

export declare const WINDOW: import("@sentry/utils").InternalGlobal & Pick<Window, Exclude<keyof Window, "document">> & Partial<Pick<Window, "document">>;
export declare const WINDOW: import("@sentry/core").InternalGlobal & Pick<Window, Exclude<keyof Window, "document">> & Partial<Pick<Window, "document">>;
//# sourceMappingURL=types.d.ts.map

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

export declare const WINDOW: import("@sentry/utils").InternalGlobal & Omit<Window, "document"> & Partial<Pick<Window, "document">>;
export declare const WINDOW: import("@sentry/core").InternalGlobal & Omit<Window, "document"> & Partial<Pick<Window, "document">>;
//# sourceMappingURL=types.d.ts.map
{
"name": "@sentry-internal/browser-utils",
"version": "8.39.0",
"version": "8.41.0-beta.0",
"description": "Browser Utilities for all Sentry JavaScript SDKs",

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

"dependencies": {
"@sentry/core": "8.39.0",
"@sentry/types": "8.39.0",
"@sentry/utils": "8.39.0"
"@sentry/core": "8.41.0-beta.0",
"@sentry/types": "8.41.0-beta.0"
},

@@ -47,0 +46,0 @@ "scripts": {

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

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