Socket
Socket
Sign inDemoInstall

@datadog/browser-rum-core

Package Overview
Dependencies
Maintainers
1
Versions
177
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@datadog/browser-rum-core - npm Package Compare versions

Comparing version 4.48.0 to 4.48.1

2

cjs/domain/assembly.js

@@ -60,3 +60,3 @@ "use strict";

},
browser_sdk_version: (0, browser_core_1.canUseEventBridge)() ? "4.48.0" : undefined,
browser_sdk_version: (0, browser_core_1.canUseEventBridge)() ? "4.48.1" : undefined,
},

@@ -63,0 +63,0 @@ application: {

@@ -99,5 +99,7 @@ "use strict";

function isInteractionToNextPaintSupported() {
return (0, performanceCollection_1.supportPerformanceTimingEvent)('event') && 'interactionId' in PerformanceEventTiming.prototype;
return ((0, performanceCollection_1.supportPerformanceTimingEvent)('event') &&
window.PerformanceEventTiming &&
'interactionId' in PerformanceEventTiming.prototype);
}
exports.isInteractionToNextPaintSupported = isInteractionToNextPaintSupported;
//# sourceMappingURL=trackInteractionToNextPaint.js.map

@@ -57,3 +57,3 @@ import { combine, isEmptyObject, timeStampNow, currentDrift, display, createEventRateLimiter, canUseEventBridge, assign, round, } from '@datadog/browser-core';

},
browser_sdk_version: canUseEventBridge() ? "4.48.0" : undefined,
browser_sdk_version: canUseEventBridge() ? "4.48.1" : undefined,
},

@@ -60,0 +60,0 @@ application: {

@@ -94,4 +94,6 @@ import { noop, isExperimentalFeatureEnabled, ExperimentalFeature } from '@datadog/browser-core';

export function isInteractionToNextPaintSupported() {
return supportPerformanceTimingEvent('event') && 'interactionId' in PerformanceEventTiming.prototype;
return (supportPerformanceTimingEvent('event') &&
window.PerformanceEventTiming &&
'interactionId' in PerformanceEventTiming.prototype);
}
//# sourceMappingURL=trackInteractionToNextPaint.js.map
{
"name": "@datadog/browser-rum-core",
"version": "4.48.0",
"version": "4.48.1",
"license": "Apache-2.0",

@@ -15,3 +15,3 @@ "main": "cjs/index.js",

"dependencies": {
"@datadog/browser-core": "4.48.0"
"@datadog/browser-core": "4.48.1"
},

@@ -32,3 +32,3 @@ "devDependencies": {

},
"gitHead": "fb747ba67e23abd3f21112c51d9fbac4c9c6fed4"
"gitHead": "b5ae7eb3288b0e8ae8b1ad1b160dfff29c039a56"
}

@@ -113,3 +113,7 @@ import { noop, isExperimentalFeatureEnabled, ExperimentalFeature } from '@datadog/browser-core'

export function isInteractionToNextPaintSupported() {
return supportPerformanceTimingEvent('event') && 'interactionId' in PerformanceEventTiming.prototype
return (
supportPerformanceTimingEvent('event') &&
window.PerformanceEventTiming &&
'interactionId' in PerformanceEventTiming.prototype
)
}

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