@microsoft/applicationinsights-common 2.8.17-nightly.2309-05 → 2.8.17-nightly.2401-12
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 +2 -2
- package/types/tsdoc-metadata.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft Application Insights Common JavaScript Library, 2.8.17-nightly.
|
|
2
|
+
* Microsoft Application Insights Common JavaScript Library, 2.8.17-nightly.2401-12
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -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.2401-12
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
@@ -485,7 +485,7 @@
|
|
|
485
485
|
}
|
|
486
486
|
|
|
487
487
|
/*!
|
|
488
|
-
* Microsoft Dynamic Proto Utility, 1.1.
|
|
488
|
+
* Microsoft Dynamic Proto Utility, 1.1.11
|
|
489
489
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
490
490
|
*/
|
|
491
491
|
var _a$1;
|
|
@@ -578,13 +578,16 @@
|
|
|
578
578
|
}
|
|
579
579
|
}
|
|
580
580
|
function _isDynamicCandidate(target, funcName, skipOwn) {
|
|
581
|
-
return (funcName !== Constructor && typeof target[funcName] === strFunction && (skipOwn || _hasOwnProperty(target, funcName)));
|
|
581
|
+
return (funcName !== Constructor && typeof target[funcName] === strFunction && (skipOwn || _hasOwnProperty(target, funcName)) && funcName !== str__Proto && funcName !== Prototype);
|
|
582
582
|
}
|
|
583
583
|
function _throwTypeError(message) {
|
|
584
584
|
throw new TypeError("DynamicProto: " + message);
|
|
585
585
|
}
|
|
586
|
+
function _newObject() {
|
|
587
|
+
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) : {};
|
|
588
|
+
}
|
|
586
589
|
function _getInstanceFuncs(thisTarget) {
|
|
587
|
-
var instFuncs =
|
|
590
|
+
var instFuncs = _newObject();
|
|
588
591
|
_forEachProp(thisTarget, function (name) {
|
|
589
592
|
if (!instFuncs[name] && _isDynamicCandidate(thisTarget, name, false)) {
|
|
590
593
|
instFuncs[name] = thisTarget[name];
|
|
@@ -613,7 +616,7 @@
|
|
|
613
616
|
return theFunc.apply(target, arguments);
|
|
614
617
|
};
|
|
615
618
|
}
|
|
616
|
-
var baseFuncs =
|
|
619
|
+
var baseFuncs = _newObject();
|
|
617
620
|
_forEachProp(instFuncs, function (name) {
|
|
618
621
|
baseFuncs[name] = _instFuncProxy(thisTarget, instFuncs, name);
|
|
619
622
|
});
|
|
@@ -633,8 +636,8 @@
|
|
|
633
636
|
function _getInstFunc(target, funcName, proto, currentDynProtoProxy) {
|
|
634
637
|
var instFunc = null;
|
|
635
638
|
if (target && _hasOwnProperty(proto, DynClassName)) {
|
|
636
|
-
var instFuncTable = target[DynInstFuncTable] ||
|
|
637
|
-
instFunc = (instFuncTable[proto[DynClassName]] ||
|
|
639
|
+
var instFuncTable = target[DynInstFuncTable] || _newObject();
|
|
640
|
+
instFunc = (instFuncTable[proto[DynClassName]] || _newObject())[funcName];
|
|
638
641
|
if (!instFunc) {
|
|
639
642
|
_throwTypeError("Missing [" + funcName + "] " + strFunction);
|
|
640
643
|
}
|
|
@@ -684,20 +687,24 @@
|
|
|
684
687
|
return dynProtoProxy;
|
|
685
688
|
}
|
|
686
689
|
if (!_isObjectOrArrayPrototype(proto)) {
|
|
687
|
-
var instFuncTable = target[DynInstFuncTable] = target[DynInstFuncTable] ||
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
instFuncTable[DynAllowInstChkTag]
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
if (
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
690
|
+
var instFuncTable = target[DynInstFuncTable] = target[DynInstFuncTable] || _newObject();
|
|
691
|
+
if (!_isObjectOrArrayPrototype(instFuncTable)) {
|
|
692
|
+
var instFuncs_1 = instFuncTable[className] = (instFuncTable[className] || _newObject());
|
|
693
|
+
if (instFuncTable[DynAllowInstChkTag] !== false) {
|
|
694
|
+
instFuncTable[DynAllowInstChkTag] = !!setInstanceFunc;
|
|
695
|
+
}
|
|
696
|
+
if (!_isObjectOrArrayPrototype(instFuncs_1)) {
|
|
697
|
+
_forEachProp(target, function (name) {
|
|
698
|
+
if (_isDynamicCandidate(target, name, false) && target[name] !== baseInstFuncs[name]) {
|
|
699
|
+
instFuncs_1[name] = target[name];
|
|
700
|
+
delete target[name];
|
|
701
|
+
if (!_hasOwnProperty(proto, name) || (proto[name] && !proto[name][DynProxyTag])) {
|
|
702
|
+
proto[name] = _createDynamicPrototype(proto, name);
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
});
|
|
699
706
|
}
|
|
700
|
-
}
|
|
707
|
+
}
|
|
701
708
|
}
|
|
702
709
|
}
|
|
703
710
|
function _checkPrototype(classProto, thisTarget) {
|
|
@@ -1176,7 +1183,7 @@
|
|
|
1176
1183
|
}
|
|
1177
1184
|
|
|
1178
1185
|
var _objDefineProperty = ObjDefineProperty;
|
|
1179
|
-
var version = "2.8.17-nightly.
|
|
1186
|
+
var version = "2.8.17-nightly.2401-12";
|
|
1180
1187
|
var instanceName = "." + newId(6);
|
|
1181
1188
|
var _dataUid = 0;
|
|
1182
1189
|
function _createAccessor(target, prop, value) {
|