@microsoft/applicationinsights-debugplugin-js 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.
Files changed (51) hide show
  1. package/browser/{ai.dbg.2.7.3-nightly.2201-02.cjs.js → ai.dbg.2.7.3.cjs.js} +41 -31
  2. package/browser/ai.dbg.2.7.3.cjs.js.map +1 -0
  3. package/browser/ai.dbg.2.7.3.cjs.min.js +6 -0
  4. package/browser/ai.dbg.2.7.3.cjs.min.js.map +1 -0
  5. package/browser/{ai.dbg.2.7.3-nightly.2201-02.gbl.js → ai.dbg.2.7.3.gbl.js} +41 -31
  6. package/browser/ai.dbg.2.7.3.gbl.js.map +1 -0
  7. package/browser/ai.dbg.2.7.3.gbl.min.js +6 -0
  8. package/browser/ai.dbg.2.7.3.gbl.min.js.map +1 -0
  9. package/browser/ai.dbg.2.7.3.integrity.json +66 -0
  10. package/browser/{ai.dbg.2.7.3-nightly.2201-02.js → ai.dbg.2.7.3.js} +41 -31
  11. package/browser/ai.dbg.2.7.3.js.map +1 -0
  12. package/browser/ai.dbg.2.7.3.min.js +6 -0
  13. package/browser/ai.dbg.2.7.3.min.js.map +1 -0
  14. package/browser/ai.dbg.2.cjs.js +40 -30
  15. package/browser/ai.dbg.2.cjs.js.map +1 -1
  16. package/browser/ai.dbg.2.cjs.min.js +2 -2
  17. package/browser/ai.dbg.2.cjs.min.js.map +1 -1
  18. package/browser/ai.dbg.2.gbl.js +40 -30
  19. package/browser/ai.dbg.2.gbl.js.map +1 -1
  20. package/browser/ai.dbg.2.gbl.min.js +2 -2
  21. package/browser/ai.dbg.2.gbl.min.js.map +1 -1
  22. package/browser/ai.dbg.2.js +40 -30
  23. package/browser/ai.dbg.2.js.map +1 -1
  24. package/browser/ai.dbg.2.min.js +2 -2
  25. package/browser/ai.dbg.2.min.js.map +1 -1
  26. package/dist/applicationinsights-debugplugin-js.d.ts +1 -1
  27. package/dist/applicationinsights-debugplugin-js.js +40 -30
  28. package/dist/applicationinsights-debugplugin-js.js.map +1 -1
  29. package/dist/applicationinsights-debugplugin-js.min.js +2 -2
  30. package/dist/applicationinsights-debugplugin-js.min.js.map +1 -1
  31. package/dist/applicationinsights-debugplugin-js.rollup.d.ts +1 -1
  32. package/dist-esm/DebugPlugin.js +1 -1
  33. package/dist-esm/applicationinsights-debugplugin-js.js +1 -1
  34. package/dist-esm/components/Dashboard.js +1 -1
  35. package/dist-esm/components/LogEntry.js +1 -1
  36. package/dist-esm/components/debugBins.js +1 -1
  37. package/dist-esm/components/filterList.js +1 -1
  38. package/dist-esm/components/helpers.js +1 -1
  39. package/dist-esm/components/styleNodeSrc.js +1 -1
  40. package/dist-esm/interfaces/IDebugPluginConfig.js +1 -1
  41. package/package.json +54 -57
  42. package/browser/ai.dbg.2.7.3-nightly.2201-02.cjs.js.map +0 -1
  43. package/browser/ai.dbg.2.7.3-nightly.2201-02.cjs.min.js +0 -6
  44. package/browser/ai.dbg.2.7.3-nightly.2201-02.cjs.min.js.map +0 -1
  45. package/browser/ai.dbg.2.7.3-nightly.2201-02.gbl.js.map +0 -1
  46. package/browser/ai.dbg.2.7.3-nightly.2201-02.gbl.min.js +0 -6
  47. package/browser/ai.dbg.2.7.3-nightly.2201-02.gbl.min.js.map +0 -1
  48. package/browser/ai.dbg.2.7.3-nightly.2201-02.integrity.json +0 -66
  49. package/browser/ai.dbg.2.7.3-nightly.2201-02.js.map +0 -1
  50. package/browser/ai.dbg.2.7.3-nightly.2201-02.min.js +0 -6
  51. package/browser/ai.dbg.2.7.3-nightly.2201-02.min.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft.ApplicationInsights, 2.7.3-nightly.2201-02
2
+ * Microsoft.ApplicationInsights, 2.7.3
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 - Debug Plugin, 2.7.3-nightly.2201-02
2
+ * Application Insights JavaScript SDK - Debug Plugin, 2.7.3
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  (function (global, factory) {
@@ -19,20 +19,24 @@
19
19
  var ObjDefineProperty = ObjClass["defineProperty"];
20
20
  var ObjHasOwnProperty = ObjProto[strShimHasOwnProperty];
21
21
 
22
- function getGlobal() {
23
- if (typeof globalThis !== strShimUndefined && globalThis) {
24
- return globalThis;
25
- }
26
- if (typeof self !== strShimUndefined && self) {
27
- return self;
28
- }
29
- if (typeof window !== strShimUndefined && window) {
30
- return window;
31
- }
32
- if (typeof global !== strShimUndefined && global) {
33
- return global;
22
+ var _cachedGlobal = null;
23
+ function getGlobal(useCached) {
24
+ if (useCached === void 0) { useCached = true; }
25
+ if (!_cachedGlobal || !useCached) {
26
+ if (typeof globalThis !== strShimUndefined && globalThis) {
27
+ _cachedGlobal = globalThis;
28
+ }
29
+ if (typeof self !== strShimUndefined && self) {
30
+ _cachedGlobal = self;
31
+ }
32
+ if (typeof window !== strShimUndefined && window) {
33
+ _cachedGlobal = window;
34
+ }
35
+ if (typeof global !== strShimUndefined && global) {
36
+ _cachedGlobal = global;
37
+ }
34
38
  }
35
- return null;
39
+ return _cachedGlobal;
36
40
  }
37
41
  function throwTypeError(message) {
38
42
  throw new TypeError(message);
@@ -411,6 +415,7 @@
411
415
  var strOnPrefix = "on";
412
416
  var strAttachEvent = "attachEvent";
413
417
  var strAddEventHelper = "addEventListener";
418
+ var strToISOString = "toISOString";
414
419
  var _objDefineProperty = ObjDefineProperty;
415
420
  function objToString(obj) {
416
421
  return ObjProto.toString.call(obj);
@@ -512,22 +517,27 @@
512
517
  return typeof value === "symbol";
513
518
  }
514
519
  function toISOString(date) {
515
- if (isDate(date)) {
516
- var pad = function (num) {
517
- var r = String(num);
518
- if (r.length === 1) {
519
- r = "0" + r;
520
- }
521
- return r;
522
- };
523
- return date.getUTCFullYear()
524
- + "-" + pad(date.getUTCMonth() + 1)
525
- + "-" + pad(date.getUTCDate())
526
- + "T" + pad(date.getUTCHours())
527
- + ":" + pad(date.getUTCMinutes())
528
- + ":" + pad(date.getUTCSeconds())
529
- + "." + String((date.getUTCMilliseconds() / 1000).toFixed(3)).slice(2, 5)
530
- + "Z";
520
+ if (date) {
521
+ if (date[strToISOString]) {
522
+ return date[strToISOString]();
523
+ }
524
+ if (isDate(date)) {
525
+ var pad = function (num) {
526
+ var r = String(num);
527
+ if (r.length === 1) {
528
+ r = "0" + r;
529
+ }
530
+ return r;
531
+ };
532
+ return date.getUTCFullYear()
533
+ + "-" + pad(date.getUTCMonth() + 1)
534
+ + "-" + pad(date.getUTCDate())
535
+ + "T" + pad(date.getUTCHours())
536
+ + ":" + pad(date.getUTCMinutes())
537
+ + ":" + pad(date.getUTCSeconds())
538
+ + "." + String((date.getUTCMilliseconds() / 1000).toFixed(3)).slice(2, 5)
539
+ + "Z";
540
+ }
531
541
  }
532
542
  }
533
543
  function arrForEach(arr, callbackfn, thisArg) {