@microsoft/applicationinsights-common 3.4.3 → 3.4.4-nightly3.2608-02
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 +16 -7
- 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 +18 -9
- 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 +18 -9
- 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 +16 -7
- 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/applicationinsights-common.js +1 -1
- package/package.json +69 -66
- package/types/applicationinsights-common.d.ts +1 -1
- package/types/applicationinsights-common.namespaced.d.ts +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript SDK - Common, 3.4.
|
|
2
|
+
* Application Insights JavaScript SDK - Common, 3.4.4-nightly3.2608-02
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.Microsoft = global.Microsoft || {}, global.Microsoft.ApplicationInsights = global.Microsoft.ApplicationInsights || {})));
|
|
9
9
|
})(this, (function (exports) { 'use strict';
|
|
10
10
|
|
|
11
|
-
/*! https://github.com/nevware21/ts-utils v0.
|
|
11
|
+
/*! https://github.com/nevware21/ts-utils v0.16.0 */
|
|
12
12
|
/*#__NO_SIDE_EFFECTS__*/
|
|
13
13
|
function _pureAssign(func1, func2) {
|
|
14
14
|
return func1 || func2;
|
|
@@ -434,6 +434,9 @@
|
|
|
434
434
|
function fnApply(fn, thisArg, argArray) {
|
|
435
435
|
return fn.apply(thisArg, argArray);
|
|
436
436
|
}
|
|
437
|
+
function fnCall(fn, thisArg) {
|
|
438
|
+
return fn.apply(thisArg, ArrSlice[CALL](arguments, 2));
|
|
439
|
+
}
|
|
437
440
|
var _globalLazyTestHooks;
|
|
438
441
|
function _initTestHooks() {
|
|
439
442
|
_globalLazyTestHooks = _getGlobalConfig();
|
|
@@ -654,9 +657,10 @@
|
|
|
654
657
|
var theBaseClass = errorBase || Error;
|
|
655
658
|
var orgName = theBaseClass[PROTOTYPE][NAME];
|
|
656
659
|
var captureFn = Error.captureStackTrace;
|
|
657
|
-
|
|
660
|
+
var ctorFn = function () {
|
|
658
661
|
var _this = this;
|
|
659
662
|
var theArgs = arguments;
|
|
663
|
+
var isOwnInstance = _this[CONSTRUCTOR] === ctorFn;
|
|
660
664
|
try {
|
|
661
665
|
safe(_setName, [theBaseClass, name]);
|
|
662
666
|
var _self = fnApply(theBaseClass, _this, superArgsFn ? superArgsFn(theArgs) : ArrSlice[CALL](theArgs)) || _this;
|
|
@@ -666,14 +670,19 @@
|
|
|
666
670
|
objSetPrototypeOf(_self, orgProto);
|
|
667
671
|
}
|
|
668
672
|
}
|
|
669
|
-
|
|
670
|
-
|
|
673
|
+
if (isOwnInstance) {
|
|
674
|
+
captureFn && captureFn(_self, ctorFn);
|
|
675
|
+
}
|
|
676
|
+
if (constructCb) {
|
|
677
|
+
fnCall(constructCb, _self, _self, theArgs, isOwnInstance);
|
|
678
|
+
}
|
|
671
679
|
return _self;
|
|
672
680
|
}
|
|
673
681
|
finally {
|
|
674
682
|
safe(_setName, [theBaseClass, orgName]);
|
|
675
683
|
}
|
|
676
|
-
}
|
|
684
|
+
};
|
|
685
|
+
return _createCustomError(name, ctorFn, theBaseClass);
|
|
677
686
|
}
|
|
678
687
|
var strReplace = (/*#__PURE__*/_unwrapFunction("replace", StrProto));
|
|
679
688
|
/*#__NO_SIDE_EFFECTS__*/
|
|
@@ -1754,7 +1763,7 @@
|
|
|
1754
1763
|
return result;
|
|
1755
1764
|
}
|
|
1756
1765
|
|
|
1757
|
-
var version = "3.4.
|
|
1766
|
+
var version = "3.4.4-nightly3.2608-02";
|
|
1758
1767
|
var instanceName = "." + newId(6);
|
|
1759
1768
|
var _dataUid = 0;
|
|
1760
1769
|
function _canAcceptData(target) {
|