@microsoft/applicationinsights-react-js 3.2.4-nightly.2202-05 → 3.2.4-nightly.2202-07

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Application Insights JavaScript SDK - React Plugin, 3.2.4-nightly.2202-05
2
+ * Application Insights JavaScript SDK - React Plugin, 3.2.4-nightly.2202-07
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  (function (global, factory) {
@@ -457,9 +457,9 @@
457
457
  var strMap = "map";
458
458
  var strReduce = "reduce";
459
459
  var cStrTrim = "trim";
460
- var strKeys = "keys";
461
460
  var strToString = "toString";
462
461
  var _objDefineProperty = ObjDefineProperty;
462
+ var _objKeys = ObjClass.keys;
463
463
  var StringProto = String[strShimPrototype];
464
464
  var _strTrim = StringProto[cStrTrim];
465
465
  var _strEndsWith = StringProto[cStrEndsWith];
@@ -691,8 +691,8 @@
691
691
  if (objType !== strShimFunction && (objType !== strShimObject || obj === null)) {
692
692
  throwTypeError("objKeys called on non-object");
693
693
  }
694
- if (!_objKeysHasDontEnumBug && obj[strKeys]) {
695
- return obj[strKeys]();
694
+ if (!_objKeysHasDontEnumBug && _objKeys) {
695
+ return _objKeys(obj);
696
696
  }
697
697
  var result = [];
698
698
  for (var prop in obj) {