@microsoft/applicationinsights-dependencies-js 2.7.4-nightly.2202-05 → 2.8.0-nightly.2202-06

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
- * Microsoft Application Insights XHR dependencies plugin, 2.7.4-nightly.2202-05
2
+ * Microsoft Application Insights XHR dependencies plugin, 2.8.0-nightly.2202-06
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 - Dependencies Plugin, 2.7.4-nightly.2202-05
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 2.8.0-nightly.2202-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  (function (global, factory) {
@@ -430,11 +430,11 @@
430
430
  var strAddEventHelper = "addEventListener";
431
431
  var strToISOString = "toISOString";
432
432
  var cStrTrim = "trim";
433
- var strKeys = "keys";
434
433
  var strToString = "toString";
435
434
  var str__Proto = "__proto__";
436
435
  var strConstructor = "constructor";
437
436
  var _objDefineProperty = ObjDefineProperty;
437
+ var _objKeys = ObjClass.keys;
438
438
  var StringProto = String[strShimPrototype];
439
439
  var _strTrim = StringProto[cStrTrim];
440
440
  var DateProto = Date[strShimPrototype];
@@ -590,8 +590,8 @@
590
590
  if (objType !== strShimFunction && (objType !== strShimObject || obj === null)) {
591
591
  throwTypeError("objKeys called on non-object");
592
592
  }
593
- if (!_objKeysHasDontEnumBug && obj[strKeys]) {
594
- return obj[strKeys]();
593
+ if (!_objKeysHasDontEnumBug && _objKeys) {
594
+ return _objKeys(obj);
595
595
  }
596
596
  var result = [];
597
597
  for (var prop in obj) {