@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,11 +1,11 @@
|
|
|
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) {
|
|
6
6
|
var undef = "undefined";
|
|
7
|
-
var nsKey, key, nm, theExports = {}, modName = "
|
|
8
|
-
var mods={}, modDetail=mods[modName]={}, ver="3.4.
|
|
7
|
+
var nsKey, key, nm, theExports = {}, modName = "es5_applicationinsights_common_3_4_4_nightly3_2608_02", msMod="__ms$mod__";
|
|
8
|
+
var mods={}, modDetail=mods[modName]={}, ver="3.4.4-nightly3.2608-02";
|
|
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.
|
|
29
|
+
/*! https://github.com/nevware21/ts-utils v0.16.0 */
|
|
30
30
|
/*#__NO_SIDE_EFFECTS__*/
|
|
31
31
|
function _pureAssign(func1, func2) {
|
|
32
32
|
return func1 || func2;
|
|
@@ -452,6 +452,9 @@ function polyUtcNow() {
|
|
|
452
452
|
function fnApply(fn, thisArg, argArray) {
|
|
453
453
|
return fn.apply(thisArg, argArray);
|
|
454
454
|
}
|
|
455
|
+
function fnCall(fn, thisArg) {
|
|
456
|
+
return fn.apply(thisArg, ArrSlice[CALL](arguments, 2));
|
|
457
|
+
}
|
|
455
458
|
var _globalLazyTestHooks;
|
|
456
459
|
function _initTestHooks() {
|
|
457
460
|
_globalLazyTestHooks = _getGlobalConfig();
|
|
@@ -672,9 +675,10 @@ function createCustomError(name, constructCb, errorBase, superArgsFn) {
|
|
|
672
675
|
var theBaseClass = errorBase || Error;
|
|
673
676
|
var orgName = theBaseClass[PROTOTYPE][NAME];
|
|
674
677
|
var captureFn = Error.captureStackTrace;
|
|
675
|
-
|
|
678
|
+
var ctorFn = function () {
|
|
676
679
|
var _this = this;
|
|
677
680
|
var theArgs = arguments;
|
|
681
|
+
var isOwnInstance = _this[CONSTRUCTOR] === ctorFn;
|
|
678
682
|
try {
|
|
679
683
|
safe(_setName, [theBaseClass, name]);
|
|
680
684
|
var _self = fnApply(theBaseClass, _this, superArgsFn ? superArgsFn(theArgs) : ArrSlice[CALL](theArgs)) || _this;
|
|
@@ -684,14 +688,19 @@ function createCustomError(name, constructCb, errorBase, superArgsFn) {
|
|
|
684
688
|
objSetPrototypeOf(_self, orgProto);
|
|
685
689
|
}
|
|
686
690
|
}
|
|
687
|
-
|
|
688
|
-
|
|
691
|
+
if (isOwnInstance) {
|
|
692
|
+
captureFn && captureFn(_self, ctorFn);
|
|
693
|
+
}
|
|
694
|
+
if (constructCb) {
|
|
695
|
+
fnCall(constructCb, _self, _self, theArgs, isOwnInstance);
|
|
696
|
+
}
|
|
689
697
|
return _self;
|
|
690
698
|
}
|
|
691
699
|
finally {
|
|
692
700
|
safe(_setName, [theBaseClass, orgName]);
|
|
693
701
|
}
|
|
694
|
-
}
|
|
702
|
+
};
|
|
703
|
+
return _createCustomError(name, ctorFn, theBaseClass);
|
|
695
704
|
}
|
|
696
705
|
var strReplace = (/*#__PURE__*/_unwrapFunction("replace", StrProto));
|
|
697
706
|
/*#__NO_SIDE_EFFECTS__*/
|
|
@@ -1772,7 +1781,7 @@ function newId(maxLength) {
|
|
|
1772
1781
|
return result;
|
|
1773
1782
|
}
|
|
1774
1783
|
|
|
1775
|
-
var version = "3.4.
|
|
1784
|
+
var version = "3.4.4-nightly3.2608-02";
|
|
1776
1785
|
var instanceName = "." + newId(6);
|
|
1777
1786
|
var _dataUid = 0;
|
|
1778
1787
|
function _canAcceptData(target) {
|