@microsoft/applicationinsights-common 3.3.4-nightly3.2409-15 → 3.3.4-nightly3.2409-17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/es5/applicationinsights-common.cjs.js +36 -15
- package/browser/es5/applicationinsights-common.cjs.js.map +1 -1
- package/browser/es5/applicationinsights-common.cjs.min.js +2 -2
- package/browser/es5/applicationinsights-common.cjs.min.js.map +1 -1
- package/browser/es5/applicationinsights-common.gbl.js +38 -17
- package/browser/es5/applicationinsights-common.gbl.js.map +1 -1
- package/browser/es5/applicationinsights-common.gbl.min.js +2 -2
- package/browser/es5/applicationinsights-common.gbl.min.js.map +1 -1
- package/browser/es5/applicationinsights-common.integrity.json +25 -25
- package/browser/es5/applicationinsights-common.js +38 -17
- package/browser/es5/applicationinsights-common.js.map +1 -1
- package/browser/es5/applicationinsights-common.min.js +2 -2
- package/browser/es5/applicationinsights-common.min.js.map +1 -1
- package/dist/es5/applicationinsights-common.js +36 -15
- package/dist/es5/applicationinsights-common.js.map +1 -1
- package/dist/es5/applicationinsights-common.min.js +2 -2
- package/dist/es5/applicationinsights-common.min.js.map +1 -1
- package/dist-es5/ConnectionStringParser.js +1 -1
- package/dist-es5/Constants.js +1 -1
- package/dist-es5/DomHelperFuncs.js +1 -1
- package/dist-es5/Enums.js +1 -1
- package/dist-es5/HelperFuncs.js +1 -1
- package/dist-es5/Interfaces/ConnectionString.js +1 -1
- package/dist-es5/Interfaces/Context/IApplication.js +1 -1
- package/dist-es5/Interfaces/Context/IDevice.js +1 -1
- package/dist-es5/Interfaces/Context/IInternal.js +1 -1
- package/dist-es5/Interfaces/Context/ILocation.js +1 -1
- package/dist-es5/Interfaces/Context/IOperatingSystem.js +1 -1
- package/dist-es5/Interfaces/Context/ISample.js +1 -1
- package/dist-es5/Interfaces/Context/ISession.js +1 -1
- package/dist-es5/Interfaces/Context/ISessionManager.js +1 -1
- package/dist-es5/Interfaces/Context/ITelemetryTrace.js +1 -1
- package/dist-es5/Interfaces/Context/IUser.js +1 -1
- package/dist-es5/Interfaces/Context/IWeb.js +1 -1
- package/dist-es5/Interfaces/Contracts/AvailabilityData.js +1 -1
- package/dist-es5/Interfaces/Contracts/ContextTagKeys.js +1 -1
- package/dist-es5/Interfaces/Contracts/DataPointType.js +1 -1
- package/dist-es5/Interfaces/Contracts/DependencyKind.js +1 -1
- package/dist-es5/Interfaces/Contracts/DependencySourceType.js +1 -1
- package/dist-es5/Interfaces/Contracts/IBase.js +1 -1
- package/dist-es5/Interfaces/Contracts/IData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IDataPoint.js +1 -1
- package/dist-es5/Interfaces/Contracts/IDomain.js +1 -1
- package/dist-es5/Interfaces/Contracts/IEnvelope.js +1 -1
- package/dist-es5/Interfaces/Contracts/IEventData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IExceptionData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IExceptionDetails.js +1 -1
- package/dist-es5/Interfaces/Contracts/IMessageData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IMetricData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IPageViewData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IPageViewPerfData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IRemoteDependencyData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IStackFrame.js +1 -1
- package/dist-es5/Interfaces/Contracts/RequestData.js +1 -1
- package/dist-es5/Interfaces/Contracts/SeverityLevel.js +1 -1
- package/dist-es5/Interfaces/IAppInsights.js +1 -1
- package/dist-es5/Interfaces/IConfig.js +1 -1
- package/dist-es5/Interfaces/ICorrelationConfig.js +1 -1
- package/dist-es5/Interfaces/IDependencyTelemetry.js +1 -1
- package/dist-es5/Interfaces/IEventTelemetry.js +1 -1
- package/dist-es5/Interfaces/IExceptionTelemetry.js +1 -1
- package/dist-es5/Interfaces/IMetricTelemetry.js +1 -1
- package/dist-es5/Interfaces/IPageViewPerformanceTelemetry.js +1 -1
- package/dist-es5/Interfaces/IPageViewTelemetry.js +1 -1
- package/dist-es5/Interfaces/IPartC.js +1 -1
- package/dist-es5/Interfaces/IPropertiesPlugin.js +1 -1
- package/dist-es5/Interfaces/IRequestContext.js +1 -1
- package/dist-es5/Interfaces/IStorageBuffer.js +1 -1
- package/dist-es5/Interfaces/ITelemetryContext.js +1 -1
- package/dist-es5/Interfaces/IThrottleMgr.js +1 -1
- package/dist-es5/Interfaces/ITraceTelemetry.js +1 -1
- package/dist-es5/Interfaces/PartAExtensions.js +1 -1
- package/dist-es5/Interfaces/Telemetry/IEnvelope.js +1 -1
- package/dist-es5/Interfaces/Telemetry/ISerializable.js +1 -1
- package/dist-es5/Offline.js +1 -1
- package/dist-es5/RequestResponseHeaders.js +1 -1
- package/dist-es5/StorageHelperFuncs.js +1 -1
- package/dist-es5/Telemetry/Common/Data.js +1 -1
- package/dist-es5/Telemetry/Common/DataPoint.js +1 -1
- package/dist-es5/Telemetry/Common/DataSanitizer.js +1 -1
- package/dist-es5/Telemetry/Common/Envelope.js +1 -1
- package/dist-es5/Telemetry/Event.js +1 -1
- package/dist-es5/Telemetry/Exception.js +1 -1
- package/dist-es5/Telemetry/Metric.js +1 -1
- package/dist-es5/Telemetry/PageView.js +1 -1
- package/dist-es5/Telemetry/PageViewPerformance.js +1 -1
- package/dist-es5/Telemetry/RemoteDependencyData.js +1 -1
- package/dist-es5/Telemetry/Trace.js +1 -1
- package/dist-es5/TelemetryItemCreator.js +1 -1
- package/dist-es5/ThrottleMgr.js +1 -1
- package/dist-es5/UrlHelperFuncs.js +1 -1
- package/dist-es5/Util.js +1 -1
- package/dist-es5/__DynamicConstants.js +1 -1
- package/dist-es5/applicationinsights-common.js +1 -1
- package/package.json +2 -2
- package/types/applicationinsights-common.d.ts +1 -1
- package/types/applicationinsights-common.namespaced.d.ts +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript SDK - Common, 3.3.4-nightly3.2409-
|
|
2
|
+
* Application Insights JavaScript SDK - Common, 3.3.4-nightly3.2409-17
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
6
6
|
var undef = "undefined";
|
|
7
|
-
var nsKey, key, nm, theExports = {}, modName = "
|
|
8
|
-
var mods={}, modDetail=mods[modName]={}, ver="3.3.4-nightly3.2409-
|
|
7
|
+
var nsKey, key, nm, theExports = {}, modName = "es5_applicationinsights_common_3_3_4_nightly3_2409_17", msMod="__ms$mod__";
|
|
8
|
+
var mods={}, modDetail=mods[modName]={}, ver="3.3.4-nightly3.2409-17";
|
|
9
9
|
var baseNs=global, nsKey="Microsoft", baseNs=baseNs[nsKey]=(baseNs[nsKey]||{});
|
|
10
10
|
// Versioned namespace "Microsoft.ApplicationInsights3"
|
|
11
11
|
var exportNs=baseNs, nsKey="ApplicationInsights3", exportNs=exportNs[nsKey]=(exportNs[nsKey]||{});
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
'use strict';
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
/*! https://github.com/nevware21/ts-utils v0.11.
|
|
29
|
+
/*! https://github.com/nevware21/ts-utils v0.11.4 */
|
|
30
30
|
/*#__NO_SIDE_EFFECTS__*/
|
|
31
31
|
function _pureAssign(func1, func2) {
|
|
32
32
|
return func1 || func2;
|
|
@@ -90,6 +90,10 @@ function isUndefined(value) {
|
|
|
90
90
|
return typeof value === UNDEFINED || value === UNDEFINED;
|
|
91
91
|
}
|
|
92
92
|
/*#__NO_SIDE_EFFECTS__*/
|
|
93
|
+
function isStrictUndefined(arg) {
|
|
94
|
+
return !isDefined(arg);
|
|
95
|
+
}
|
|
96
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
93
97
|
function isNullOrUndefined(value) {
|
|
94
98
|
return value === NULL_VALUE || isUndefined(value);
|
|
95
99
|
}
|
|
@@ -152,7 +156,7 @@ function _createProp(value) {
|
|
|
152
156
|
}
|
|
153
157
|
}
|
|
154
158
|
objForEachKey(value, function (key, value) {
|
|
155
|
-
prop[propMap[key]] =
|
|
159
|
+
prop[propMap[key]] = isStrictUndefined(value) ? prop[propMap[key]] : value;
|
|
156
160
|
});
|
|
157
161
|
return prop;
|
|
158
162
|
}
|
|
@@ -187,7 +191,7 @@ function dumpObj(object, format) {
|
|
|
187
191
|
}
|
|
188
192
|
try {
|
|
189
193
|
propertyValueDump = JSON.stringify(object, NULL_VALUE, format ? ((typeof format === "number") ? format : 4) : UNDEF_VALUE);
|
|
190
|
-
propertyValueDump = (propertyValueDump
|
|
194
|
+
propertyValueDump = (propertyValueDump ? propertyValueDump.replace(/"(\w+)"\s*:\s{0,1}/g, "$1: ") : NULL_VALUE) || asString(object);
|
|
191
195
|
}
|
|
192
196
|
catch (e) {
|
|
193
197
|
propertyValueDump = " - " + dumpObj(e, format);
|
|
@@ -259,9 +263,9 @@ function _getGlobalConfig() {
|
|
|
259
263
|
var _unwrapFunction = ( _unwrapFunctionWithPoly);
|
|
260
264
|
/*#__NO_SIDE_EFFECTS__*/
|
|
261
265
|
function _unwrapFunctionWithPoly(funcName, clsProto, polyFunc) {
|
|
262
|
-
var clsFn = clsProto
|
|
266
|
+
var clsFn = clsProto ? clsProto[funcName] : NULL_VALUE;
|
|
263
267
|
return function (thisArg) {
|
|
264
|
-
var theFunc = (thisArg
|
|
268
|
+
var theFunc = (thisArg ? thisArg[funcName] : NULL_VALUE) || clsFn;
|
|
265
269
|
if (theFunc || polyFunc) {
|
|
266
270
|
var theArgs = arguments;
|
|
267
271
|
return (theFunc || polyFunc).apply(thisArg, theFunc ? ArrSlice[CALL](theArgs, 1) : theArgs);
|
|
@@ -341,24 +345,37 @@ function _getGlobalInstFn(getFn, theArgs) {
|
|
|
341
345
|
var cachedValue;
|
|
342
346
|
return function () {
|
|
343
347
|
!_globalLazyTestHooks && _initTestHooks();
|
|
344
|
-
(!cachedValue || _globalLazyTestHooks.lzy)
|
|
348
|
+
if (!cachedValue || _globalLazyTestHooks.lzy) {
|
|
349
|
+
cachedValue = createCachedValue(safe(getFn, theArgs).v);
|
|
350
|
+
}
|
|
345
351
|
return cachedValue.v;
|
|
346
352
|
};
|
|
347
353
|
}
|
|
348
|
-
/*#__NO_SIDE_EFFECTS__*/
|
|
349
354
|
function getGlobal(useCached) {
|
|
350
355
|
!_globalLazyTestHooks && _initTestHooks();
|
|
351
|
-
(!_cachedGlobal || useCached === false || _globalLazyTestHooks.lzy)
|
|
356
|
+
if (!_cachedGlobal || useCached === false || _globalLazyTestHooks.lzy) {
|
|
357
|
+
_cachedGlobal = createCachedValue(safe(_getGlobalValue).v || NULL_VALUE);
|
|
358
|
+
}
|
|
352
359
|
return _cachedGlobal.v;
|
|
353
360
|
}
|
|
354
361
|
/*#__NO_SIDE_EFFECTS__*/
|
|
355
362
|
function getInst(name, useCached) {
|
|
356
|
-
var gbl
|
|
363
|
+
var gbl;
|
|
364
|
+
if (!_cachedGlobal || useCached === false) {
|
|
365
|
+
gbl = getGlobal(useCached);
|
|
366
|
+
}
|
|
367
|
+
else {
|
|
368
|
+
gbl = _cachedGlobal.v;
|
|
369
|
+
}
|
|
357
370
|
if (gbl && gbl[name]) {
|
|
358
371
|
return gbl[name];
|
|
359
372
|
}
|
|
360
373
|
if (name === WINDOW) {
|
|
361
|
-
|
|
374
|
+
try {
|
|
375
|
+
return window;
|
|
376
|
+
}
|
|
377
|
+
catch (e) {
|
|
378
|
+
}
|
|
362
379
|
}
|
|
363
380
|
return NULL_VALUE;
|
|
364
381
|
}
|
|
@@ -524,7 +541,7 @@ function isPlainObject(value) {
|
|
|
524
541
|
if (objHasOwnProperty(proto, CONSTRUCTOR)) {
|
|
525
542
|
proto = proto[CONSTRUCTOR];
|
|
526
543
|
}
|
|
527
|
-
result = proto && typeof proto === FUNCTION && _fnToString[CALL](proto) === _objCtrFnString;
|
|
544
|
+
result = !!(proto && typeof proto === FUNCTION && _fnToString[CALL](proto) === _objCtrFnString);
|
|
528
545
|
}
|
|
529
546
|
}
|
|
530
547
|
catch (ex) {
|
|
@@ -536,7 +553,9 @@ var _perf;
|
|
|
536
553
|
/*#__NO_SIDE_EFFECTS__*/
|
|
537
554
|
function getPerformance() {
|
|
538
555
|
!_globalLazyTestHooks && _initTestHooks();
|
|
539
|
-
(!_perf || _globalLazyTestHooks.lzy)
|
|
556
|
+
if (!_perf || _globalLazyTestHooks.lzy) {
|
|
557
|
+
_perf = createCachedValue(safe((getInst), ["performance"]).v);
|
|
558
|
+
}
|
|
540
559
|
return _perf.v;
|
|
541
560
|
}
|
|
542
561
|
var strEndsWith = ( /*#__PURE__*/_unwrapFunctionWithPoly("endsWith", StrProto, polyStrEndsWith));
|
|
@@ -546,7 +565,7 @@ function polyStrEndsWith(value, searchString, length) {
|
|
|
546
565
|
throwTypeError("'" + dumpObj(value) + "' is not a string");
|
|
547
566
|
}
|
|
548
567
|
var searchValue = isString(searchString) ? searchString : asString(searchString);
|
|
549
|
-
var end = !isUndefined(length) && length < value[LENGTH] ? length : value[LENGTH];
|
|
568
|
+
var end = (!isUndefined(length) && length < value[LENGTH]) ? length : value[LENGTH];
|
|
550
569
|
return strSubstring(value, end - searchValue[LENGTH], end) === searchValue;
|
|
551
570
|
}
|
|
552
571
|
var strIndexOf = ( /*#__PURE__*/_unwrapFunction("indexOf", StrProto));
|
|
@@ -694,6 +713,8 @@ var strShimPrototype = "prototype";
|
|
|
694
713
|
var ObjClass = Object;
|
|
695
714
|
var ObjProto = ObjClass[strShimPrototype];
|
|
696
715
|
|
|
716
|
+
(getGlobal() || {})["Symbol"];
|
|
717
|
+
(getGlobal() || {})["Reflect"];
|
|
697
718
|
var strHasOwnProperty = "hasOwnProperty";
|
|
698
719
|
var __objAssignFnImpl = function (t) {
|
|
699
720
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -1185,7 +1206,7 @@ function newId(maxLength) {
|
|
|
1185
1206
|
return result;
|
|
1186
1207
|
}
|
|
1187
1208
|
|
|
1188
|
-
var version = '3.3.4-nightly3.2409-
|
|
1209
|
+
var version = '3.3.4-nightly3.2409-17';
|
|
1189
1210
|
var instanceName = "." + newId(6);
|
|
1190
1211
|
var _dataUid = 0;
|
|
1191
1212
|
function _canAcceptData(target) {
|