@microsoft/applicationinsights-debugplugin-js 2.8.0-beta.2203-09 → 2.8.0-beta.2203-12

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 (58) hide show
  1. package/browser/{ai.dbg.2.8.0-beta.2203-09.cjs.js → ai.dbg.2.8.0-beta.2203-12.cjs.js} +17 -8
  2. package/browser/ai.dbg.2.8.0-beta.2203-12.cjs.js.map +1 -0
  3. package/browser/ai.dbg.2.8.0-beta.2203-12.cjs.min.js +6 -0
  4. package/browser/ai.dbg.2.8.0-beta.2203-12.cjs.min.js.map +1 -0
  5. package/browser/{ai.dbg.2.8.0-beta.2203-09.gbl.js → ai.dbg.2.8.0-beta.2203-12.gbl.js} +17 -8
  6. package/browser/ai.dbg.2.8.0-beta.2203-12.gbl.js.map +1 -0
  7. package/browser/ai.dbg.2.8.0-beta.2203-12.gbl.min.js +6 -0
  8. package/browser/ai.dbg.2.8.0-beta.2203-12.gbl.min.js.map +1 -0
  9. package/browser/ai.dbg.2.8.0-beta.2203-12.integrity.json +66 -0
  10. package/browser/{ai.dbg.2.8.0-beta.2203-09.js → ai.dbg.2.8.0-beta.2203-12.js} +17 -8
  11. package/browser/ai.dbg.2.8.0-beta.2203-12.js.map +1 -0
  12. package/browser/ai.dbg.2.8.0-beta.2203-12.min.js +6 -0
  13. package/browser/ai.dbg.2.8.0-beta.2203-12.min.js.map +1 -0
  14. package/browser/ai.dbg.2.cjs.js +16 -7
  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 +16 -7
  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 +16 -7
  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 +1 -1
  27. package/dist/applicationinsights-debugplugin-js.d.ts +1 -1
  28. package/dist/applicationinsights-debugplugin-js.js +16 -7
  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/applicationinsights-debugplugin-js.js +1 -1
  35. package/dist-esm/components/Dashboard.js +1 -1
  36. package/dist-esm/components/LogEntry.js +3 -3
  37. package/dist-esm/components/LogEntry.js.map +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/src/components/LogEntry.ts +2 -2
  45. package/src/components/debugBins.ts +7 -6
  46. package/src/components/helpers.ts +55 -45
  47. package/src/components/styleNodeSrc.ts +33 -33
  48. package/types/tsdoc-metadata.json +1 -1
  49. package/browser/ai.dbg.2.8.0-beta.2203-09.cjs.js.map +0 -1
  50. package/browser/ai.dbg.2.8.0-beta.2203-09.cjs.min.js +0 -6
  51. package/browser/ai.dbg.2.8.0-beta.2203-09.cjs.min.js.map +0 -1
  52. package/browser/ai.dbg.2.8.0-beta.2203-09.gbl.js.map +0 -1
  53. package/browser/ai.dbg.2.8.0-beta.2203-09.gbl.min.js +0 -6
  54. package/browser/ai.dbg.2.8.0-beta.2203-09.gbl.min.js.map +0 -1
  55. package/browser/ai.dbg.2.8.0-beta.2203-09.integrity.json +0 -66
  56. package/browser/ai.dbg.2.8.0-beta.2203-09.js.map +0 -1
  57. package/browser/ai.dbg.2.8.0-beta.2203-09.min.js +0 -6
  58. package/browser/ai.dbg.2.8.0-beta.2203-09.min.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Application Insights JavaScript SDK - Debug Plugin, 2.8.0-beta.2203-09
2
+ * Application Insights JavaScript SDK - Debug Plugin, 2.8.0-beta.2203-12
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  'use strict';
@@ -60,7 +60,9 @@ function objCreateFn(obj) {
60
60
  (getGlobal() || {})["Reflect"];
61
61
  var extendStaticsFn = function (d, b) {
62
62
  extendStaticsFn = ObjClass["setPrototypeOf"] ||
63
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
63
+ ({ __proto__: [] } instanceof Array && function (d, b) {
64
+ d.__proto__ = b;
65
+ }) ||
64
66
  function (d, b) {
65
67
  for (var p in b) {
66
68
  if (b[strShimHasOwnProperty](p)) {
@@ -75,7 +77,9 @@ function __extendsFn(d, b) {
75
77
  throwTypeError("Class extends value " + String(b) + " is not a constructor or null");
76
78
  }
77
79
  extendStaticsFn(d, b);
78
- function __() { this.constructor = d; }
80
+ function __() {
81
+ this.constructor = d;
82
+ }
79
83
  d[strShimPrototype] = b === null ? objCreateFn(b) : (__[strShimPrototype] = b[strShimPrototype], new __());
80
84
  }
81
85
 
@@ -366,6 +370,9 @@ function _getObjProto(target) {
366
370
  }
367
371
  return null;
368
372
  }
373
+ function objToString(obj) {
374
+ return _objToString.call(obj);
375
+ }
369
376
  function isTypeof(value, theType) {
370
377
  return typeof value === theType;
371
378
  }
@@ -1257,7 +1264,7 @@ function newId(maxLength) {
1257
1264
  }
1258
1265
 
1259
1266
  var _objDefineProperty = ObjDefineProperty;
1260
- var version = "2.7.3";
1267
+ var version = "2.8.0-beta.2203-12";
1261
1268
  var instanceName = "." + newId(6);
1262
1269
  var _dataUid = 0;
1263
1270
  function _createAccessor(target, prop, value) {
@@ -1355,7 +1362,9 @@ function _createInternalContext(telemetryChain, config, core, startAt) {
1355
1362
  var context = {
1356
1363
  _next: _moveNext,
1357
1364
  ctx: {
1358
- core: function () { return core; },
1365
+ core: function () {
1366
+ return core;
1367
+ },
1359
1368
  diagLog: function () {
1360
1369
  return safeGetLogger(core, config);
1361
1370
  },
@@ -2115,7 +2124,7 @@ function _getEvtNamespace(eventName, evtNamespace) {
2115
2124
  eventName = (eventName || "") + theNamespace_1;
2116
2125
  }
2117
2126
  }
2118
- var parsedEvent = (eventNamespace.exec(eventName) || []);
2127
+ var parsedEvent = (eventNamespace.exec(eventName || "") || []);
2119
2128
  return {
2120
2129
  type: parsedEvent[1],
2121
2130
  ns: ((parsedEvent[2] || "").replace(rRemoveEmptyNs, ".").replace(rRemoveTrailingEmptyNs, "").split(".").sort()).join(".")
@@ -3353,7 +3362,7 @@ var LogEntry = /** @class */ (function () {
3353
3362
  }
3354
3363
  }
3355
3364
  else if (isString(value) || isNumber(value) || isBoolean(value)) {
3356
- return _testValue(rg, value.toString());
3365
+ return _testValue(rg, objToString(value));
3357
3366
  }
3358
3367
  }
3359
3368
  return false;
@@ -3959,4 +3968,4 @@ var DebugPlugin = /** @class */ (function (_super) {
3959
3968
  var DebugPlugin$1 = DebugPlugin;
3960
3969
 
3961
3970
  exports.DebugPlugin = DebugPlugin$1;
3962
- //# sourceMappingURL=ai.dbg.2.8.0-beta.2203-09.cjs.js.map
3971
+ //# sourceMappingURL=ai.dbg.2.8.0-beta.2203-12.cjs.js.map