@microsoft/applicationinsights-web-basic 2.7.3-nightly.2201-02 → 2.7.3
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/aib.2.7.3.integrity.json +26 -0
- package/browser/{aib.2.7.3-nightly.2201-02.js → aib.2.7.3.js} +42 -32
- package/browser/aib.2.7.3.js.map +1 -0
- package/browser/aib.2.7.3.min.js +6 -0
- package/browser/aib.2.7.3.min.js.map +1 -0
- package/browser/aib.2.js +41 -31
- package/browser/aib.2.js.map +1 -1
- package/browser/aib.2.min.js +2 -2
- package/browser/aib.2.min.js.map +1 -1
- package/dist/applicationinsights-web-basic.d.ts +1 -1
- package/dist/applicationinsights-web-basic.js +41 -31
- package/dist/applicationinsights-web-basic.js.map +1 -1
- package/dist/applicationinsights-web-basic.min.js +2 -2
- package/dist/applicationinsights-web-basic.min.js.map +1 -1
- package/dist/applicationinsights-web-basic.rollup.d.ts +1 -1
- package/dist-esm/index.js +1 -1
- package/package.json +57 -60
- package/browser/aib.2.7.3-nightly.2201-02.integrity.json +0 -26
- package/browser/aib.2.7.3-nightly.2201-02.js.map +0 -1
- package/browser/aib.2.7.3-nightly.2201-02.min.js +0 -6
- package/browser/aib.2.7.3-nightly.2201-02.min.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript Web SDK - Basic, 2.7.3
|
|
2
|
+
* Application Insights JavaScript Web SDK - Basic, 2.7.3
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
@@ -29,20 +29,24 @@
|
|
|
29
29
|
var ObjDefineProperty = ObjClass["defineProperty"];
|
|
30
30
|
var ObjHasOwnProperty = ObjProto[strShimHasOwnProperty];
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
32
|
+
var _cachedGlobal = null;
|
|
33
|
+
function getGlobal(useCached) {
|
|
34
|
+
if (useCached === void 0) { useCached = true; }
|
|
35
|
+
if (!_cachedGlobal || !useCached) {
|
|
36
|
+
if (typeof globalThis !== strShimUndefined && globalThis) {
|
|
37
|
+
_cachedGlobal = globalThis;
|
|
38
|
+
}
|
|
39
|
+
if (typeof self !== strShimUndefined && self) {
|
|
40
|
+
_cachedGlobal = self;
|
|
41
|
+
}
|
|
42
|
+
if (typeof window !== strShimUndefined && window) {
|
|
43
|
+
_cachedGlobal = window;
|
|
44
|
+
}
|
|
45
|
+
if (typeof global !== strShimUndefined && global) {
|
|
46
|
+
_cachedGlobal = global;
|
|
47
|
+
}
|
|
44
48
|
}
|
|
45
|
-
return
|
|
49
|
+
return _cachedGlobal;
|
|
46
50
|
}
|
|
47
51
|
function throwTypeError(message) {
|
|
48
52
|
throw new TypeError(message);
|
|
@@ -439,6 +443,7 @@
|
|
|
439
443
|
var strOnPrefix = "on";
|
|
440
444
|
var strAttachEvent = "attachEvent";
|
|
441
445
|
var strAddEventHelper = "addEventListener";
|
|
446
|
+
var strToISOString = "toISOString";
|
|
442
447
|
var _objDefineProperty = ObjDefineProperty;
|
|
443
448
|
ObjClass["freeze"];
|
|
444
449
|
ObjClass["seal"];
|
|
@@ -539,22 +544,27 @@
|
|
|
539
544
|
return typeof value === "boolean";
|
|
540
545
|
}
|
|
541
546
|
function toISOString(date) {
|
|
542
|
-
if (
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
547
|
+
if (date) {
|
|
548
|
+
if (date[strToISOString]) {
|
|
549
|
+
return date[strToISOString]();
|
|
550
|
+
}
|
|
551
|
+
if (isDate(date)) {
|
|
552
|
+
var pad = function (num) {
|
|
553
|
+
var r = String(num);
|
|
554
|
+
if (r.length === 1) {
|
|
555
|
+
r = "0" + r;
|
|
556
|
+
}
|
|
557
|
+
return r;
|
|
558
|
+
};
|
|
559
|
+
return date.getUTCFullYear()
|
|
560
|
+
+ "-" + pad(date.getUTCMonth() + 1)
|
|
561
|
+
+ "-" + pad(date.getUTCDate())
|
|
562
|
+
+ "T" + pad(date.getUTCHours())
|
|
563
|
+
+ ":" + pad(date.getUTCMinutes())
|
|
564
|
+
+ ":" + pad(date.getUTCSeconds())
|
|
565
|
+
+ "." + String((date.getUTCMilliseconds() / 1000).toFixed(3)).slice(2, 5)
|
|
566
|
+
+ "Z";
|
|
567
|
+
}
|
|
558
568
|
}
|
|
559
569
|
}
|
|
560
570
|
function arrForEach(arr, callbackfn, thisArg) {
|
|
@@ -3859,7 +3869,7 @@
|
|
|
3859
3869
|
}
|
|
3860
3870
|
}
|
|
3861
3871
|
var EnvelopeCreator = {
|
|
3862
|
-
Version: "2.7.3
|
|
3872
|
+
Version: "2.7.3"
|
|
3863
3873
|
};
|
|
3864
3874
|
function DependencyEnvelopeCreator(logger, telemetryItem, customUndefinedValue) {
|
|
3865
3875
|
EnvelopeCreatorInit(logger, telemetryItem);
|