@microsoft/applicationinsights-debugplugin-js 3.3.4-nightly3.2409-15 → 3.3.4-nightly3.2409-18

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 (53) hide show
  1. package/browser/es5/{ai.dbg.3.3.4-nightly3.2409-15.cjs.js → ai.dbg.3.3.4-nightly3.2409-18.cjs.js} +34 -15
  2. package/browser/es5/ai.dbg.3.3.4-nightly3.2409-18.cjs.js.map +1 -0
  3. package/browser/es5/ai.dbg.3.3.4-nightly3.2409-18.cjs.min.js +6 -0
  4. package/browser/es5/ai.dbg.3.3.4-nightly3.2409-18.cjs.min.js.map +1 -0
  5. package/browser/es5/{ai.dbg.3.3.4-nightly3.2409-15.gbl.js → ai.dbg.3.3.4-nightly3.2409-18.gbl.js} +36 -17
  6. package/browser/es5/ai.dbg.3.3.4-nightly3.2409-18.gbl.js.map +1 -0
  7. package/browser/es5/ai.dbg.3.3.4-nightly3.2409-18.gbl.min.js +6 -0
  8. package/browser/es5/ai.dbg.3.3.4-nightly3.2409-18.gbl.min.js.map +1 -0
  9. package/browser/es5/ai.dbg.3.3.4-nightly3.2409-18.integrity.json +66 -0
  10. package/browser/es5/{ai.dbg.3.3.4-nightly3.2409-15.js → ai.dbg.3.3.4-nightly3.2409-18.js} +36 -17
  11. package/browser/es5/ai.dbg.3.3.4-nightly3.2409-18.js.map +1 -0
  12. package/browser/es5/ai.dbg.3.3.4-nightly3.2409-18.min.js +6 -0
  13. package/browser/es5/ai.dbg.3.3.4-nightly3.2409-18.min.js.map +1 -0
  14. package/browser/es5/ai.dbg.3.cjs.js +33 -14
  15. package/browser/es5/ai.dbg.3.cjs.js.map +1 -1
  16. package/browser/es5/ai.dbg.3.cjs.min.js +2 -2
  17. package/browser/es5/ai.dbg.3.cjs.min.js.map +1 -1
  18. package/browser/es5/ai.dbg.3.gbl.js +35 -16
  19. package/browser/es5/ai.dbg.3.gbl.js.map +1 -1
  20. package/browser/es5/ai.dbg.3.gbl.min.js +2 -2
  21. package/browser/es5/ai.dbg.3.gbl.min.js.map +1 -1
  22. package/browser/es5/ai.dbg.3.integrity.json +25 -25
  23. package/browser/es5/ai.dbg.3.js +35 -16
  24. package/browser/es5/ai.dbg.3.js.map +1 -1
  25. package/browser/es5/ai.dbg.3.min.js +2 -2
  26. package/browser/es5/ai.dbg.3.min.js.map +1 -1
  27. package/dist/es5/applicationinsights-debugplugin-js.js +33 -14
  28. package/dist/es5/applicationinsights-debugplugin-js.js.map +1 -1
  29. package/dist/es5/applicationinsights-debugplugin-js.min.js +2 -2
  30. package/dist/es5/applicationinsights-debugplugin-js.min.js.map +1 -1
  31. package/dist-es5/DebugPlugin.js +1 -1
  32. package/dist-es5/__DynamicConstants.js +1 -1
  33. package/dist-es5/applicationinsights-debugplugin-js.js +1 -1
  34. package/dist-es5/components/Dashboard.js +1 -1
  35. package/dist-es5/components/LogEntry.js +1 -1
  36. package/dist-es5/components/debugBins.js +1 -1
  37. package/dist-es5/components/filterList.js +1 -1
  38. package/dist-es5/components/helpers.js +1 -1
  39. package/dist-es5/components/styleNodeSrc.js +1 -1
  40. package/dist-es5/interfaces/IDebugPluginConfig.js +1 -1
  41. package/package.json +3 -3
  42. package/types/applicationinsights-debugplugin-js.d.ts +1 -1
  43. package/types/applicationinsights-debugplugin-js.namespaced.d.ts +1 -1
  44. package/browser/es5/ai.dbg.3.3.4-nightly3.2409-15.cjs.js.map +0 -1
  45. package/browser/es5/ai.dbg.3.3.4-nightly3.2409-15.cjs.min.js +0 -6
  46. package/browser/es5/ai.dbg.3.3.4-nightly3.2409-15.cjs.min.js.map +0 -1
  47. package/browser/es5/ai.dbg.3.3.4-nightly3.2409-15.gbl.js.map +0 -1
  48. package/browser/es5/ai.dbg.3.3.4-nightly3.2409-15.gbl.min.js +0 -6
  49. package/browser/es5/ai.dbg.3.3.4-nightly3.2409-15.gbl.min.js.map +0 -1
  50. package/browser/es5/ai.dbg.3.3.4-nightly3.2409-15.integrity.json +0 -66
  51. package/browser/es5/ai.dbg.3.3.4-nightly3.2409-15.js.map +0 -1
  52. package/browser/es5/ai.dbg.3.3.4-nightly3.2409-15.min.js +0 -6
  53. package/browser/es5/ai.dbg.3.3.4-nightly3.2409-15.min.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Application Insights JavaScript SDK - Debug Plugin, 3.3.4-nightly3.2409-15
2
+ * Application Insights JavaScript SDK - Debug Plugin, 3.3.4-nightly3.2409-18
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  'use strict';
@@ -11,7 +11,7 @@ var strShimUndefined = "undefined";
11
11
  var strShimPrototype = "prototype";
12
12
  var ObjClass$1 = Object;
13
13
 
14
- /*! https://github.com/nevware21/ts-utils v0.11.3 */
14
+ /*! https://github.com/nevware21/ts-utils v0.11.4 */
15
15
  /*#__NO_SIDE_EFFECTS__*/
16
16
  function _pureAssign(func1, func2) {
17
17
  return func1 || func2;
@@ -74,6 +74,10 @@ function isUndefined(value) {
74
74
  return typeof value === UNDEFINED || value === UNDEFINED;
75
75
  }
76
76
  /*#__NO_SIDE_EFFECTS__*/
77
+ function isStrictUndefined(arg) {
78
+ return !isDefined(arg);
79
+ }
80
+ /*#__NO_SIDE_EFFECTS__*/
77
81
  function isNullOrUndefined(value) {
78
82
  return value === NULL_VALUE || isUndefined(value);
79
83
  }
@@ -142,7 +146,7 @@ function _createProp(value) {
142
146
  }
143
147
  }
144
148
  objForEachKey(value, function (key, value) {
145
- prop[propMap[key]] = isUndefined(value) ? prop[propMap[key]] : value;
149
+ prop[propMap[key]] = isStrictUndefined(value) ? prop[propMap[key]] : value;
146
150
  });
147
151
  return prop;
148
152
  }
@@ -177,7 +181,7 @@ function dumpObj(object, format) {
177
181
  }
178
182
  try {
179
183
  propertyValueDump = JSON.stringify(object, NULL_VALUE, format ? ((typeof format === "number") ? format : 4) : UNDEF_VALUE);
180
- propertyValueDump = (propertyValueDump && propertyValueDump.replace(/"(\w+)"\s*:\s{0,1}/g, "$1: ")) || asString(object);
184
+ propertyValueDump = (propertyValueDump ? propertyValueDump.replace(/"(\w+)"\s*:\s{0,1}/g, "$1: ") : NULL_VALUE) || asString(object);
181
185
  }
182
186
  catch (e) {
183
187
  propertyValueDump = " - " + dumpObj(e, format);
@@ -247,9 +251,9 @@ function _getGlobalConfig() {
247
251
  var _unwrapFunction = ( _unwrapFunctionWithPoly);
248
252
  /*#__NO_SIDE_EFFECTS__*/
249
253
  function _unwrapFunctionWithPoly(funcName, clsProto, polyFunc) {
250
- var clsFn = clsProto && clsProto[funcName];
254
+ var clsFn = clsProto ? clsProto[funcName] : NULL_VALUE;
251
255
  return function (thisArg) {
252
- var theFunc = (thisArg && thisArg[funcName]) || clsFn;
256
+ var theFunc = (thisArg ? thisArg[funcName] : NULL_VALUE) || clsFn;
253
257
  if (theFunc || polyFunc) {
254
258
  var theArgs = arguments;
255
259
  return (theFunc || polyFunc).apply(thisArg, theFunc ? ArrSlice[CALL](theArgs, 1) : theArgs);
@@ -315,24 +319,37 @@ function _getGlobalInstFn(getFn, theArgs) {
315
319
  var cachedValue;
316
320
  return function () {
317
321
  !_globalLazyTestHooks && _initTestHooks();
318
- (!cachedValue || _globalLazyTestHooks.lzy) && (cachedValue = createCachedValue(safe(getFn, theArgs).v));
322
+ if (!cachedValue || _globalLazyTestHooks.lzy) {
323
+ cachedValue = createCachedValue(safe(getFn, theArgs).v);
324
+ }
319
325
  return cachedValue.v;
320
326
  };
321
327
  }
322
- /*#__NO_SIDE_EFFECTS__*/
323
328
  function getGlobal(useCached) {
324
329
  !_globalLazyTestHooks && _initTestHooks();
325
- (!_cachedGlobal || useCached === false || _globalLazyTestHooks.lzy) && (_cachedGlobal = createCachedValue(safe(_getGlobalValue).v || NULL_VALUE));
330
+ if (!_cachedGlobal || useCached === false || _globalLazyTestHooks.lzy) {
331
+ _cachedGlobal = createCachedValue(safe(_getGlobalValue).v || NULL_VALUE);
332
+ }
326
333
  return _cachedGlobal.v;
327
334
  }
328
335
  /*#__NO_SIDE_EFFECTS__*/
329
336
  function getInst(name, useCached) {
330
- var gbl = (!_cachedGlobal || useCached === false) ? getGlobal(useCached) : _cachedGlobal.v;
337
+ var gbl;
338
+ if (!_cachedGlobal || useCached === false) {
339
+ gbl = getGlobal(useCached);
340
+ }
341
+ else {
342
+ gbl = _cachedGlobal.v;
343
+ }
331
344
  if (gbl && gbl[name]) {
332
345
  return gbl[name];
333
346
  }
334
347
  if (name === WINDOW) {
335
- return getWindow();
348
+ try {
349
+ return window;
350
+ }
351
+ catch (e) {
352
+ }
336
353
  }
337
354
  return NULL_VALUE;
338
355
  }
@@ -387,7 +404,7 @@ function iterForOf(iter, callbackfn, thisArg) {
387
404
  if (iter) {
388
405
  if (!isIterator(iter)) {
389
406
  !_iterSymbol$1 && (_iterSymbol$1 = createCachedValue(getKnownSymbol(3 )));
390
- iter = iter[_iterSymbol$1.v] ? iter[_iterSymbol$1.v]() : null;
407
+ iter = iter[_iterSymbol$1.v] ? iter[_iterSymbol$1.v]() : NULL_VALUE;
391
408
  }
392
409
  if (isIterator(iter)) {
393
410
  var err = UNDEF_VALUE;
@@ -551,7 +568,7 @@ function isPlainObject(value) {
551
568
  if (objHasOwnProperty(proto, CONSTRUCTOR)) {
552
569
  proto = proto[CONSTRUCTOR];
553
570
  }
554
- result = proto && typeof proto === FUNCTION && _fnToString[CALL](proto) === _objCtrFnString;
571
+ result = !!(proto && typeof proto === FUNCTION && _fnToString[CALL](proto) === _objCtrFnString);
555
572
  }
556
573
  }
557
574
  catch (ex) {
@@ -644,6 +661,8 @@ function scheduleTimeout(callback, timeout) {
644
661
  return _createTimeoutWith(true, UNDEF_VALUE, ArrSlice[CALL](arguments));
645
662
  }
646
663
 
664
+ (getGlobal() || {})["Symbol"];
665
+ (getGlobal() || {})["Reflect"];
647
666
  var strHasOwnProperty = "hasOwnProperty";
648
667
  var extendStaticsFn = function (d, b) {
649
668
  extendStaticsFn = ObjClass$1["setPrototypeOf"] ||
@@ -1174,7 +1193,7 @@ function newId(maxLength) {
1174
1193
  return result;
1175
1194
  }
1176
1195
 
1177
- var version = '3.3.4-nightly3.2409-15';
1196
+ var version = '3.3.4-nightly3.2409-18';
1178
1197
  var instanceName = "." + newId(6);
1179
1198
  var _dataUid = 0;
1180
1199
  function _canAcceptData(target) {
@@ -4079,4 +4098,4 @@ var DebugPlugin = /** @class */ (function (_super) {
4079
4098
  var DebugPlugin$1 = DebugPlugin;
4080
4099
 
4081
4100
  exports.DebugPlugin = DebugPlugin$1;
4082
- //# sourceMappingURL=ai.dbg.3.3.4-nightly3.2409-15.cjs.js.map
4101
+ //# sourceMappingURL=ai.dbg.3.3.4-nightly3.2409-18.cjs.js.map