Socket
Socket
Sign inDemoInstall

@sentry-internal/browser-utils

Package Overview
Dependencies
Maintainers
9
Versions
52
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.0.0-rc.1 to 8.0.0-rc.2

17

cjs/metrics/instrument.js

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

function instrumentCls() {
return getCLS.onCLS(metric => {
triggerHandlers('cls', {
metric,
});
_previousCls = metric;
});
return getCLS.onCLS(
metric => {
triggerHandlers('cls', {
metric,
});
_previousCls = metric;
},
// We want the callback to be called whenever the CLS value updates.
// By default, the callback is only called when the tab goes to the background.
{ reportAllChanges: true },
);
}

@@ -123,0 +128,0 @@

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

function instrumentCls() {
return onCLS(metric => {
triggerHandlers('cls', {
metric,
});
_previousCls = metric;
});
return onCLS(
metric => {
triggerHandlers('cls', {
metric,
});
_previousCls = metric;
},
// We want the callback to be called whenever the CLS value updates.
// By default, the callback is only called when the tab goes to the background.
{ reportAllChanges: true },
);
}

@@ -121,0 +126,0 @@

{
"name": "@sentry-internal/browser-utils",
"version": "8.0.0-rc.1",
"version": "8.0.0-rc.2",
"description": "Browser Utilities for all Sentry JavaScript SDKs",

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

"dependencies": {
"@sentry/core": "8.0.0-rc.1",
"@sentry/types": "8.0.0-rc.1",
"@sentry/utils": "8.0.0-rc.1"
"@sentry/core": "8.0.0-rc.2",
"@sentry/types": "8.0.0-rc.2",
"@sentry/utils": "8.0.0-rc.2"
},
"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