Socket
Socket
Sign inDemoInstall

@datadog/browser-rum-core

Package Overview
Dependencies
Maintainers
1
Versions
179
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 2.5.3 to 2.5.4

3

cjs/boot/buildEnv.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.buildEnv = void 0;
exports.buildEnv = {
buildMode: 'release',
datacenter: 'us',
sdkVersion: '2.5.3',
sdkVersion: '2.5.4',
};
//# sourceMappingURL=buildEnv.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.startRumEventCollection = exports.startRum = void 0;
var browser_core_1 = require("@datadog/browser-core");

@@ -4,0 +5,0 @@ var domMutationCollection_1 = require("../browser/domMutationCollection");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.makeRumPublicApi = void 0;
var browser_core_1 = require("@datadog/browser-core");

@@ -4,0 +5,0 @@ var rawRumEvent_types_1 = require("../rawRumEvent.types");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.startDOMMutationCollection = void 0;
var browser_core_1 = require("@datadog/browser-core");

@@ -4,0 +5,0 @@ var lifeCycle_1 = require("../domain/lifeCycle");

@@ -55,4 +55,4 @@ import { Configuration } from '@datadog/browser-core';

export declare type RumPerformanceEntry = RumPerformanceResourceTiming | RumPerformanceLongTaskTiming | RumPerformancePaintTiming | RumPerformanceNavigationTiming | RumLargestContentfulPaintTiming | RumFirstInputTiming | RumLayoutShiftTiming;
export declare function supportPerformanceTimingEvent(entryType: string): boolean | undefined;
export declare function supportPerformanceTimingEvent(entryType: string): boolean;
export declare function startPerformanceCollection(lifeCycle: LifeCycle, configuration: Configuration): void;
export declare function retrieveInitialDocumentResourceTiming(callback: (timing: RumPerformanceResourceTiming) => void): void;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.retrieveInitialDocumentResourceTiming = exports.startPerformanceCollection = exports.supportPerformanceTimingEvent = void 0;
var tslib_1 = require("tslib");

@@ -4,0 +5,0 @@ var browser_core_1 = require("@datadog/browser-core");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.startRumAssembly = void 0;
var browser_core_1 = require("@datadog/browser-core");

@@ -4,0 +5,0 @@ var rawRumEvent_types_1 = require("../rawRumEvent.types");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.startInternalContext = void 0;
/**

@@ -4,0 +5,0 @@ * Internal context keep returning v1 format

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.LifeCycle = exports.LifeCycleEventType = void 0;
var LifeCycleEventType;

@@ -4,0 +5,0 @@ (function (LifeCycleEventType) {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.startParentContexts = exports.CLEAR_OLD_CONTEXTS_INTERVAL = exports.ACTION_CONTEXT_TIME_OUT_DELAY = exports.VIEW_CONTEXT_TIME_OUT_DELAY = void 0;
var browser_core_1 = require("@datadog/browser-core");

@@ -4,0 +5,0 @@ var lifeCycle_1 = require("./lifeCycle");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.trackFetch = exports.trackXhr = exports.startRequestCollection = void 0;
var browser_core_1 = require("@datadog/browser-core");

@@ -4,0 +5,0 @@ var lifeCycle_1 = require("./lifeCycle");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.startActionCollection = void 0;
var tslib_1 = require("tslib");

@@ -4,0 +5,0 @@ var browser_core_1 = require("@datadog/browser-core");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getActionNameFromElement = void 0;
var browser_core_1 = require("@datadog/browser-core");

@@ -4,0 +5,0 @@ function getActionNameFromElement(element) {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.trackActions = void 0;
var browser_core_1 = require("@datadog/browser-core");

@@ -4,0 +5,0 @@ var lifeCycle_1 = require("../../lifeCycle");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.doStartErrorCollection = exports.startErrorCollection = void 0;
var tslib_1 = require("tslib");

@@ -4,0 +5,0 @@ var browser_core_1 = require("@datadog/browser-core");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.startLongTaskCollection = void 0;
var browser_core_1 = require("@datadog/browser-core");

@@ -4,0 +5,0 @@ var rawRumEvent_types_1 = require("../../../rawRumEvent.types");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.matchRequestTiming = void 0;
var resourceUtils_1 = require("./resourceUtils");

@@ -4,0 +5,0 @@ /**

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.startResourceCollection = void 0;
var tslib_1 = require("tslib");

@@ -4,0 +5,0 @@ var browser_core_1 = require("@datadog/browser-core");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isAllowedRequestUrl = exports.computeSize = exports.toValidEntry = exports.computePerformanceResourceDetails = exports.computePerformanceResourceDuration = exports.isRequestKind = exports.computeResourceKind = exports.FAKE_INITIAL_DOCUMENT = void 0;
var tslib_1 = require("tslib");

@@ -4,0 +5,0 @@ var browser_core_1 = require("@datadog/browser-core");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.resetFirstHidden = exports.trackFirstHidden = void 0;
var browser_core_1 = require("@datadog/browser-core");

@@ -4,0 +5,0 @@ var trackFirstHiddenSingleton;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.trackFirstInputTimings = exports.trackLargestContentfulPaint = exports.trackFirstContentfulPaint = exports.trackNavigationTimings = exports.trackTimings = void 0;
var tslib_1 = require("tslib");

@@ -4,0 +5,0 @@ var browser_core_1 = require("@datadog/browser-core");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.trackViews = exports.SESSION_KEEP_ALIVE_INTERVAL = exports.THROTTLE_VIEW_UPDATE_PERIOD = void 0;
var tslib_1 = require("tslib");

@@ -4,0 +5,0 @@ var browser_core_1 = require("@datadog/browser-core");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.startViewCollection = void 0;
var browser_core_1 = require("@datadog/browser-core");

@@ -4,0 +5,0 @@ var rawRumEvent_types_1 = require("../../../rawRumEvent.types");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.startRumSession = exports.RumTrackingType = exports.RUM_SESSION_KEY = void 0;
var browser_core_1 = require("@datadog/browser-core");

@@ -4,0 +5,0 @@ var lifeCycle_1 = require("./lifeCycle");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.findTraceComment = exports.createDocumentTraceData = exports.getDocumentTraceDataFromComment = exports.getDocumentTraceDataFromMeta = exports.getDocumentTraceId = exports.INITIAL_DOCUMENT_OUTDATED_TRACE_ID_THRESHOLD = void 0;
var browser_core_1 = require("@datadog/browser-core");

@@ -4,0 +5,0 @@ exports.INITIAL_DOCUMENT_OUTDATED_TRACE_ID_THRESHOLD = 2 * browser_core_1.ONE_MINUTE;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TraceIdentifier = exports.isTracingSupported = exports.startTracer = exports.clearTracingIfCancelled = void 0;
var tslib_1 = require("tslib");

@@ -4,0 +5,0 @@ var browser_core_1 = require("@datadog/browser-core");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.trackEventCounts = void 0;
var browser_core_1 = require("@datadog/browser-core");

@@ -4,0 +5,0 @@ var rawRumEvent_types_1 = require("../rawRumEvent.types");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.waitPageActivitiesCompletion = exports.trackPageActivities = exports.waitIdlePageActivity = exports.PAGE_ACTIVITY_MAX_DURATION = exports.PAGE_ACTIVITY_END_DELAY = exports.PAGE_ACTIVITY_VALIDATION_DELAY = void 0;
var browser_core_1 = require("@datadog/browser-core");

@@ -4,0 +5,0 @@ var lifeCycle_1 = require("./lifeCycle");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.LifeCycleEventType = exports.LifeCycle = exports.startRum = exports.makeRumPublicApi = void 0;
var rumPublicApi_1 = require("./boot/rumPublicApi");
exports.makeRumPublicApi = rumPublicApi_1.makeRumPublicApi;
Object.defineProperty(exports, "makeRumPublicApi", { enumerable: true, get: function () { return rumPublicApi_1.makeRumPublicApi; } });
var rum_1 = require("./boot/rum");
exports.startRum = rum_1.startRum;
Object.defineProperty(exports, "startRum", { enumerable: true, get: function () { return rum_1.startRum; } });
var lifeCycle_1 = require("./domain/lifeCycle");
exports.LifeCycle = lifeCycle_1.LifeCycle;
exports.LifeCycleEventType = lifeCycle_1.LifeCycleEventType;
Object.defineProperty(exports, "LifeCycle", { enumerable: true, get: function () { return lifeCycle_1.LifeCycle; } });
Object.defineProperty(exports, "LifeCycleEventType", { enumerable: true, get: function () { return lifeCycle_1.LifeCycleEventType; } });
//# sourceMappingURL=index.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ActionType = exports.ViewLoadingType = exports.RumEventType = void 0;
var RumEventType;

@@ -4,0 +5,0 @@ (function (RumEventType) {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.startRumBatch = void 0;
var browser_core_1 = require("@datadog/browser-core");

@@ -4,0 +5,0 @@ var lifeCycle_1 = require("../domain/lifeCycle");

export var buildEnv = {
buildMode: 'release',
datacenter: 'us',
sdkVersion: '2.5.3',
sdkVersion: '2.5.4',
};
//# sourceMappingURL=buildEnv.js.map

@@ -55,4 +55,4 @@ import { Configuration } from '@datadog/browser-core';

export declare type RumPerformanceEntry = RumPerformanceResourceTiming | RumPerformanceLongTaskTiming | RumPerformancePaintTiming | RumPerformanceNavigationTiming | RumLargestContentfulPaintTiming | RumFirstInputTiming | RumLayoutShiftTiming;
export declare function supportPerformanceTimingEvent(entryType: string): boolean | undefined;
export declare function supportPerformanceTimingEvent(entryType: string): boolean;
export declare function startPerformanceCollection(lifeCycle: LifeCycle, configuration: Configuration): void;
export declare function retrieveInitialDocumentResourceTiming(callback: (timing: RumPerformanceResourceTiming) => void): void;

@@ -5,2 +5,3 @@ /* eslint-disable */

*/
export {};
//# sourceMappingURL=rumEvent.types.js.map
{
"name": "@datadog/browser-rum-core",
"version": "2.5.3",
"version": "2.5.4",
"license": "Apache-2.0",

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

"dependencies": {
"@datadog/browser-core": "2.5.3",
"@datadog/browser-core": "2.5.4",
"tslib": "^1.10.0"

@@ -27,3 +27,3 @@ },

},
"gitHead": "b735e1963efd863df83ab1a7dc218006457abda3"
"gitHead": "55c80ce2190bd663ead758834e1f85ac157cd691"
}

@@ -15,6 +15,2 @@ import {

interface BrowserWindow extends Window {
PerformanceObserver?: PerformanceObserver
}
export interface RumPerformanceResourceTiming {

@@ -93,3 +89,3 @@ entryType: 'resource'

return (
(window as BrowserWindow).PerformanceObserver &&
window.PerformanceObserver &&
PerformanceObserver.supportedEntryTypes !== undefined &&

@@ -108,3 +104,3 @@ PerformanceObserver.supportedEntryTypes.includes(entryType)

}
if ((window as BrowserWindow).PerformanceObserver) {
if (window.PerformanceObserver) {
const observer = new PerformanceObserver(

@@ -111,0 +107,0 @@ monitor((entries: PerformanceObserverEntryList) =>

@@ -266,3 +266,3 @@ import { getActionNameFromElement } from './getActionNameFromElement'

// Set the attribute on the <HTML> element
target.ownerDocument!.documentElement.setAttribute('data-dd-action-name', 'foo')
target.ownerDocument.documentElement.setAttribute('data-dd-action-name', 'foo')
expect(getActionNameFromElement(target)).toBe('foo')

@@ -269,0 +269,0 @@ })

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

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