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
63
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.7.0 to 8.8.0

17

cjs/metrics/instrument.js

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

function instrumentLcp() {
return getLCP.onLCP(metric => {
triggerHandlers('lcp', {
metric,
});
_previousLcp = metric;
});
return getLCP.onLCP(
metric => {
triggerHandlers('lcp', {
metric,
});
_previousLcp = metric;
},
// We want the callback to be called whenever the LCP value updates.
// By default, the callback is only called when the tab goes to the background.
{ reportAllChanges: true },
);
}

@@ -146,0 +151,0 @@

@@ -136,8 +136,13 @@ import { logger, getFunctionName } from '@sentry/utils';

function instrumentLcp() {
return onLCP(metric => {
triggerHandlers('lcp', {
metric,
});
_previousLcp = metric;
});
return onLCP(
metric => {
triggerHandlers('lcp', {
metric,
});
_previousLcp = metric;
},
// We want the callback to be called whenever the LCP value updates.
// By default, the callback is only called when the tab goes to the background.
{ reportAllChanges: true },
);
}

@@ -144,0 +149,0 @@

{
"name": "@sentry-internal/browser-utils",
"version": "8.7.0",
"version": "8.8.0",
"description": "Browser Utilities for all Sentry JavaScript SDKs",

@@ -45,7 +45,7 @@ "repository": "git://github.com/getsentry/sentry-javascript.git",

"dependencies": {
"@sentry/core": "8.7.0",
"@sentry/types": "8.7.0",
"@sentry/utils": "8.7.0"
"@sentry/core": "8.8.0",
"@sentry/types": "8.8.0",
"@sentry/utils": "8.8.0"
},
"sideEffects": false
}

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