@microsoft/applicationinsights-common 2.8.17-nightly.2312-06 → 2.8.17-nightly.2402-05
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/applicationinsights-common.integrity.json +9 -9
- package/browser/applicationinsights-common.js +28 -21
- package/browser/applicationinsights-common.js.map +1 -1
- package/browser/applicationinsights-common.min.js +2 -2
- package/browser/applicationinsights-common.min.js.map +1 -1
- package/dist/applicationinsights-common.api.json +1 -1
- package/dist/applicationinsights-common.d.ts +1 -1
- package/dist/applicationinsights-common.js +28 -21
- package/dist/applicationinsights-common.js.map +1 -1
- package/dist/applicationinsights-common.min.js +2 -2
- package/dist/applicationinsights-common.min.js.map +1 -1
- package/dist/applicationinsights-common.rollup.d.ts +1 -1
- package/dist-esm/ConnectionStringParser.js +1 -1
- package/dist-esm/Constants.js +1 -1
- package/dist-esm/DomHelperFuncs.js +1 -1
- package/dist-esm/Enums.js +1 -1
- package/dist-esm/HelperFuncs.js +1 -1
- package/dist-esm/Interfaces/ConnectionString.js +1 -1
- package/dist-esm/Interfaces/Context/IApplication.js +1 -1
- package/dist-esm/Interfaces/Context/IDevice.js +1 -1
- package/dist-esm/Interfaces/Context/IInternal.js +1 -1
- package/dist-esm/Interfaces/Context/ILocation.js +1 -1
- package/dist-esm/Interfaces/Context/IOperatingSystem.js +1 -1
- package/dist-esm/Interfaces/Context/ISample.js +1 -1
- package/dist-esm/Interfaces/Context/ISession.js +1 -1
- package/dist-esm/Interfaces/Context/ITelemetryTrace.js +1 -1
- package/dist-esm/Interfaces/Context/IUser.js +1 -1
- package/dist-esm/Interfaces/Context/IWeb.js +1 -1
- package/dist-esm/Interfaces/Contracts/AvailabilityData.js +1 -1
- package/dist-esm/Interfaces/Contracts/ContextTagKeys.js +1 -1
- package/dist-esm/Interfaces/Contracts/DataPointType.js +1 -1
- package/dist-esm/Interfaces/Contracts/DependencyKind.js +1 -1
- package/dist-esm/Interfaces/Contracts/DependencySourceType.js +1 -1
- package/dist-esm/Interfaces/Contracts/IBase.js +1 -1
- package/dist-esm/Interfaces/Contracts/IData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IDataPoint.js +1 -1
- package/dist-esm/Interfaces/Contracts/IDomain.js +1 -1
- package/dist-esm/Interfaces/Contracts/IEnvelope.js +1 -1
- package/dist-esm/Interfaces/Contracts/IEventData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IExceptionData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IExceptionDetails.js +1 -1
- package/dist-esm/Interfaces/Contracts/IMessageData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IMetricData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IPageViewData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IPageViewPerfData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IRemoteDependencyData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IStackFrame.js +1 -1
- package/dist-esm/Interfaces/Contracts/RequestData.js +1 -1
- package/dist-esm/Interfaces/Contracts/SeverityLevel.js +1 -1
- package/dist-esm/Interfaces/IAppInsights.js +1 -1
- package/dist-esm/Interfaces/IChannelControlsAI.js +1 -1
- package/dist-esm/Interfaces/IConfig.js +1 -1
- package/dist-esm/Interfaces/ICorrelationConfig.js +1 -1
- package/dist-esm/Interfaces/IDependencyTelemetry.js +1 -1
- package/dist-esm/Interfaces/IEventTelemetry.js +1 -1
- package/dist-esm/Interfaces/IExceptionTelemetry.js +1 -1
- package/dist-esm/Interfaces/IMetricTelemetry.js +1 -1
- package/dist-esm/Interfaces/IPageViewPerformanceTelemetry.js +1 -1
- package/dist-esm/Interfaces/IPageViewTelemetry.js +1 -1
- package/dist-esm/Interfaces/IPartC.js +1 -1
- package/dist-esm/Interfaces/IPropertiesPlugin.js +1 -1
- package/dist-esm/Interfaces/IRequestContext.js +1 -1
- package/dist-esm/Interfaces/IStorageBuffer.js +1 -1
- package/dist-esm/Interfaces/ITelemetryContext.js +1 -1
- package/dist-esm/Interfaces/IThrottleMgr.js +1 -1
- package/dist-esm/Interfaces/ITraceTelemetry.js +1 -1
- package/dist-esm/Interfaces/PartAExtensions.js +1 -1
- package/dist-esm/Interfaces/Telemetry/IEnvelope.js +1 -1
- package/dist-esm/Interfaces/Telemetry/ISerializable.js +1 -1
- package/dist-esm/RequestResponseHeaders.js +1 -1
- package/dist-esm/StorageHelperFuncs.js +1 -1
- package/dist-esm/Telemetry/Common/Data.js +1 -1
- package/dist-esm/Telemetry/Common/DataPoint.js +1 -1
- package/dist-esm/Telemetry/Common/DataSanitizer.js +1 -1
- package/dist-esm/Telemetry/Common/Envelope.js +1 -1
- package/dist-esm/Telemetry/Event.js +1 -1
- package/dist-esm/Telemetry/Exception.js +1 -1
- package/dist-esm/Telemetry/Metric.js +1 -1
- package/dist-esm/Telemetry/PageView.js +1 -1
- package/dist-esm/Telemetry/PageViewPerformance.js +1 -1
- package/dist-esm/Telemetry/RemoteDependencyData.js +1 -1
- package/dist-esm/Telemetry/Trace.js +1 -1
- package/dist-esm/TelemetryItemCreator.js +1 -1
- package/dist-esm/ThrottleMgr.js +1 -1
- package/dist-esm/UrlHelperFuncs.js +1 -1
- package/dist-esm/Util.js +1 -1
- package/dist-esm/__DynamicConstants.js +1 -1
- package/dist-esm/applicationinsights-common.js +1 -1
- package/package.json +3 -3
- package/types/tsdoc-metadata.json +1 -1
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "applicationinsights-common",
|
|
3
|
-
"version": "2.8.17-nightly.
|
|
3
|
+
"version": "2.8.17-nightly.2402-05",
|
|
4
4
|
"ext": {
|
|
5
5
|
"@js": {
|
|
6
6
|
"file": "applicationinsights-common.js",
|
|
7
7
|
"type": "text/javascript; charset=utf-8",
|
|
8
|
-
"integrity": "sha256-
|
|
8
|
+
"integrity": "sha256-fsoMbPEAbbLsqRY5RWAEOOJdUcmIP9bOT5v2cdWMrw0= sha384-cyy5qxmJ282JLM3kuAB3AmH4DHpQYCNXyo9FBsWVAYNsxL0fuN85+H204mQHCuy0 sha512-AxuI2KQTUhBW1ynuNdgvCqBeCFa43YxEpYUbMj05/JOHNln3LKOfBpxlIwL/AA0TMGlrmJSXvbzZpaE2zIITEw==",
|
|
9
9
|
"hashes": {
|
|
10
|
-
"sha256": "
|
|
11
|
-
"sha384": "
|
|
12
|
-
"sha512": "
|
|
10
|
+
"sha256": "fsoMbPEAbbLsqRY5RWAEOOJdUcmIP9bOT5v2cdWMrw0=",
|
|
11
|
+
"sha384": "cyy5qxmJ282JLM3kuAB3AmH4DHpQYCNXyo9FBsWVAYNsxL0fuN85+H204mQHCuy0",
|
|
12
|
+
"sha512": "AxuI2KQTUhBW1ynuNdgvCqBeCFa43YxEpYUbMj05/JOHNln3LKOfBpxlIwL/AA0TMGlrmJSXvbzZpaE2zIITEw=="
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"@min.js": {
|
|
16
16
|
"file": "applicationinsights-common.min.js",
|
|
17
17
|
"type": "text/javascript; charset=utf-8",
|
|
18
|
-
"integrity": "sha256-
|
|
18
|
+
"integrity": "sha256-xTy82rDkiJW5jGOVAfK4iuFrxGg3CX0RMNgagwagU5U= sha384-eYrbNeOQa1E4ODDAsGHYhFQaR2W3gWSTcEofY9bXdAXVb2ah57n7MxiAreUZcH4q sha512-krwyduAbszYeyyE7o+nygTFtZR9EeiaZYA6SYiwi5UwtrXFtkdfYYcKz2EYSOTZoNj9yddpJYzbFG890aEasEw==",
|
|
19
19
|
"hashes": {
|
|
20
|
-
"sha256": "
|
|
21
|
-
"sha384": "
|
|
22
|
-
"sha512": "
|
|
20
|
+
"sha256": "xTy82rDkiJW5jGOVAfK4iuFrxGg3CX0RMNgagwagU5U=",
|
|
21
|
+
"sha384": "eYrbNeOQa1E4ODDAsGHYhFQaR2W3gWSTcEofY9bXdAXVb2ah57n7MxiAreUZcH4q",
|
|
22
|
+
"sha512": "krwyduAbszYeyyE7o+nygTFtZR9EeiaZYA6SYiwi5UwtrXFtkdfYYcKz2EYSOTZoNj9yddpJYzbFG890aEasEw=="
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript SDK - Common, 2.8.17-nightly.
|
|
2
|
+
* Application Insights JavaScript SDK - Common, 2.8.17-nightly.2402-05
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
@@ -510,7 +510,7 @@ function createValueMap(values) {
|
|
|
510
510
|
}
|
|
511
511
|
|
|
512
512
|
/*!
|
|
513
|
-
* Microsoft Dynamic Proto Utility, 1.1.
|
|
513
|
+
* Microsoft Dynamic Proto Utility, 1.1.11
|
|
514
514
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
515
515
|
*/
|
|
516
516
|
var _a$1;
|
|
@@ -603,13 +603,16 @@ function _forEachProp(target, func) {
|
|
|
603
603
|
}
|
|
604
604
|
}
|
|
605
605
|
function _isDynamicCandidate(target, funcName, skipOwn) {
|
|
606
|
-
return (funcName !== Constructor && typeof target[funcName] === strFunction && (skipOwn || _hasOwnProperty(target, funcName)));
|
|
606
|
+
return (funcName !== Constructor && typeof target[funcName] === strFunction && (skipOwn || _hasOwnProperty(target, funcName)) && funcName !== str__Proto && funcName !== Prototype);
|
|
607
607
|
}
|
|
608
608
|
function _throwTypeError(message) {
|
|
609
609
|
throw new TypeError("DynamicProto: " + message);
|
|
610
610
|
}
|
|
611
|
+
function _newObject() {
|
|
612
|
+
return Object.create ? (function(obj) { var func = Object["create"]; if (func) { return func(obj); } if (obj == null) { return {}; } var type = typeof obj; if (type !== 'object' && type !== 'function') { throw new TypeError('Object prototype may only be an Object:' + obj); } function tmpFunc() {} tmpFunc.prototype = obj; return new tmpFunc(); })(null) : {};
|
|
613
|
+
}
|
|
611
614
|
function _getInstanceFuncs(thisTarget) {
|
|
612
|
-
var instFuncs =
|
|
615
|
+
var instFuncs = _newObject();
|
|
613
616
|
_forEachProp(thisTarget, function (name) {
|
|
614
617
|
if (!instFuncs[name] && _isDynamicCandidate(thisTarget, name, false)) {
|
|
615
618
|
instFuncs[name] = thisTarget[name];
|
|
@@ -638,7 +641,7 @@ function _getBaseFuncs(classProto, thisTarget, instFuncs, useBaseInst) {
|
|
|
638
641
|
return theFunc.apply(target, arguments);
|
|
639
642
|
};
|
|
640
643
|
}
|
|
641
|
-
var baseFuncs =
|
|
644
|
+
var baseFuncs = _newObject();
|
|
642
645
|
_forEachProp(instFuncs, function (name) {
|
|
643
646
|
baseFuncs[name] = _instFuncProxy(thisTarget, instFuncs, name);
|
|
644
647
|
});
|
|
@@ -658,8 +661,8 @@ function _getBaseFuncs(classProto, thisTarget, instFuncs, useBaseInst) {
|
|
|
658
661
|
function _getInstFunc(target, funcName, proto, currentDynProtoProxy) {
|
|
659
662
|
var instFunc = null;
|
|
660
663
|
if (target && _hasOwnProperty(proto, DynClassName)) {
|
|
661
|
-
var instFuncTable = target[DynInstFuncTable] ||
|
|
662
|
-
instFunc = (instFuncTable[proto[DynClassName]] ||
|
|
664
|
+
var instFuncTable = target[DynInstFuncTable] || _newObject();
|
|
665
|
+
instFunc = (instFuncTable[proto[DynClassName]] || _newObject())[funcName];
|
|
663
666
|
if (!instFunc) {
|
|
664
667
|
_throwTypeError("Missing [" + funcName + "] " + strFunction);
|
|
665
668
|
}
|
|
@@ -709,20 +712,24 @@ function _populatePrototype(proto, className, target, baseInstFuncs, setInstance
|
|
|
709
712
|
return dynProtoProxy;
|
|
710
713
|
}
|
|
711
714
|
if (!_isObjectOrArrayPrototype(proto)) {
|
|
712
|
-
var instFuncTable = target[DynInstFuncTable] = target[DynInstFuncTable] ||
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
instFuncTable[DynAllowInstChkTag]
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
if (
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
715
|
+
var instFuncTable = target[DynInstFuncTable] = target[DynInstFuncTable] || _newObject();
|
|
716
|
+
if (!_isObjectOrArrayPrototype(instFuncTable)) {
|
|
717
|
+
var instFuncs_1 = instFuncTable[className] = (instFuncTable[className] || _newObject());
|
|
718
|
+
if (instFuncTable[DynAllowInstChkTag] !== false) {
|
|
719
|
+
instFuncTable[DynAllowInstChkTag] = !!setInstanceFunc;
|
|
720
|
+
}
|
|
721
|
+
if (!_isObjectOrArrayPrototype(instFuncs_1)) {
|
|
722
|
+
_forEachProp(target, function (name) {
|
|
723
|
+
if (_isDynamicCandidate(target, name, false) && target[name] !== baseInstFuncs[name]) {
|
|
724
|
+
instFuncs_1[name] = target[name];
|
|
725
|
+
delete target[name];
|
|
726
|
+
if (!_hasOwnProperty(proto, name) || (proto[name] && !proto[name][DynProxyTag])) {
|
|
727
|
+
proto[name] = _createDynamicPrototype(proto, name);
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
});
|
|
724
731
|
}
|
|
725
|
-
}
|
|
732
|
+
}
|
|
726
733
|
}
|
|
727
734
|
}
|
|
728
735
|
function _checkPrototype(classProto, thisTarget) {
|
|
@@ -1201,7 +1208,7 @@ function newId(maxLength) {
|
|
|
1201
1208
|
}
|
|
1202
1209
|
|
|
1203
1210
|
var _objDefineProperty = ObjDefineProperty;
|
|
1204
|
-
var version = "2.8.17-nightly.
|
|
1211
|
+
var version = "2.8.17-nightly.2402-05";
|
|
1205
1212
|
var instanceName = "." + newId(6);
|
|
1206
1213
|
var _dataUid = 0;
|
|
1207
1214
|
function _createAccessor(target, prop, value) {
|