@microsoft/applicationinsights-debugplugin-js 2.7.3-nightly.2112-07 → 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/{ai.dbg.2.7.3-nightly.2112-07.cjs.js → ai.dbg.2.7.3.cjs.js} +44 -32
- package/browser/ai.dbg.2.7.3.cjs.js.map +1 -0
- package/browser/ai.dbg.2.7.3.cjs.min.js +6 -0
- package/browser/ai.dbg.2.7.3.cjs.min.js.map +1 -0
- package/browser/{ai.dbg.2.7.3-nightly.2112-07.gbl.js → ai.dbg.2.7.3.gbl.js} +44 -32
- package/browser/ai.dbg.2.7.3.gbl.js.map +1 -0
- package/browser/ai.dbg.2.7.3.gbl.min.js +6 -0
- package/browser/ai.dbg.2.7.3.gbl.min.js.map +1 -0
- package/browser/ai.dbg.2.7.3.integrity.json +66 -0
- package/browser/{ai.dbg.2.7.3-nightly.2112-07.js → ai.dbg.2.7.3.js} +44 -32
- package/browser/ai.dbg.2.7.3.js.map +1 -0
- package/browser/ai.dbg.2.7.3.min.js +6 -0
- package/browser/ai.dbg.2.7.3.min.js.map +1 -0
- package/browser/ai.dbg.2.cjs.js +43 -31
- package/browser/ai.dbg.2.cjs.js.map +1 -1
- package/browser/ai.dbg.2.cjs.min.js +2 -2
- package/browser/ai.dbg.2.cjs.min.js.map +1 -1
- package/browser/ai.dbg.2.gbl.js +43 -31
- package/browser/ai.dbg.2.gbl.js.map +1 -1
- package/browser/ai.dbg.2.gbl.min.js +2 -2
- package/browser/ai.dbg.2.gbl.min.js.map +1 -1
- package/browser/ai.dbg.2.js +43 -31
- package/browser/ai.dbg.2.js.map +1 -1
- package/browser/ai.dbg.2.min.js +2 -2
- package/browser/ai.dbg.2.min.js.map +1 -1
- package/dist/applicationinsights-debugplugin-js.api.json +1 -1
- package/dist/applicationinsights-debugplugin-js.d.ts +1 -1
- package/dist/applicationinsights-debugplugin-js.js +43 -31
- package/dist/applicationinsights-debugplugin-js.js.map +1 -1
- package/dist/applicationinsights-debugplugin-js.min.js +2 -2
- package/dist/applicationinsights-debugplugin-js.min.js.map +1 -1
- package/dist/applicationinsights-debugplugin-js.rollup.d.ts +1 -1
- package/dist-esm/DebugPlugin.js +1 -1
- package/dist-esm/applicationinsights-debugplugin-js.js +1 -1
- package/dist-esm/components/Dashboard.js +1 -1
- package/dist-esm/components/LogEntry.js +1 -1
- package/dist-esm/components/debugBins.js +1 -1
- package/dist-esm/components/filterList.js +1 -1
- package/dist-esm/components/helpers.js +1 -1
- package/dist-esm/components/styleNodeSrc.js +1 -1
- package/dist-esm/interfaces/IDebugPluginConfig.js +1 -1
- package/package.json +54 -57
- package/src/components/Dashboard.ts +6 -6
- package/src/interfaces/IDebugPluginConfig.ts +1 -1
- package/types/tsdoc-metadata.json +1 -1
- package/browser/ai.dbg.2.7.3-nightly.2112-07.cjs.js.map +0 -1
- package/browser/ai.dbg.2.7.3-nightly.2112-07.cjs.min.js +0 -6
- package/browser/ai.dbg.2.7.3-nightly.2112-07.cjs.min.js.map +0 -1
- package/browser/ai.dbg.2.7.3-nightly.2112-07.gbl.js.map +0 -1
- package/browser/ai.dbg.2.7.3-nightly.2112-07.gbl.min.js +0 -6
- package/browser/ai.dbg.2.7.3-nightly.2112-07.gbl.min.js.map +0 -1
- package/browser/ai.dbg.2.7.3-nightly.2112-07.integrity.json +0 -66
- package/browser/ai.dbg.2.7.3-nightly.2112-07.js.map +0 -1
- package/browser/ai.dbg.2.7.3-nightly.2112-07.min.js +0 -6
- package/browser/ai.dbg.2.7.3-nightly.2112-07.min.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript SDK - Debug Plugin, 2.7.3
|
|
2
|
+
* Application Insights JavaScript SDK - Debug Plugin, 2.7.3
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
'use strict';
|
|
@@ -17,20 +17,24 @@ var ObjCreate = ObjClass["create"];
|
|
|
17
17
|
var ObjDefineProperty = ObjClass["defineProperty"];
|
|
18
18
|
var ObjHasOwnProperty = ObjProto[strShimHasOwnProperty];
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
20
|
+
var _cachedGlobal = null;
|
|
21
|
+
function getGlobal(useCached) {
|
|
22
|
+
if (useCached === void 0) { useCached = true; }
|
|
23
|
+
if (!_cachedGlobal || !useCached) {
|
|
24
|
+
if (typeof globalThis !== strShimUndefined && globalThis) {
|
|
25
|
+
_cachedGlobal = globalThis;
|
|
26
|
+
}
|
|
27
|
+
if (typeof self !== strShimUndefined && self) {
|
|
28
|
+
_cachedGlobal = self;
|
|
29
|
+
}
|
|
30
|
+
if (typeof window !== strShimUndefined && window) {
|
|
31
|
+
_cachedGlobal = window;
|
|
32
|
+
}
|
|
33
|
+
if (typeof global !== strShimUndefined && global) {
|
|
34
|
+
_cachedGlobal = global;
|
|
35
|
+
}
|
|
32
36
|
}
|
|
33
|
-
return
|
|
37
|
+
return _cachedGlobal;
|
|
34
38
|
}
|
|
35
39
|
function throwTypeError(message) {
|
|
36
40
|
throw new TypeError(message);
|
|
@@ -409,6 +413,7 @@ var _InternalMessageId = {
|
|
|
409
413
|
var strOnPrefix = "on";
|
|
410
414
|
var strAttachEvent = "attachEvent";
|
|
411
415
|
var strAddEventHelper = "addEventListener";
|
|
416
|
+
var strToISOString = "toISOString";
|
|
412
417
|
var _objDefineProperty = ObjDefineProperty;
|
|
413
418
|
function objToString(obj) {
|
|
414
419
|
return ObjProto.toString.call(obj);
|
|
@@ -510,22 +515,27 @@ function isSymbol(value) {
|
|
|
510
515
|
return typeof value === "symbol";
|
|
511
516
|
}
|
|
512
517
|
function toISOString(date) {
|
|
513
|
-
if (
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
518
|
+
if (date) {
|
|
519
|
+
if (date[strToISOString]) {
|
|
520
|
+
return date[strToISOString]();
|
|
521
|
+
}
|
|
522
|
+
if (isDate(date)) {
|
|
523
|
+
var pad = function (num) {
|
|
524
|
+
var r = String(num);
|
|
525
|
+
if (r.length === 1) {
|
|
526
|
+
r = "0" + r;
|
|
527
|
+
}
|
|
528
|
+
return r;
|
|
529
|
+
};
|
|
530
|
+
return date.getUTCFullYear()
|
|
531
|
+
+ "-" + pad(date.getUTCMonth() + 1)
|
|
532
|
+
+ "-" + pad(date.getUTCDate())
|
|
533
|
+
+ "T" + pad(date.getUTCHours())
|
|
534
|
+
+ ":" + pad(date.getUTCMinutes())
|
|
535
|
+
+ ":" + pad(date.getUTCSeconds())
|
|
536
|
+
+ "." + String((date.getUTCMilliseconds() / 1000).toFixed(3)).slice(2, 5)
|
|
537
|
+
+ "Z";
|
|
538
|
+
}
|
|
529
539
|
}
|
|
530
540
|
}
|
|
531
541
|
function arrForEach(arr, callbackfn, thisArg) {
|
|
@@ -680,6 +690,7 @@ function isTruthy(value) {
|
|
|
680
690
|
|
|
681
691
|
var strWindow = "window";
|
|
682
692
|
var strDocument = "document";
|
|
693
|
+
var strDocumentMode = "documentMode";
|
|
683
694
|
var strNavigator = "navigator";
|
|
684
695
|
var strLocation = "location";
|
|
685
696
|
var strConsole = "console";
|
|
@@ -783,7 +794,8 @@ function getIEVersion(userAgentStr) {
|
|
|
783
794
|
}
|
|
784
795
|
var ua = (userAgentStr || "").toLowerCase();
|
|
785
796
|
if (strContains(ua, strMsie)) {
|
|
786
|
-
|
|
797
|
+
var doc = getDocument() || {};
|
|
798
|
+
return Math.max(parseInt(ua.split(strMsie)[1]), (doc[strDocumentMode] || 0));
|
|
787
799
|
}
|
|
788
800
|
else if (strContains(ua, strTrident)) {
|
|
789
801
|
var tridentVer = parseInt(ua.split(strTrident)[1]);
|
|
@@ -3361,4 +3373,4 @@ var DebugPlugin = /** @class */ (function (_super) {
|
|
|
3361
3373
|
var DebugPlugin$1 = DebugPlugin;
|
|
3362
3374
|
|
|
3363
3375
|
exports.DebugPlugin = DebugPlugin$1;
|
|
3364
|
-
//# sourceMappingURL=ai.dbg.2.7.3
|
|
3376
|
+
//# sourceMappingURL=ai.dbg.2.7.3.cjs.js.map
|