@microsoft/applicationinsights-debugplugin-js 2.8.9-nightly.2210-03 → 2.8.9-nightly.2210-05

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 (54) hide show
  1. package/browser/{ai.dbg.2.8.9-nightly.2210-03.cjs.js → ai.dbg.2.8.9-nightly.2210-05.cjs.js} +47 -23
  2. package/browser/ai.dbg.2.8.9-nightly.2210-05.cjs.js.map +1 -0
  3. package/browser/ai.dbg.2.8.9-nightly.2210-05.cjs.min.js +6 -0
  4. package/browser/ai.dbg.2.8.9-nightly.2210-05.cjs.min.js.map +1 -0
  5. package/browser/{ai.dbg.2.8.9-nightly.2210-03.gbl.js → ai.dbg.2.8.9-nightly.2210-05.gbl.js} +47 -23
  6. package/browser/ai.dbg.2.8.9-nightly.2210-05.gbl.js.map +1 -0
  7. package/browser/ai.dbg.2.8.9-nightly.2210-05.gbl.min.js +6 -0
  8. package/browser/ai.dbg.2.8.9-nightly.2210-05.gbl.min.js.map +1 -0
  9. package/browser/ai.dbg.2.8.9-nightly.2210-05.integrity.json +66 -0
  10. package/browser/{ai.dbg.2.8.9-nightly.2210-03.js → ai.dbg.2.8.9-nightly.2210-05.js} +47 -23
  11. package/browser/ai.dbg.2.8.9-nightly.2210-05.js.map +1 -0
  12. package/browser/ai.dbg.2.8.9-nightly.2210-05.min.js +6 -0
  13. package/browser/ai.dbg.2.8.9-nightly.2210-05.min.js.map +1 -0
  14. package/browser/ai.dbg.2.cjs.js +46 -22
  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 +46 -22
  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 +46 -22
  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.api.json +3 -2
  27. package/dist/applicationinsights-debugplugin-js.d.ts +1 -1
  28. package/dist/applicationinsights-debugplugin-js.js +46 -22
  29. package/dist/applicationinsights-debugplugin-js.js.map +1 -1
  30. package/dist/applicationinsights-debugplugin-js.min.js +2 -2
  31. package/dist/applicationinsights-debugplugin-js.min.js.map +1 -1
  32. package/dist/applicationinsights-debugplugin-js.rollup.d.ts +1 -1
  33. package/dist-esm/DebugPlugin.js +1 -1
  34. package/dist-esm/__DynamicConstants.js +1 -1
  35. package/dist-esm/applicationinsights-debugplugin-js.js +1 -1
  36. package/dist-esm/components/Dashboard.js +1 -1
  37. package/dist-esm/components/LogEntry.js +1 -1
  38. package/dist-esm/components/debugBins.js +1 -1
  39. package/dist-esm/components/filterList.js +1 -1
  40. package/dist-esm/components/helpers.js +1 -1
  41. package/dist-esm/components/styleNodeSrc.js +1 -1
  42. package/dist-esm/interfaces/IDebugPluginConfig.js +1 -1
  43. package/package.json +4 -4
  44. package/types/tsdoc-metadata.json +1 -1
  45. package/browser/ai.dbg.2.8.9-nightly.2210-03.cjs.js.map +0 -1
  46. package/browser/ai.dbg.2.8.9-nightly.2210-03.cjs.min.js +0 -6
  47. package/browser/ai.dbg.2.8.9-nightly.2210-03.cjs.min.js.map +0 -1
  48. package/browser/ai.dbg.2.8.9-nightly.2210-03.gbl.js.map +0 -1
  49. package/browser/ai.dbg.2.8.9-nightly.2210-03.gbl.min.js +0 -6
  50. package/browser/ai.dbg.2.8.9-nightly.2210-03.gbl.min.js.map +0 -1
  51. package/browser/ai.dbg.2.8.9-nightly.2210-03.integrity.json +0 -66
  52. package/browser/ai.dbg.2.8.9-nightly.2210-03.js.map +0 -1
  53. package/browser/ai.dbg.2.8.9-nightly.2210-03.min.js +0 -6
  54. package/browser/ai.dbg.2.8.9-nightly.2210-03.min.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Application Insights JavaScript SDK - Debug Plugin, 2.8.9-nightly.2210-03
2
+ * Application Insights JavaScript SDK - Debug Plugin, 2.8.9-nightly.2210-05
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  this.Microsoft = this.Microsoft || {};
@@ -20,21 +20,23 @@ this.Microsoft = this.Microsoft || {};
20
20
  var _cachedGlobal = null;
21
21
  function getGlobal(useCached) {
22
22
  if (useCached === void 0) { useCached = true; }
23
- if (!_cachedGlobal || !useCached) {
24
- if (typeof globalThis !== strShimUndefined && globalThis) {
25
- _cachedGlobal = globalThis;
23
+ var result = useCached === false ? null : _cachedGlobal;
24
+ if (!result) {
25
+ if (typeof globalThis !== strShimUndefined) {
26
+ result = globalThis;
26
27
  }
27
- if (typeof self !== strShimUndefined && self) {
28
- _cachedGlobal = self;
28
+ if (!result && typeof self !== strShimUndefined) {
29
+ result = self;
29
30
  }
30
- if (typeof window !== strShimUndefined && window) {
31
- _cachedGlobal = window;
31
+ if (!result && typeof window !== strShimUndefined) {
32
+ result = window;
32
33
  }
33
- if (typeof global !== strShimUndefined && global) {
34
- _cachedGlobal = global;
34
+ if (!result && typeof global !== strShimUndefined) {
35
+ result = global;
35
36
  }
37
+ _cachedGlobal = result;
36
38
  }
37
- return _cachedGlobal;
39
+ return result;
38
40
  }
39
41
  function throwTypeError(message) {
40
42
  throw new TypeError(message);
@@ -84,9 +86,11 @@ this.Microsoft = this.Microsoft || {};
84
86
  }
85
87
 
86
88
  /*!
87
- * Microsoft Dynamic Proto Utility, 1.1.6
89
+ * Microsoft Dynamic Proto Utility, 1.1.7
88
90
  * Copyright (c) Microsoft and contributors. All rights reserved.
89
91
  */
92
+ var _a;
93
+ var UNDEFINED = "undefined";
90
94
  var Constructor = 'constructor';
91
95
  var Prototype = 'prototype';
92
96
  var strFunction = 'function';
@@ -100,13 +104,37 @@ this.Microsoft = this.Microsoft || {};
100
104
  var UnknownValue = '_unknown_';
101
105
  var str__Proto$1 = "__proto__";
102
106
  var DynProtoBaseProto = "_dyn" + str__Proto$1;
107
+ var DynProtoGlobalSettings = "__dynProto$Gbl";
103
108
  var DynProtoCurrent = "_dynInstProto";
104
109
  var strUseBaseInst = 'useBaseInst';
105
110
  var strSetInstFuncs = 'setInstFuncs';
106
111
  var Obj = Object;
107
112
  var _objGetPrototypeOf$1 = Obj["getPrototypeOf"];
108
113
  var _objGetOwnProps = Obj["getOwnPropertyNames"];
109
- var _dynamicNames = 0;
114
+ function _getGlobal() {
115
+ var result;
116
+ if (typeof globalThis !== UNDEFINED) {
117
+ result = globalThis;
118
+ }
119
+ if (!result && typeof self !== UNDEFINED) {
120
+ result = self;
121
+ }
122
+ if (!result && typeof window !== UNDEFINED) {
123
+ result = window;
124
+ }
125
+ if (!result && typeof global !== UNDEFINED) {
126
+ result = global;
127
+ }
128
+ return result || {};
129
+ }
130
+ var _gbl = _getGlobal();
131
+ var _gblInst = _gbl[DynProtoGlobalSettings] || (_gbl[DynProtoGlobalSettings] = {
132
+ o: (_a = {},
133
+ _a[strSetInstFuncs] = true,
134
+ _a[strUseBaseInst] = true,
135
+ _a),
136
+ n: 1000
137
+ });
110
138
  function _hasOwnProperty(obj, prop) {
111
139
  return obj && Obj[Prototype].hasOwnProperty.call(obj, prop);
112
140
  }
@@ -300,15 +328,15 @@ this.Microsoft = this.Microsoft || {};
300
328
  }
301
329
  var classProto = theClass[Prototype];
302
330
  if (!_checkPrototype(classProto, target)) {
303
- _throwTypeError("[" + _getObjName(theClass) + "] is not in class hierarchy of [" + _getObjName(target) + "]");
331
+ _throwTypeError("[" + _getObjName(theClass) + "] not in hierarchy of [" + _getObjName(target) + "]");
304
332
  }
305
333
  var className = null;
306
334
  if (_hasOwnProperty(classProto, DynClassName)) {
307
335
  className = classProto[DynClassName];
308
336
  }
309
337
  else {
310
- className = DynClassNamePrefix + _getObjName(theClass, "_") + "$" + _dynamicNames;
311
- _dynamicNames++;
338
+ className = DynClassNamePrefix + _getObjName(theClass, "_") + "$" + _gblInst.n;
339
+ _gblInst.n++;
312
340
  classProto[DynClassName] = className;
313
341
  }
314
342
  var perfOptions = dynamicProto[DynProtoDefaultOptions];
@@ -325,11 +353,7 @@ this.Microsoft = this.Microsoft || {};
325
353
  }
326
354
  _populatePrototype(classProto, className, target, instFuncs, setInstanceFunc !== false);
327
355
  }
328
- var perfDefaults = {
329
- setInstFuncs: true,
330
- useBaseInst: true
331
- };
332
- dynamicProto[DynProtoDefaultOptions] = perfDefaults;
356
+ dynamicProto[DynProtoDefaultOptions] = _gblInst.o;
333
357
 
334
358
  var _DYN_INITIALIZE = "initialize";
335
359
  var _DYN_NAME$1 = "name";
@@ -1328,7 +1352,7 @@ this.Microsoft = this.Microsoft || {};
1328
1352
  }
1329
1353
 
1330
1354
  var _objDefineProperty = ObjDefineProperty;
1331
- var version = "2.8.9-nightly.2210-03";
1355
+ var version = "2.8.9-nightly.2210-05";
1332
1356
  var instanceName = "." + newId(6);
1333
1357
  var _dataUid = 0;
1334
1358
  function _createAccessor(target, prop, value) {
@@ -4023,4 +4047,4 @@ this.Microsoft = this.Microsoft || {};
4023
4047
  (function(obj, prop, descriptor) { /* ai_es3_polyfil defineProperty */ var func = Object["defineProperty"]; if (func) { try { return func(obj, prop, descriptor); } catch(e) { /* IE8 defines defineProperty, but will throw */ } } if (descriptor && typeof descriptor.value !== undefined) { obj[prop] = descriptor.value; } return obj; })(exports, '__esModule', { value: true });
4024
4048
 
4025
4049
  })(this.Microsoft.ApplicationInsights = this.Microsoft.ApplicationInsights || {});
4026
- //# sourceMappingURL=ai.dbg.2.8.9-nightly.2210-03.gbl.js.map
4050
+ //# sourceMappingURL=ai.dbg.2.8.9-nightly.2210-05.gbl.js.map