@microsoft/applicationinsights-properties-js 3.3.4-nightly3.2409-15 → 3.3.4-nightly3.2409-18
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/{ai.props.3.3.4-nightly3.2409-15.cjs.js → ai.props.3.3.4-nightly3.2409-18.cjs.js} +36 -17
- package/browser/es5/ai.props.3.3.4-nightly3.2409-18.cjs.js.map +1 -0
- package/browser/es5/ai.props.3.3.4-nightly3.2409-18.cjs.min.js +6 -0
- package/browser/es5/ai.props.3.3.4-nightly3.2409-18.cjs.min.js.map +1 -0
- package/browser/es5/{ai.props.3.3.4-nightly3.2409-15.gbl.js → ai.props.3.3.4-nightly3.2409-18.gbl.js} +38 -19
- package/browser/es5/ai.props.3.3.4-nightly3.2409-18.gbl.js.map +1 -0
- package/browser/es5/ai.props.3.3.4-nightly3.2409-18.gbl.min.js +6 -0
- package/browser/es5/ai.props.3.3.4-nightly3.2409-18.gbl.min.js.map +1 -0
- package/browser/es5/ai.props.3.3.4-nightly3.2409-18.integrity.json +66 -0
- package/browser/es5/{ai.props.3.3.4-nightly3.2409-15.js → ai.props.3.3.4-nightly3.2409-18.js} +38 -19
- package/browser/es5/ai.props.3.3.4-nightly3.2409-18.js.map +1 -0
- package/browser/es5/ai.props.3.3.4-nightly3.2409-18.min.js +6 -0
- package/browser/es5/ai.props.3.3.4-nightly3.2409-18.min.js.map +1 -0
- package/browser/es5/ai.props.3.cjs.js +35 -16
- package/browser/es5/ai.props.3.cjs.js.map +1 -1
- package/browser/es5/ai.props.3.cjs.min.js +2 -2
- package/browser/es5/ai.props.3.cjs.min.js.map +1 -1
- package/browser/es5/ai.props.3.gbl.js +37 -18
- package/browser/es5/ai.props.3.gbl.js.map +1 -1
- package/browser/es5/ai.props.3.gbl.min.js +2 -2
- package/browser/es5/ai.props.3.gbl.min.js.map +1 -1
- package/browser/es5/ai.props.3.integrity.json +25 -25
- package/browser/es5/ai.props.3.js +37 -18
- package/browser/es5/ai.props.3.js.map +1 -1
- package/browser/es5/ai.props.3.min.js +2 -2
- package/browser/es5/ai.props.3.min.js.map +1 -1
- package/dist/es5/applicationinsights-properties-js.js +35 -16
- package/dist/es5/applicationinsights-properties-js.js.map +1 -1
- package/dist/es5/applicationinsights-properties-js.min.js +2 -2
- package/dist/es5/applicationinsights-properties-js.min.js.map +1 -1
- package/dist-es5/Context/Application.js +1 -1
- package/dist-es5/Context/Device.js +1 -1
- package/dist-es5/Context/Internal.js +2 -2
- package/dist-es5/Context/Internal.js.map +1 -1
- package/dist-es5/Context/Location.js +1 -1
- package/dist-es5/Context/Session.js +1 -1
- package/dist-es5/Context/TelemetryTrace.js +1 -1
- package/dist-es5/Context/User.js +1 -1
- package/dist-es5/Interfaces/IPropTelemetryContext.js +1 -1
- package/dist-es5/Interfaces/IPropertiesConfig.js +1 -1
- package/dist-es5/PropertiesPlugin.js +1 -1
- package/dist-es5/TelemetryContext.js +1 -1
- package/dist-es5/__DynamicConstants.js +1 -1
- package/dist-es5/applicationinsights-properties-js.js +1 -1
- package/package.json +3 -3
- package/types/applicationinsights-properties-js.d.ts +1 -1
- package/types/applicationinsights-properties-js.namespaced.d.ts +1 -1
- package/browser/es5/ai.props.3.3.4-nightly3.2409-15.cjs.js.map +0 -1
- package/browser/es5/ai.props.3.3.4-nightly3.2409-15.cjs.min.js +0 -6
- package/browser/es5/ai.props.3.3.4-nightly3.2409-15.cjs.min.js.map +0 -1
- package/browser/es5/ai.props.3.3.4-nightly3.2409-15.gbl.js.map +0 -1
- package/browser/es5/ai.props.3.3.4-nightly3.2409-15.gbl.min.js +0 -6
- package/browser/es5/ai.props.3.3.4-nightly3.2409-15.gbl.min.js.map +0 -1
- package/browser/es5/ai.props.3.3.4-nightly3.2409-15.integrity.json +0 -66
- package/browser/es5/ai.props.3.3.4-nightly3.2409-15.js.map +0 -1
- package/browser/es5/ai.props.3.3.4-nightly3.2409-15.min.js +0 -6
- package/browser/es5/ai.props.3.3.4-nightly3.2409-15.min.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript SDK - Properties Plugin, 3.3.4-nightly3.2409-
|
|
2
|
+
* Application Insights JavaScript SDK - Properties Plugin, 3.3.4-nightly3.2409-18
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
'use strict';
|
|
@@ -11,7 +11,7 @@ var strShimUndefined = "undefined";
|
|
|
11
11
|
var strShimPrototype = "prototype";
|
|
12
12
|
var ObjClass$1 = Object;
|
|
13
13
|
|
|
14
|
-
/*! https://github.com/nevware21/ts-utils v0.11.
|
|
14
|
+
/*! https://github.com/nevware21/ts-utils v0.11.4 */
|
|
15
15
|
/*#__NO_SIDE_EFFECTS__*/
|
|
16
16
|
function _pureAssign(func1, func2) {
|
|
17
17
|
return func1 || func2;
|
|
@@ -80,6 +80,10 @@ function isUndefined(value) {
|
|
|
80
80
|
return typeof value === UNDEFINED || value === UNDEFINED;
|
|
81
81
|
}
|
|
82
82
|
/*#__NO_SIDE_EFFECTS__*/
|
|
83
|
+
function isStrictUndefined(arg) {
|
|
84
|
+
return !isDefined(arg);
|
|
85
|
+
}
|
|
86
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
83
87
|
function isNullOrUndefined(value) {
|
|
84
88
|
return value === NULL_VALUE || isUndefined(value);
|
|
85
89
|
}
|
|
@@ -150,7 +154,7 @@ function _createProp(value) {
|
|
|
150
154
|
}
|
|
151
155
|
}
|
|
152
156
|
objForEachKey(value, function (key, value) {
|
|
153
|
-
prop[propMap[key]] =
|
|
157
|
+
prop[propMap[key]] = isStrictUndefined(value) ? prop[propMap[key]] : value;
|
|
154
158
|
});
|
|
155
159
|
return prop;
|
|
156
160
|
}
|
|
@@ -185,7 +189,7 @@ function dumpObj(object, format) {
|
|
|
185
189
|
}
|
|
186
190
|
try {
|
|
187
191
|
propertyValueDump = JSON.stringify(object, NULL_VALUE, format ? ((typeof format === "number") ? format : 4) : UNDEF_VALUE);
|
|
188
|
-
propertyValueDump = (propertyValueDump
|
|
192
|
+
propertyValueDump = (propertyValueDump ? propertyValueDump.replace(/"(\w+)"\s*:\s{0,1}/g, "$1: ") : NULL_VALUE) || asString(object);
|
|
189
193
|
}
|
|
190
194
|
catch (e) {
|
|
191
195
|
propertyValueDump = " - " + dumpObj(e, format);
|
|
@@ -269,9 +273,9 @@ function _getGlobalConfig() {
|
|
|
269
273
|
var _unwrapFunction = ( _unwrapFunctionWithPoly);
|
|
270
274
|
/*#__NO_SIDE_EFFECTS__*/
|
|
271
275
|
function _unwrapFunctionWithPoly(funcName, clsProto, polyFunc) {
|
|
272
|
-
var clsFn = clsProto
|
|
276
|
+
var clsFn = clsProto ? clsProto[funcName] : NULL_VALUE;
|
|
273
277
|
return function (thisArg) {
|
|
274
|
-
var theFunc = (thisArg
|
|
278
|
+
var theFunc = (thisArg ? thisArg[funcName] : NULL_VALUE) || clsFn;
|
|
275
279
|
if (theFunc || polyFunc) {
|
|
276
280
|
var theArgs = arguments;
|
|
277
281
|
return (theFunc || polyFunc).apply(thisArg, theFunc ? ArrSlice[CALL](theArgs, 1) : theArgs);
|
|
@@ -382,24 +386,37 @@ function _getGlobalInstFn(getFn, theArgs) {
|
|
|
382
386
|
var cachedValue;
|
|
383
387
|
return function () {
|
|
384
388
|
!_globalLazyTestHooks && _initTestHooks();
|
|
385
|
-
(!cachedValue || _globalLazyTestHooks.lzy)
|
|
389
|
+
if (!cachedValue || _globalLazyTestHooks.lzy) {
|
|
390
|
+
cachedValue = createCachedValue(safe(getFn, theArgs).v);
|
|
391
|
+
}
|
|
386
392
|
return cachedValue.v;
|
|
387
393
|
};
|
|
388
394
|
}
|
|
389
|
-
/*#__NO_SIDE_EFFECTS__*/
|
|
390
395
|
function getGlobal(useCached) {
|
|
391
396
|
!_globalLazyTestHooks && _initTestHooks();
|
|
392
|
-
(!_cachedGlobal || useCached === false || _globalLazyTestHooks.lzy)
|
|
397
|
+
if (!_cachedGlobal || useCached === false || _globalLazyTestHooks.lzy) {
|
|
398
|
+
_cachedGlobal = createCachedValue(safe(_getGlobalValue).v || NULL_VALUE);
|
|
399
|
+
}
|
|
393
400
|
return _cachedGlobal.v;
|
|
394
401
|
}
|
|
395
402
|
/*#__NO_SIDE_EFFECTS__*/
|
|
396
403
|
function getInst(name, useCached) {
|
|
397
|
-
var gbl
|
|
404
|
+
var gbl;
|
|
405
|
+
if (!_cachedGlobal || useCached === false) {
|
|
406
|
+
gbl = getGlobal(useCached);
|
|
407
|
+
}
|
|
408
|
+
else {
|
|
409
|
+
gbl = _cachedGlobal.v;
|
|
410
|
+
}
|
|
398
411
|
if (gbl && gbl[name]) {
|
|
399
412
|
return gbl[name];
|
|
400
413
|
}
|
|
401
414
|
if (name === WINDOW) {
|
|
402
|
-
|
|
415
|
+
try {
|
|
416
|
+
return window;
|
|
417
|
+
}
|
|
418
|
+
catch (e) {
|
|
419
|
+
}
|
|
403
420
|
}
|
|
404
421
|
return NULL_VALUE;
|
|
405
422
|
}
|
|
@@ -453,7 +470,7 @@ function iterForOf(iter, callbackfn, thisArg) {
|
|
|
453
470
|
if (iter) {
|
|
454
471
|
if (!isIterator(iter)) {
|
|
455
472
|
!_iterSymbol$1 && (_iterSymbol$1 = createCachedValue(getKnownSymbol(3 )));
|
|
456
|
-
iter = iter[_iterSymbol$1.v] ? iter[_iterSymbol$1.v]() :
|
|
473
|
+
iter = iter[_iterSymbol$1.v] ? iter[_iterSymbol$1.v]() : NULL_VALUE;
|
|
457
474
|
}
|
|
458
475
|
if (isIterator(iter)) {
|
|
459
476
|
var err = UNDEF_VALUE;
|
|
@@ -631,7 +648,7 @@ function isPlainObject(value) {
|
|
|
631
648
|
if (objHasOwnProperty(proto, CONSTRUCTOR)) {
|
|
632
649
|
proto = proto[CONSTRUCTOR];
|
|
633
650
|
}
|
|
634
|
-
result = proto && typeof proto === FUNCTION && _fnToString[CALL](proto) === _objCtrFnString;
|
|
651
|
+
result = !!(proto && typeof proto === FUNCTION && _fnToString[CALL](proto) === _objCtrFnString);
|
|
635
652
|
}
|
|
636
653
|
}
|
|
637
654
|
catch (ex) {
|
|
@@ -646,7 +663,7 @@ function polyStrEndsWith(value, searchString, length) {
|
|
|
646
663
|
throwTypeError("'" + dumpObj(value) + "' is not a string");
|
|
647
664
|
}
|
|
648
665
|
var searchValue = isString(searchString) ? searchString : asString(searchString);
|
|
649
|
-
var end = !isUndefined(length) && length < value[LENGTH] ? length : value[LENGTH];
|
|
666
|
+
var end = (!isUndefined(length) && length < value[LENGTH]) ? length : value[LENGTH];
|
|
650
667
|
return strSubstring(value, end - searchValue[LENGTH], end) === searchValue;
|
|
651
668
|
}
|
|
652
669
|
var strIndexOf = ( /*#__PURE__*/_unwrapFunction("indexOf", StrProto));
|
|
@@ -734,6 +751,8 @@ function scheduleTimeout(callback, timeout) {
|
|
|
734
751
|
return _createTimeoutWith(true, UNDEF_VALUE, ArrSlice[CALL](arguments));
|
|
735
752
|
}
|
|
736
753
|
|
|
754
|
+
(getGlobal() || {})["Symbol"];
|
|
755
|
+
(getGlobal() || {})["Reflect"];
|
|
737
756
|
var strHasOwnProperty = "hasOwnProperty";
|
|
738
757
|
var extendStaticsFn = function (d, b) {
|
|
739
758
|
extendStaticsFn = ObjClass$1["setPrototypeOf"] ||
|
|
@@ -1309,7 +1328,7 @@ function newId(maxLength) {
|
|
|
1309
1328
|
return result;
|
|
1310
1329
|
}
|
|
1311
1330
|
|
|
1312
|
-
var version = '3.3.4-nightly3.2409-
|
|
1331
|
+
var version = '3.3.4-nightly3.2409-18';
|
|
1313
1332
|
var instanceName = "." + newId(6);
|
|
1314
1333
|
var _dataUid = 0;
|
|
1315
1334
|
function _canAcceptData(target) {
|
|
@@ -3561,7 +3580,7 @@ var Device = /** @class */ (function () {
|
|
|
3561
3580
|
return Device;
|
|
3562
3581
|
}());
|
|
3563
3582
|
|
|
3564
|
-
var Version = '3.3.4-nightly3.2409-
|
|
3583
|
+
var Version = '3.3.4-nightly3.2409-18';
|
|
3565
3584
|
var Internal = /** @class */ (function () {
|
|
3566
3585
|
function Internal(config, unloadHookContainer) {
|
|
3567
3586
|
var _this = this;
|