@microsoft/applicationinsights-dependencies-js 2.7.5-nightly.2203-02 → 2.7.5-nightly.2204-23
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-dependencies-js.integrity.json +9 -9
- package/browser/applicationinsights-dependencies-js.js +31 -6
- package/browser/applicationinsights-dependencies-js.js.map +1 -1
- package/browser/applicationinsights-dependencies-js.min.js +2 -2
- package/browser/applicationinsights-dependencies-js.min.js.map +1 -1
- package/dist/applicationinsights-dependencies-js.api.json +52 -29
- package/dist/applicationinsights-dependencies-js.d.ts +1 -1
- package/dist/applicationinsights-dependencies-js.js +31 -6
- package/dist/applicationinsights-dependencies-js.js.map +1 -1
- package/dist/applicationinsights-dependencies-js.min.js +2 -2
- package/dist/applicationinsights-dependencies-js.min.js.map +1 -1
- package/dist/applicationinsights-dependencies-js.rollup.d.ts +1 -1
- package/dist-esm/TraceParent.js +1 -1
- package/dist-esm/ajax.js +1 -1
- package/dist-esm/ajaxRecord.js +1 -1
- package/dist-esm/ajaxUtils.js +1 -1
- package/dist-esm/applicationinsights-dependencies-js.js +1 -1
- package/package.json +4 -4
- package/types/tsdoc-metadata.json +1 -1
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "applicationinsights-dependencies-js",
|
|
3
|
-
"version": "2.7.5-nightly.
|
|
3
|
+
"version": "2.7.5-nightly.2204-23",
|
|
4
4
|
"ext": {
|
|
5
5
|
"@js": {
|
|
6
6
|
"file": "applicationinsights-dependencies-js.js",
|
|
7
7
|
"type": "text/javascript; charset=utf-8",
|
|
8
|
-
"integrity": "sha256-
|
|
8
|
+
"integrity": "sha256-ujLtmD2I8vdcSgEZVkrh29OdwNSF3LTuUbsJFl9xpxw= sha384-04wz/xQedNKMJsIz7/iO7A/5LTZhsPRbj6zqPa1/bCNWkKAnRGjHJdQv3eeO2Qv3 sha512-gXKmVLDDoVsWD0T4AgOyn7QpnqMpya3mjmU1xoTCCcBQIz/6u2shV3tXiifglsXcSM24Ua3eWs//p0o0v+/4GQ==",
|
|
9
9
|
"hashes": {
|
|
10
|
-
"sha256": "
|
|
11
|
-
"sha384": "
|
|
12
|
-
"sha512": "
|
|
10
|
+
"sha256": "ujLtmD2I8vdcSgEZVkrh29OdwNSF3LTuUbsJFl9xpxw=",
|
|
11
|
+
"sha384": "04wz/xQedNKMJsIz7/iO7A/5LTZhsPRbj6zqPa1/bCNWkKAnRGjHJdQv3eeO2Qv3",
|
|
12
|
+
"sha512": "gXKmVLDDoVsWD0T4AgOyn7QpnqMpya3mjmU1xoTCCcBQIz/6u2shV3tXiifglsXcSM24Ua3eWs//p0o0v+/4GQ=="
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"@min.js": {
|
|
16
16
|
"file": "applicationinsights-dependencies-js.min.js",
|
|
17
17
|
"type": "text/javascript; charset=utf-8",
|
|
18
|
-
"integrity": "sha256-
|
|
18
|
+
"integrity": "sha256-Iqfdt49EGBoDygpx1yhoVDYML8HcSdPQZ1BjHWnWxNY= sha384-9cggosGLhhq5ts2TcsyBiLq+93pOdrbZ/Djo6JW2bJl8gT7/g+LNfcllMakQUEC7 sha512-ywr7U+rwYgcM41dQlX1PqvkiwiMQ/bb6o/qJyFPZAl0DGFxZTCeD2zniWreP+FdOrCXTNqH+omTdOlwbd9RA3A==",
|
|
19
19
|
"hashes": {
|
|
20
|
-
"sha256": "
|
|
21
|
-
"sha384": "
|
|
22
|
-
"sha512": "
|
|
20
|
+
"sha256": "Iqfdt49EGBoDygpx1yhoVDYML8HcSdPQZ1BjHWnWxNY=",
|
|
21
|
+
"sha384": "9cggosGLhhq5ts2TcsyBiLq+93pOdrbZ/Djo6JW2bJl8gT7/g+LNfcllMakQUEC7",
|
|
22
|
+
"sha512": "ywr7U+rwYgcM41dQlX1PqvkiwiMQ/bb6o/qJyFPZAl0DGFxZTCeD2zniWreP+FdOrCXTNqH+omTdOlwbd9RA3A=="
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript SDK - Dependencies Plugin, 2.7.5-nightly.
|
|
2
|
+
* Application Insights JavaScript SDK - Dependencies Plugin, 2.7.5-nightly.2204-23
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
/*!
|
|
98
|
-
* Microsoft Dynamic Proto Utility, 1.1.
|
|
98
|
+
* Microsoft Dynamic Proto Utility, 1.1.5
|
|
99
99
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
100
100
|
*/
|
|
101
101
|
var Constructor = 'constructor';
|
|
@@ -108,6 +108,7 @@
|
|
|
108
108
|
var DynInstChkTag = '_dynInstChk';
|
|
109
109
|
var DynAllowInstChkTag = DynInstChkTag;
|
|
110
110
|
var DynProtoDefaultOptions = '_dfOpts';
|
|
111
|
+
var DynProtoPolyProto = "_dynProto";
|
|
111
112
|
var UnknownValue = '_unknown_';
|
|
112
113
|
var str__Proto$1 = "__proto__";
|
|
113
114
|
var strUseBaseInst = 'useBaseInst';
|
|
@@ -129,8 +130,11 @@
|
|
|
129
130
|
if (_objGetPrototypeOf$1) {
|
|
130
131
|
return _objGetPrototypeOf$1(target);
|
|
131
132
|
}
|
|
132
|
-
var newProto = target[str__Proto$1] || target[Prototype] || (target[Constructor] ? target[Constructor][Prototype] : null);
|
|
133
|
+
var newProto = target[DynProtoPolyProto] || target[str__Proto$1] || target[Prototype] || (target[Constructor] ? target[Constructor][Prototype] : null);
|
|
133
134
|
if (newProto) {
|
|
135
|
+
if (!target[DynProtoPolyProto]) {
|
|
136
|
+
target[DynProtoPolyProto] = newProto;
|
|
137
|
+
}
|
|
134
138
|
return newProto;
|
|
135
139
|
}
|
|
136
140
|
}
|
|
@@ -289,8 +293,9 @@
|
|
|
289
293
|
visited.push(thisProto);
|
|
290
294
|
thisProto = _getObjProto$1(thisProto);
|
|
291
295
|
}
|
|
296
|
+
return false;
|
|
292
297
|
}
|
|
293
|
-
return
|
|
298
|
+
return true;
|
|
294
299
|
}
|
|
295
300
|
function _getObjName(target, unknownValue) {
|
|
296
301
|
if (_hasOwnProperty(target, Prototype)) {
|
|
@@ -429,6 +434,7 @@
|
|
|
429
434
|
var strAttachEvent = "attachEvent";
|
|
430
435
|
var strAddEventHelper = "addEventListener";
|
|
431
436
|
var strToISOString = "toISOString";
|
|
437
|
+
var strIndexOf = "indexOf";
|
|
432
438
|
var cStrTrim = "trim";
|
|
433
439
|
var strToString = "toString";
|
|
434
440
|
var str__Proto = "__proto__";
|
|
@@ -569,6 +575,25 @@
|
|
|
569
575
|
catch (e) {
|
|
570
576
|
}
|
|
571
577
|
}
|
|
578
|
+
function arrIndexOf(arr, searchElement, fromIndex) {
|
|
579
|
+
if (arr) {
|
|
580
|
+
if (arr[strIndexOf]) {
|
|
581
|
+
return arr[strIndexOf](searchElement, fromIndex);
|
|
582
|
+
}
|
|
583
|
+
var len = arr.length;
|
|
584
|
+
var from = fromIndex || 0;
|
|
585
|
+
try {
|
|
586
|
+
for (var lp = Math.max(from >= 0 ? from : len - Math.abs(from), 0); lp < len; lp++) {
|
|
587
|
+
if (lp in arr && arr[lp] === searchElement) {
|
|
588
|
+
return lp;
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
catch (e) {
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
return -1;
|
|
596
|
+
}
|
|
572
597
|
function strTrim(str) {
|
|
573
598
|
if (str) {
|
|
574
599
|
str = (_strTrim && str[cStrTrim]) ? str[cStrTrim]() : (str.replace ? str.replace(/^\s+|\s+$/g, "") : str);
|
|
@@ -857,7 +882,7 @@
|
|
|
857
882
|
if (isUserAct === void 0) { isUserAct = false; }
|
|
858
883
|
var message = new _InternalLogMessage(msgId, msg, isUserAct, properties);
|
|
859
884
|
if (_self.enableDebugExceptions()) {
|
|
860
|
-
throw message;
|
|
885
|
+
throw dumpObj(message);
|
|
861
886
|
}
|
|
862
887
|
else {
|
|
863
888
|
var logFunc = severity === LoggingSeverity.CRITICAL ? strErrorToConsole : strWarnToConsole;
|
|
@@ -1723,7 +1748,7 @@
|
|
|
1723
1748
|
"https://dc-int.services.visualstudio.com/v2/track"
|
|
1724
1749
|
];
|
|
1725
1750
|
function isInternalApplicationInsightsEndpoint(endpointUrl) {
|
|
1726
|
-
return _internalEndpoints
|
|
1751
|
+
return arrIndexOf(_internalEndpoints, endpointUrl.toLowerCase()) !== -1;
|
|
1727
1752
|
}
|
|
1728
1753
|
var CorrelationIdHelper = {
|
|
1729
1754
|
correlationIdPrefix: "cid-v1:",
|