@microsoft/applicationinsights-react-native 2.4.5 → 2.4.6
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.
- package/browser/applicationinsights-react-native.js +15 -13
- package/browser/applicationinsights-react-native.js.map +1 -1
- package/browser/applicationinsights-react-native.min.js +2 -2
- package/browser/applicationinsights-react-native.min.js.map +1 -1
- package/dist/applicationinsights-react-native.d.ts +1 -1
- package/dist/applicationinsights-react-native.js +15 -13
- package/dist/applicationinsights-react-native.js.map +1 -1
- package/dist/applicationinsights-react-native.min.js +2 -2
- package/dist/applicationinsights-react-native.min.js.map +1 -1
- package/dist/applicationinsights-react-native.rollup.d.ts +1 -1
- package/dist-esm/Interfaces/INativeDevice.js +1 -1
- package/dist-esm/Interfaces/IReactNativePluginConfig.js +1 -1
- package/dist-esm/Interfaces/index.js +1 -1
- package/dist-esm/ReactNativePlugin.js +1 -1
- package/dist-esm/index.js +1 -1
- package/package.json +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript SDK - React Native Plugin, 2.4.
|
|
2
|
+
* Application Insights JavaScript SDK - React Native Plugin, 2.4.6
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
/*!
|
|
89
|
-
* Microsoft Dynamic Proto Utility, 1.1.
|
|
89
|
+
* Microsoft Dynamic Proto Utility, 1.1.6
|
|
90
90
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
91
91
|
*/
|
|
92
92
|
var Constructor = 'constructor';
|
|
@@ -99,13 +99,15 @@
|
|
|
99
99
|
var DynInstChkTag = '_dynInstChk';
|
|
100
100
|
var DynAllowInstChkTag = DynInstChkTag;
|
|
101
101
|
var DynProtoDefaultOptions = '_dfOpts';
|
|
102
|
-
var DynProtoPolyProto = "_dynProto";
|
|
103
102
|
var UnknownValue = '_unknown_';
|
|
104
103
|
var str__Proto = "__proto__";
|
|
104
|
+
var DynProtoBaseProto = "_dyn" + str__Proto;
|
|
105
|
+
var DynProtoCurrent = "_dynInstProto";
|
|
105
106
|
var strUseBaseInst = 'useBaseInst';
|
|
106
107
|
var strSetInstFuncs = 'setInstFuncs';
|
|
107
108
|
var Obj = Object;
|
|
108
109
|
var _objGetPrototypeOf = Obj["getPrototypeOf"];
|
|
110
|
+
var _objGetOwnProps = Obj["getOwnPropertyNames"];
|
|
109
111
|
var _dynamicNames = 0;
|
|
110
112
|
function _hasOwnProperty(obj, prop) {
|
|
111
113
|
return obj && Obj[Prototype].hasOwnProperty.call(obj, prop);
|
|
@@ -117,25 +119,25 @@
|
|
|
117
119
|
return _isObjectOrArrayPrototype(target) || target === Function[Prototype];
|
|
118
120
|
}
|
|
119
121
|
function _getObjProto(target) {
|
|
122
|
+
var newProto;
|
|
120
123
|
if (target) {
|
|
121
124
|
if (_objGetPrototypeOf) {
|
|
122
125
|
return _objGetPrototypeOf(target);
|
|
123
126
|
}
|
|
124
|
-
var
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
127
|
+
var curProto = target[str__Proto] || target[Prototype] || (target[Constructor] ? target[Constructor][Prototype] : null);
|
|
128
|
+
newProto = target[DynProtoBaseProto] || curProto;
|
|
129
|
+
if (!_hasOwnProperty(target, DynProtoBaseProto)) {
|
|
130
|
+
delete target[DynProtoCurrent];
|
|
131
|
+
newProto = target[DynProtoBaseProto] = target[DynProtoCurrent] || target[DynProtoBaseProto];
|
|
132
|
+
target[DynProtoCurrent] = curProto;
|
|
130
133
|
}
|
|
131
134
|
}
|
|
132
|
-
return
|
|
135
|
+
return newProto;
|
|
133
136
|
}
|
|
134
137
|
function _forEachProp(target, func) {
|
|
135
138
|
var props = [];
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
props = getOwnProps(target);
|
|
139
|
+
if (_objGetOwnProps) {
|
|
140
|
+
props = _objGetOwnProps(target);
|
|
139
141
|
}
|
|
140
142
|
else {
|
|
141
143
|
for (var name_1 in target) {
|