@microsoft/applicationinsights-common 2.8.2-nightly.2204-22 → 2.8.3-nightly.2205-03
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 +20 -13
- 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 +20 -13
- 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/ITelemetryContext.js +1 -1
- package/dist-esm/Interfaces/ITraceParent.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/UrlHelperFuncs.js +1 -1
- package/dist-esm/Util.js +3 -3
- package/dist-esm/Util.js.map +1 -1
- package/dist-esm/W3cTraceParent.js +1 -1
- package/dist-esm/applicationinsights-common.js +1 -1
- package/package.json +3 -3
- package/src/Util.ts +3 -2
- package/types/tsdoc-metadata.json +1 -1
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "applicationinsights-common",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.3-nightly.2205-03",
|
|
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-I9HMOc1CSQso7HY/lvcBd89yOXcY/chKQOeCwHeihHY= sha384-tn+c14cbpPePM57kYnA3LY1BwxD2BsWTXkePaAf8erUehR91qVDBQJyRzz2pSDqO sha512-gJwBuFhI9/1G/Dr6585FYWkfZHHjFpYv/P9T4pZyv/G9YzFqEEJTr2GNeIODhs5CDytFnZwqcPDbzoHdzpyNGQ==",
|
|
9
9
|
"hashes": {
|
|
10
|
-
"sha256": "
|
|
11
|
-
"sha384": "
|
|
12
|
-
"sha512": "
|
|
10
|
+
"sha256": "I9HMOc1CSQso7HY/lvcBd89yOXcY/chKQOeCwHeihHY=",
|
|
11
|
+
"sha384": "tn+c14cbpPePM57kYnA3LY1BwxD2BsWTXkePaAf8erUehR91qVDBQJyRzz2pSDqO",
|
|
12
|
+
"sha512": "gJwBuFhI9/1G/Dr6585FYWkfZHHjFpYv/P9T4pZyv/G9YzFqEEJTr2GNeIODhs5CDytFnZwqcPDbzoHdzpyNGQ=="
|
|
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-zfS9O+IxkPoYrIKcky3mQq4n3yJJ9XqRJwIRDOjm5Vk= sha384-77mDBDwi+hRFAURTPPtfu9vZI3+ofpZr/DPB8+4ukgR6Afcw59RWQB+/p2GPsbm5 sha512-Z7DTOJ8WN5AmDEpa+RKgjkJI+PLpVWj9Um1waCOb7a+KBuGCW7gvwYM0XY3Na9QQsetrtOHIVeVYm9xf7JwSPg==",
|
|
19
19
|
"hashes": {
|
|
20
|
-
"sha256": "
|
|
21
|
-
"sha384": "
|
|
22
|
-
"sha512": "
|
|
20
|
+
"sha256": "zfS9O+IxkPoYrIKcky3mQq4n3yJJ9XqRJwIRDOjm5Vk=",
|
|
21
|
+
"sha384": "77mDBDwi+hRFAURTPPtfu9vZI3+ofpZr/DPB8+4ukgR6Afcw59RWQB+/p2GPsbm5",
|
|
22
|
+
"sha512": "Z7DTOJ8WN5AmDEpa+RKgjkJI+PLpVWj9Um1waCOb7a+KBuGCW7gvwYM0XY3Na9QQsetrtOHIVeVYm9xf7JwSPg=="
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript SDK - Common, 2.8.
|
|
2
|
+
* Application Insights JavaScript SDK - Common, 2.8.3-nightly.2205-03
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
@@ -451,7 +451,7 @@
|
|
|
451
451
|
}
|
|
452
452
|
|
|
453
453
|
/*!
|
|
454
|
-
* Microsoft Dynamic Proto Utility, 1.1.
|
|
454
|
+
* Microsoft Dynamic Proto Utility, 1.1.6
|
|
455
455
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
456
456
|
*/
|
|
457
457
|
var Constructor = 'constructor';
|
|
@@ -466,10 +466,13 @@
|
|
|
466
466
|
var DynProtoDefaultOptions = '_dfOpts';
|
|
467
467
|
var UnknownValue = '_unknown_';
|
|
468
468
|
var str__Proto = "__proto__";
|
|
469
|
+
var DynProtoBaseProto = "_dyn" + str__Proto;
|
|
470
|
+
var DynProtoCurrent = "_dynInstProto";
|
|
469
471
|
var strUseBaseInst = 'useBaseInst';
|
|
470
472
|
var strSetInstFuncs = 'setInstFuncs';
|
|
471
473
|
var Obj = Object;
|
|
472
474
|
var _objGetPrototypeOf = Obj["getPrototypeOf"];
|
|
475
|
+
var _objGetOwnProps = Obj["getOwnPropertyNames"];
|
|
473
476
|
var _dynamicNames = 0;
|
|
474
477
|
function _hasOwnProperty(obj, prop) {
|
|
475
478
|
return obj && Obj[Prototype].hasOwnProperty.call(obj, prop);
|
|
@@ -481,22 +484,25 @@
|
|
|
481
484
|
return _isObjectOrArrayPrototype(target) || target === Function[Prototype];
|
|
482
485
|
}
|
|
483
486
|
function _getObjProto(target) {
|
|
487
|
+
var newProto;
|
|
484
488
|
if (target) {
|
|
485
489
|
if (_objGetPrototypeOf) {
|
|
486
490
|
return _objGetPrototypeOf(target);
|
|
487
491
|
}
|
|
488
|
-
var
|
|
489
|
-
|
|
490
|
-
|
|
492
|
+
var curProto = target[str__Proto] || target[Prototype] || (target[Constructor] ? target[Constructor][Prototype] : null);
|
|
493
|
+
newProto = target[DynProtoBaseProto] || curProto;
|
|
494
|
+
if (!_hasOwnProperty(target, DynProtoBaseProto)) {
|
|
495
|
+
delete target[DynProtoCurrent];
|
|
496
|
+
newProto = target[DynProtoBaseProto] = target[DynProtoCurrent] || target[DynProtoBaseProto];
|
|
497
|
+
target[DynProtoCurrent] = curProto;
|
|
491
498
|
}
|
|
492
499
|
}
|
|
493
|
-
return
|
|
500
|
+
return newProto;
|
|
494
501
|
}
|
|
495
502
|
function _forEachProp(target, func) {
|
|
496
503
|
var props = [];
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
props = getOwnProps(target);
|
|
504
|
+
if (_objGetOwnProps) {
|
|
505
|
+
props = _objGetOwnProps(target);
|
|
500
506
|
}
|
|
501
507
|
else {
|
|
502
508
|
for (var name_1 in target) {
|
|
@@ -645,8 +651,9 @@
|
|
|
645
651
|
visited.push(thisProto);
|
|
646
652
|
thisProto = _getObjProto(thisProto);
|
|
647
653
|
}
|
|
654
|
+
return false;
|
|
648
655
|
}
|
|
649
|
-
return
|
|
656
|
+
return true;
|
|
650
657
|
}
|
|
651
658
|
function _getObjName(target, unknownValue) {
|
|
652
659
|
if (_hasOwnProperty(target, Prototype)) {
|
|
@@ -902,7 +909,7 @@
|
|
|
902
909
|
if (isUserAct === void 0) { isUserAct = false; }
|
|
903
910
|
var message = new _InternalLogMessage(msgId, msg, isUserAct, properties);
|
|
904
911
|
if (_self.enableDebugExceptions()) {
|
|
905
|
-
throw message;
|
|
912
|
+
throw dumpObj(message);
|
|
906
913
|
}
|
|
907
914
|
else {
|
|
908
915
|
var logFunc = severity === 1 ? strErrorToConsole : strWarnToConsole;
|
|
@@ -1078,7 +1085,7 @@
|
|
|
1078
1085
|
}
|
|
1079
1086
|
|
|
1080
1087
|
var _objDefineProperty = ObjDefineProperty;
|
|
1081
|
-
var version = "2.8.
|
|
1088
|
+
var version = "2.8.3-nightly.2205-03";
|
|
1082
1089
|
var instanceName = "." + newId(6);
|
|
1083
1090
|
var _dataUid = 0;
|
|
1084
1091
|
function _createAccessor(target, prop, value) {
|
|
@@ -2042,7 +2049,7 @@
|
|
|
2042
2049
|
"https://dc-int.services.visualstudio.com/v2/track"
|
|
2043
2050
|
];
|
|
2044
2051
|
function isInternalApplicationInsightsEndpoint(endpointUrl) {
|
|
2045
|
-
return _internalEndpoints
|
|
2052
|
+
return arrIndexOf(_internalEndpoints, endpointUrl.toLowerCase()) !== -1;
|
|
2046
2053
|
}
|
|
2047
2054
|
var Util = {
|
|
2048
2055
|
NotSpecified: strNotSpecified,
|