@microsoft/applicationinsights-react-native 2.4.4-nightly.2202-03 → 2.4.4-nightly.2202-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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Application Insights JavaScript SDK - React Native Plugin, 2.4.4-nightly.2202-03
2
+ * Application Insights JavaScript SDK - React Native Plugin, 2.4.4-nightly.2202-05
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  (function (global, factory) {
@@ -419,11 +419,9 @@
419
419
  var strToString = "toString";
420
420
  var _objDefineProperty = ObjDefineProperty;
421
421
  var _isArray = Array.isArray;
422
+ var _objToString = ObjProto[strToString];
422
423
  var _fnToString = ObjHasOwnProperty[strToString];
423
424
  _fnToString.call(ObjClass);
424
- function objToString(obj) {
425
- return ObjProto[strToString].call(obj);
426
- }
427
425
  function isUndefined(value) {
428
426
  return value === undefined || typeof value === strShimUndefined;
429
427
  }
@@ -439,11 +437,12 @@
439
437
  function isFunction(value) {
440
438
  return !!(value && typeof value === strShimFunction);
441
439
  }
442
- function isArray(obj) {
443
- return _isArray ? _isArray(obj) : !!(obj && objToString(obj) === "[object Array]");
440
+ var isArray = _isArray || _isArrayPoly;
441
+ function _isArrayPoly(obj) {
442
+ return !!(obj && _objToString.call(obj) === "[object Array]");
444
443
  }
445
444
  function isError(obj) {
446
- return !!(obj && objToString(obj) === "[object Error]");
445
+ return !!(obj && _objToString.call(obj) === "[object Error]");
447
446
  }
448
447
  function arrForEach(arr, callbackfn, thisArg) {
449
448
  var len = arr.length;