📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP

@sentry-internal/browser-utils

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

to
9.9.0

@@ -87,3 +87,3 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });

const attributes = core.dropUndefinedKeys({
const attributes = {
[core.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.http.browser.cls',

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

'sentry.pageload.span_id': pageloadSpanId,
});
};

@@ -97,0 +97,0 @@ const span = utils.startStandaloneWebVitalSpan({

@@ -88,7 +88,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });

const name = core.htmlTreeAsString(entry.target);
const attributes = core.dropUndefinedKeys({
const attributes = {
[core.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.http.browser.inp',
[core.SEMANTIC_ATTRIBUTE_SENTRY_OP]: `ui.interaction.${interactionType}`,
[core.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]: entry.duration,
});
};

@@ -95,0 +95,0 @@ const span = utils.startStandaloneWebVitalSpan({

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

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

@@ -85,3 +85,3 @@ import { addClsInstrumentationHandler } from './instrument.js';

const attributes = dropUndefinedKeys({
const attributes = {
[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.http.browser.cls',

@@ -92,3 +92,3 @@ [SEMANTIC_ATTRIBUTE_SENTRY_OP]: 'ui.webvital.cls',

'sentry.pageload.span_id': pageloadSpanId,
});
};

@@ -95,0 +95,0 @@ const span = startStandaloneWebVitalSpan({

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

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

@@ -86,7 +86,7 @@ import { getBrowserPerformanceAPI, msToSec, startStandaloneWebVitalSpan } from './utils.js';

const name = htmlTreeAsString(entry.target);
const attributes = dropUndefinedKeys({
const attributes = {
[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.http.browser.inp',
[SEMANTIC_ATTRIBUTE_SENTRY_OP]: `ui.interaction.${interactionType}`,
[SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]: entry.duration,
});
};

@@ -93,0 +93,0 @@ const span = startStandaloneWebVitalSpan({

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

{"type":"module","version":"9.8.0","sideEffects":false}
{"type":"module","version":"9.9.0","sideEffects":false}
{
"name": "@sentry-internal/browser-utils",
"version": "9.8.0",
"version": "9.9.0",
"description": "Browser Utilities for all Sentry JavaScript SDKs",

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

"dependencies": {
"@sentry/core": "9.8.0"
"@sentry/core": "9.9.0"
},

@@ -45,0 +45,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