@microsoft/applicationinsights-teechannel-js 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-teechannel-js.3.3.4-nightly3.2409-15.cjs.js → applicationinsights-teechannel-js.3.3.4-nightly3.2409-17.cjs.js} +35 -16
- package/browser/es5/applicationinsights-teechannel-js.3.3.4-nightly3.2409-17.cjs.js.map +1 -0
- package/browser/es5/{applicationinsights-teechannel-js.3.3.4-nightly3.2409-15.cjs.min.js → applicationinsights-teechannel-js.3.3.4-nightly3.2409-17.cjs.min.js} +3 -3
- package/browser/es5/applicationinsights-teechannel-js.3.3.4-nightly3.2409-17.cjs.min.js.map +1 -0
- package/browser/es5/{applicationinsights-teechannel-js.3.3.4-nightly3.2409-15.gbl.js → applicationinsights-teechannel-js.3.3.4-nightly3.2409-17.gbl.js} +37 -18
- package/browser/es5/applicationinsights-teechannel-js.3.3.4-nightly3.2409-17.gbl.js.map +1 -0
- package/browser/es5/applicationinsights-teechannel-js.3.3.4-nightly3.2409-17.gbl.min.js +6 -0
- package/browser/es5/applicationinsights-teechannel-js.3.3.4-nightly3.2409-17.gbl.min.js.map +1 -0
- package/browser/es5/applicationinsights-teechannel-js.3.3.4-nightly3.2409-17.integrity.json +66 -0
- package/browser/es5/{applicationinsights-teechannel-js.3.3.4-nightly3.2409-15.js → applicationinsights-teechannel-js.3.3.4-nightly3.2409-17.js} +37 -18
- package/browser/es5/applicationinsights-teechannel-js.3.3.4-nightly3.2409-17.js.map +1 -0
- package/browser/es5/applicationinsights-teechannel-js.3.3.4-nightly3.2409-17.min.js +6 -0
- package/browser/es5/applicationinsights-teechannel-js.3.3.4-nightly3.2409-17.min.js.map +1 -0
- package/browser/es5/applicationinsights-teechannel-js.3.cjs.js +34 -15
- package/browser/es5/applicationinsights-teechannel-js.3.cjs.js.map +1 -1
- package/browser/es5/applicationinsights-teechannel-js.3.cjs.min.js +2 -2
- package/browser/es5/applicationinsights-teechannel-js.3.cjs.min.js.map +1 -1
- package/browser/es5/applicationinsights-teechannel-js.3.gbl.js +36 -17
- package/browser/es5/applicationinsights-teechannel-js.3.gbl.js.map +1 -1
- package/browser/es5/applicationinsights-teechannel-js.3.gbl.min.js +2 -2
- package/browser/es5/applicationinsights-teechannel-js.3.gbl.min.js.map +1 -1
- package/browser/es5/applicationinsights-teechannel-js.3.integrity.json +25 -25
- package/browser/es5/applicationinsights-teechannel-js.3.js +36 -17
- package/browser/es5/applicationinsights-teechannel-js.3.js.map +1 -1
- package/browser/es5/applicationinsights-teechannel-js.3.min.js +2 -2
- package/browser/es5/applicationinsights-teechannel-js.3.min.js.map +1 -1
- package/dist/es5/applicationinsights-teechannel-js.js +34 -15
- package/dist/es5/applicationinsights-teechannel-js.js.map +1 -1
- package/dist/es5/applicationinsights-teechannel-js.min.js +2 -2
- package/dist/es5/applicationinsights-teechannel-js.min.js.map +1 -1
- package/dist-es5/ChannelController.js +1 -1
- package/dist-es5/Interfaces/ITeeChannelConfig.js +1 -1
- package/dist-es5/TeeChannel.js +1 -1
- package/dist-es5/__DynamicConstants.js +1 -1
- package/dist-es5/applicationinsights-teechannel-js.js +1 -1
- package/package.json +3 -3
- package/types/applicationinsights-teechannel-js.d.ts +1 -1
- package/types/applicationinsights-teechannel-js.namespaced.d.ts +1 -1
- package/browser/es5/applicationinsights-teechannel-js.3.3.4-nightly3.2409-15.cjs.js.map +0 -1
- package/browser/es5/applicationinsights-teechannel-js.3.3.4-nightly3.2409-15.cjs.min.js.map +0 -1
- package/browser/es5/applicationinsights-teechannel-js.3.3.4-nightly3.2409-15.gbl.js.map +0 -1
- package/browser/es5/applicationinsights-teechannel-js.3.3.4-nightly3.2409-15.gbl.min.js +0 -6
- package/browser/es5/applicationinsights-teechannel-js.3.3.4-nightly3.2409-15.gbl.min.js.map +0 -1
- package/browser/es5/applicationinsights-teechannel-js.3.3.4-nightly3.2409-15.integrity.json +0 -66
- package/browser/es5/applicationinsights-teechannel-js.3.3.4-nightly3.2409-15.js.map +0 -1
- package/browser/es5/applicationinsights-teechannel-js.3.3.4-nightly3.2409-15.min.js +0 -6
- package/browser/es5/applicationinsights-teechannel-js.3.3.4-nightly3.2409-15.min.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript SDK - Tee Channel, 3.3.4-nightly3.2409-
|
|
2
|
+
* Application Insights JavaScript SDK - Tee Channel, 3.3.4-nightly3.2409-17
|
|
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;
|
|
@@ -63,6 +63,10 @@ function isUndefined(value) {
|
|
|
63
63
|
return typeof value === UNDEFINED || value === UNDEFINED;
|
|
64
64
|
}
|
|
65
65
|
/*#__NO_SIDE_EFFECTS__*/
|
|
66
|
+
function isStrictUndefined(arg) {
|
|
67
|
+
return !isDefined(arg);
|
|
68
|
+
}
|
|
69
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
66
70
|
function isNullOrUndefined(value) {
|
|
67
71
|
return value === NULL_VALUE || isUndefined(value);
|
|
68
72
|
}
|
|
@@ -134,7 +138,7 @@ function _createProp(value) {
|
|
|
134
138
|
}
|
|
135
139
|
}
|
|
136
140
|
objForEachKey(value, function (key, value) {
|
|
137
|
-
prop[propMap[key]] =
|
|
141
|
+
prop[propMap[key]] = isStrictUndefined(value) ? prop[propMap[key]] : value;
|
|
138
142
|
});
|
|
139
143
|
return prop;
|
|
140
144
|
}
|
|
@@ -169,7 +173,7 @@ function dumpObj(object, format) {
|
|
|
169
173
|
}
|
|
170
174
|
try {
|
|
171
175
|
propertyValueDump = JSON.stringify(object, NULL_VALUE, format ? ((typeof format === "number") ? format : 4) : UNDEF_VALUE);
|
|
172
|
-
propertyValueDump = (propertyValueDump
|
|
176
|
+
propertyValueDump = (propertyValueDump ? propertyValueDump.replace(/"(\w+)"\s*:\s{0,1}/g, "$1: ") : NULL_VALUE) || asString(object);
|
|
173
177
|
}
|
|
174
178
|
catch (e) {
|
|
175
179
|
propertyValueDump = " - " + dumpObj(e, format);
|
|
@@ -252,9 +256,9 @@ function _getGlobalConfig() {
|
|
|
252
256
|
var _unwrapFunction = ( _unwrapFunctionWithPoly);
|
|
253
257
|
/*#__NO_SIDE_EFFECTS__*/
|
|
254
258
|
function _unwrapFunctionWithPoly(funcName, clsProto, polyFunc) {
|
|
255
|
-
var clsFn = clsProto
|
|
259
|
+
var clsFn = clsProto ? clsProto[funcName] : NULL_VALUE;
|
|
256
260
|
return function (thisArg) {
|
|
257
|
-
var theFunc = (thisArg
|
|
261
|
+
var theFunc = (thisArg ? thisArg[funcName] : NULL_VALUE) || clsFn;
|
|
258
262
|
if (theFunc || polyFunc) {
|
|
259
263
|
var theArgs = arguments;
|
|
260
264
|
return (theFunc || polyFunc).apply(thisArg, theFunc ? ArrSlice[CALL](theArgs, 1) : theArgs);
|
|
@@ -320,24 +324,37 @@ function _getGlobalInstFn(getFn, theArgs) {
|
|
|
320
324
|
var cachedValue;
|
|
321
325
|
return function () {
|
|
322
326
|
!_globalLazyTestHooks && _initTestHooks();
|
|
323
|
-
(!cachedValue || _globalLazyTestHooks.lzy)
|
|
327
|
+
if (!cachedValue || _globalLazyTestHooks.lzy) {
|
|
328
|
+
cachedValue = createCachedValue(safe(getFn, theArgs).v);
|
|
329
|
+
}
|
|
324
330
|
return cachedValue.v;
|
|
325
331
|
};
|
|
326
332
|
}
|
|
327
|
-
/*#__NO_SIDE_EFFECTS__*/
|
|
328
333
|
function getGlobal(useCached) {
|
|
329
334
|
!_globalLazyTestHooks && _initTestHooks();
|
|
330
|
-
(!_cachedGlobal || useCached === false || _globalLazyTestHooks.lzy)
|
|
335
|
+
if (!_cachedGlobal || useCached === false || _globalLazyTestHooks.lzy) {
|
|
336
|
+
_cachedGlobal = createCachedValue(safe(_getGlobalValue).v || NULL_VALUE);
|
|
337
|
+
}
|
|
331
338
|
return _cachedGlobal.v;
|
|
332
339
|
}
|
|
333
340
|
/*#__NO_SIDE_EFFECTS__*/
|
|
334
341
|
function getInst(name, useCached) {
|
|
335
|
-
var gbl
|
|
342
|
+
var gbl;
|
|
343
|
+
if (!_cachedGlobal || useCached === false) {
|
|
344
|
+
gbl = getGlobal(useCached);
|
|
345
|
+
}
|
|
346
|
+
else {
|
|
347
|
+
gbl = _cachedGlobal.v;
|
|
348
|
+
}
|
|
336
349
|
if (gbl && gbl[name]) {
|
|
337
350
|
return gbl[name];
|
|
338
351
|
}
|
|
339
352
|
if (name === WINDOW) {
|
|
340
|
-
|
|
353
|
+
try {
|
|
354
|
+
return window;
|
|
355
|
+
}
|
|
356
|
+
catch (e) {
|
|
357
|
+
}
|
|
341
358
|
}
|
|
342
359
|
return NULL_VALUE;
|
|
343
360
|
}
|
|
@@ -403,7 +420,7 @@ function iterForOf(iter, callbackfn, thisArg) {
|
|
|
403
420
|
if (iter) {
|
|
404
421
|
if (!isIterator(iter)) {
|
|
405
422
|
!_iterSymbol$1 && (_iterSymbol$1 = createCachedValue(getKnownSymbol(3 )));
|
|
406
|
-
iter = iter[_iterSymbol$1.v] ? iter[_iterSymbol$1.v]() :
|
|
423
|
+
iter = iter[_iterSymbol$1.v] ? iter[_iterSymbol$1.v]() : NULL_VALUE;
|
|
407
424
|
}
|
|
408
425
|
if (isIterator(iter)) {
|
|
409
426
|
var err = UNDEF_VALUE;
|
|
@@ -472,7 +489,7 @@ function arrForEach(theArray, callbackfn, thisArg) {
|
|
|
472
489
|
}
|
|
473
490
|
var arrIndexOf = ( /*#__PURE__*/_unwrapFunction("indexOf", ArrProto));
|
|
474
491
|
function arrSlice(theArray, start, end) {
|
|
475
|
-
return ((theArray
|
|
492
|
+
return ((theArray ? theArray["slice"] : NULL_VALUE) || ArrSlice).apply(theArray, ArrSlice[CALL](arguments, 1));
|
|
476
493
|
}
|
|
477
494
|
var objCreate = ( /* #__PURE__*/_pureAssign(( /* #__PURE__*/_pureRef(ObjClass, "create")), polyObjCreate));
|
|
478
495
|
/*#__NO_SIDE_EFFECTS__*/
|
|
@@ -570,7 +587,7 @@ function isPlainObject(value) {
|
|
|
570
587
|
if (objHasOwnProperty(proto, CONSTRUCTOR)) {
|
|
571
588
|
proto = proto[CONSTRUCTOR];
|
|
572
589
|
}
|
|
573
|
-
result = proto && typeof proto === FUNCTION && _fnToString[CALL](proto) === _objCtrFnString;
|
|
590
|
+
result = !!(proto && typeof proto === FUNCTION && _fnToString[CALL](proto) === _objCtrFnString);
|
|
574
591
|
}
|
|
575
592
|
}
|
|
576
593
|
catch (ex) {
|
|
@@ -663,6 +680,8 @@ function scheduleTimeout(callback, timeout) {
|
|
|
663
680
|
return _createTimeoutWith(true, UNDEF_VALUE, ArrSlice[CALL](arguments));
|
|
664
681
|
}
|
|
665
682
|
|
|
683
|
+
(getGlobal() || {})["Symbol"];
|
|
684
|
+
(getGlobal() || {})["Reflect"];
|
|
666
685
|
var strHasOwnProperty = "hasOwnProperty";
|
|
667
686
|
var extendStaticsFn = function (d, b) {
|
|
668
687
|
extendStaticsFn = ObjClass$1["setPrototypeOf"] ||
|
|
@@ -1428,7 +1447,7 @@ function newId(maxLength) {
|
|
|
1428
1447
|
return result;
|
|
1429
1448
|
}
|
|
1430
1449
|
|
|
1431
|
-
var version = '3.3.4-nightly3.2409-
|
|
1450
|
+
var version = '3.3.4-nightly3.2409-17';
|
|
1432
1451
|
var instanceName = "." + newId(6);
|
|
1433
1452
|
var _dataUid = 0;
|
|
1434
1453
|
function _canAcceptData(target) {
|
|
@@ -3290,4 +3309,4 @@ var TeeChannel = /** @class */ (function (_super) {
|
|
|
3290
3309
|
}(BaseTelemetryPlugin));
|
|
3291
3310
|
|
|
3292
3311
|
exports.TeeChannel = TeeChannel;
|
|
3293
|
-
//# sourceMappingURL=applicationinsights-teechannel-js.3.3.4-nightly3.2409-
|
|
3312
|
+
//# sourceMappingURL=applicationinsights-teechannel-js.3.3.4-nightly3.2409-17.cjs.js.map
|