@microsoft/applicationinsights-react-js 3.3.6-nightly.2207-22 → 3.3.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/LICENSE +17 -17
- package/NOTICE +248 -0
- package/PRIVACY +3 -0
- package/README.md +12 -3
- package/browser/applicationinsights-react-js.js +8 -12
- package/browser/applicationinsights-react-js.js.map +1 -1
- package/browser/applicationinsights-react-js.min.js +2 -2
- package/browser/applicationinsights-react-js.min.js.map +1 -1
- package/dist/applicationinsights-react-js.api.json +1 -1
- package/dist/applicationinsights-react-js.d.ts +3 -3
- package/dist/applicationinsights-react-js.js +8 -12
- package/dist/applicationinsights-react-js.js.map +1 -1
- package/dist/applicationinsights-react-js.min.js +2 -2
- package/dist/applicationinsights-react-js.min.js.map +1 -1
- package/dist/applicationinsights-react-js.rollup.d.ts +3 -3
- package/dist-esm/AppInsightsContext.js +1 -1
- package/dist-esm/AppInsightsErrorBoundary.js +1 -1
- package/dist-esm/Interfaces/IReactExtensionConfig.js +1 -1
- package/dist-esm/ReactPlugin.js +1 -1
- package/dist-esm/applicationinsights-react-js.js +1 -1
- package/dist-esm/useTrackEvent.js +1 -1
- package/dist-esm/useTrackMetric.js +1 -1
- package/dist-esm/withAITracking.js +1 -1
- package/package.json +78 -76
- package/types/tsdoc-metadata.json +1 -1
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Copyright (c) Microsoft Corporation
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/NOTICE
ADDED
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
NOTICES AND INFORMATION
|
|
2
|
+
Do Not Translate or Localize
|
|
3
|
+
|
|
4
|
+
This software incorporates material from third parties.
|
|
5
|
+
Microsoft makes certain open source code available at https://3rdpartysource.microsoft.com,
|
|
6
|
+
or you may send a check or money order for US $5.00, including the product name,
|
|
7
|
+
the open source component name, platform, and version number, to:
|
|
8
|
+
|
|
9
|
+
Source Code Compliance Team
|
|
10
|
+
Microsoft Corporation
|
|
11
|
+
One Microsoft Way
|
|
12
|
+
Redmond, WA 98052
|
|
13
|
+
USA
|
|
14
|
+
|
|
15
|
+
Notwithstanding any other terms, you may reverse engineer this software to the extent
|
|
16
|
+
required to debug changes to any libraries licensed under the GNU Lesser General Public License.
|
|
17
|
+
|
|
18
|
+
---------------------------------------------------------
|
|
19
|
+
|
|
20
|
+
@babel/runtime 7.18.6 - MIT
|
|
21
|
+
https://babel.dev/docs/en/next/babel-runtime
|
|
22
|
+
|
|
23
|
+
Copyright (c) 2014-present, Facebook, Inc.
|
|
24
|
+
Copyright (c) 2014-present Sebastian McKenzie and other contributors
|
|
25
|
+
|
|
26
|
+
MIT License
|
|
27
|
+
|
|
28
|
+
Copyright (c) 2014-present Sebastian McKenzie and other contributors
|
|
29
|
+
|
|
30
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
31
|
+
a copy of this software and associated documentation files (the
|
|
32
|
+
"Software"), to deal in the Software without restriction, including
|
|
33
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
34
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
35
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
36
|
+
the following conditions:
|
|
37
|
+
|
|
38
|
+
The above copyright notice and this permission notice shall be
|
|
39
|
+
included in all copies or substantial portions of the Software.
|
|
40
|
+
|
|
41
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
42
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
43
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
44
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
45
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
46
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
47
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
---------------------------------------------------------
|
|
51
|
+
|
|
52
|
+
---------------------------------------------------------
|
|
53
|
+
|
|
54
|
+
history 5.3.0 - MIT
|
|
55
|
+
https://github.com/remix-run/history#readme
|
|
56
|
+
|
|
57
|
+
Copyright (c) React Training 2016-2020
|
|
58
|
+
Copyright (c) Remix Software 2020-2021
|
|
59
|
+
|
|
60
|
+
MIT License
|
|
61
|
+
|
|
62
|
+
Copyright (c) React Training 2016-2020
|
|
63
|
+
Copyright (c) Remix Software 2020-2021
|
|
64
|
+
|
|
65
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
66
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
67
|
+
in the Software without restriction, including without limitation the rights
|
|
68
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
69
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
70
|
+
furnished to do so, subject to the following conditions:
|
|
71
|
+
|
|
72
|
+
The above copyright notice and this permission notice shall be included in all
|
|
73
|
+
copies or substantial portions of the Software.
|
|
74
|
+
|
|
75
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
76
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
77
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
78
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
79
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
80
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
81
|
+
SOFTWARE.
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
---------------------------------------------------------
|
|
85
|
+
|
|
86
|
+
---------------------------------------------------------
|
|
87
|
+
|
|
88
|
+
js-tokens 4.0.0 - MIT
|
|
89
|
+
https://github.com/lydell/js-tokens#readme
|
|
90
|
+
|
|
91
|
+
Copyright 2014, 2015, 2016, 2017, 2018 Simon Lydell
|
|
92
|
+
Copyright (c) 2014, 2015, 2016, 2017, 2018 Simon Lydell
|
|
93
|
+
|
|
94
|
+
The MIT License (MIT)
|
|
95
|
+
|
|
96
|
+
Copyright (c) 2014, 2015, 2016, 2017, 2018 Simon Lydell
|
|
97
|
+
|
|
98
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
99
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
100
|
+
in the Software without restriction, including without limitation the rights
|
|
101
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
102
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
103
|
+
furnished to do so, subject to the following conditions:
|
|
104
|
+
|
|
105
|
+
The above copyright notice and this permission notice shall be included in
|
|
106
|
+
all copies or substantial portions of the Software.
|
|
107
|
+
|
|
108
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
109
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
110
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
111
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
112
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
113
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
114
|
+
THE SOFTWARE.
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
---------------------------------------------------------
|
|
118
|
+
|
|
119
|
+
---------------------------------------------------------
|
|
120
|
+
|
|
121
|
+
loose-envify 1.4.0 - MIT
|
|
122
|
+
https://github.com/zertosh/loose-envify
|
|
123
|
+
|
|
124
|
+
Copyright (c) 2015 Andres Suarez <zertosh@gmail.com>
|
|
125
|
+
|
|
126
|
+
The MIT License (MIT)
|
|
127
|
+
|
|
128
|
+
Copyright (c) 2015 Andres Suarez <zertosh@gmail.com>
|
|
129
|
+
|
|
130
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
131
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
132
|
+
in the Software without restriction, including without limitation the rights
|
|
133
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
134
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
135
|
+
furnished to do so, subject to the following conditions:
|
|
136
|
+
|
|
137
|
+
The above copyright notice and this permission notice shall be included in
|
|
138
|
+
all copies or substantial portions of the Software.
|
|
139
|
+
|
|
140
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
141
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
142
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
143
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
144
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
145
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
146
|
+
THE SOFTWARE.
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
---------------------------------------------------------
|
|
150
|
+
|
|
151
|
+
---------------------------------------------------------
|
|
152
|
+
|
|
153
|
+
object-assign 4.1.1 - MIT
|
|
154
|
+
https://github.com/sindresorhus/object-assign#readme
|
|
155
|
+
|
|
156
|
+
(c) Sindre Sorhus
|
|
157
|
+
(c) Sindre Sorhus (https://sindresorhus.com)
|
|
158
|
+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
|
159
|
+
|
|
160
|
+
The MIT License (MIT)
|
|
161
|
+
|
|
162
|
+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
|
163
|
+
|
|
164
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
165
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
166
|
+
in the Software without restriction, including without limitation the rights
|
|
167
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
168
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
169
|
+
furnished to do so, subject to the following conditions:
|
|
170
|
+
|
|
171
|
+
The above copyright notice and this permission notice shall be included in
|
|
172
|
+
all copies or substantial portions of the Software.
|
|
173
|
+
|
|
174
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
175
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
176
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
177
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
178
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
179
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
180
|
+
THE SOFTWARE.
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
---------------------------------------------------------
|
|
184
|
+
|
|
185
|
+
---------------------------------------------------------
|
|
186
|
+
|
|
187
|
+
react 17.0.2 - MIT
|
|
188
|
+
https://reactjs.org/
|
|
189
|
+
|
|
190
|
+
Copyright (c) Facebook, Inc. and its affiliates
|
|
191
|
+
|
|
192
|
+
MIT License
|
|
193
|
+
|
|
194
|
+
Copyright (c) Facebook, Inc. and its affiliates.
|
|
195
|
+
|
|
196
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
197
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
198
|
+
in the Software without restriction, including without limitation the rights
|
|
199
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
200
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
201
|
+
furnished to do so, subject to the following conditions:
|
|
202
|
+
|
|
203
|
+
The above copyright notice and this permission notice shall be included in all
|
|
204
|
+
copies or substantial portions of the Software.
|
|
205
|
+
|
|
206
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
207
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
208
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
209
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
210
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
211
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
212
|
+
SOFTWARE.
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
---------------------------------------------------------
|
|
216
|
+
|
|
217
|
+
---------------------------------------------------------
|
|
218
|
+
|
|
219
|
+
regenerator-runtime 0.13.9 - MIT
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
Copyright (c) 2014-present, Facebook, Inc.
|
|
223
|
+
|
|
224
|
+
MIT License
|
|
225
|
+
|
|
226
|
+
Copyright (c) 2014-present, Facebook, Inc.
|
|
227
|
+
|
|
228
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
229
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
230
|
+
in the Software without restriction, including without limitation the rights
|
|
231
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
232
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
233
|
+
furnished to do so, subject to the following conditions:
|
|
234
|
+
|
|
235
|
+
The above copyright notice and this permission notice shall be included in all
|
|
236
|
+
copies or substantial portions of the Software.
|
|
237
|
+
|
|
238
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
239
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
240
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
241
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
242
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
243
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
244
|
+
SOFTWARE.
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
---------------------------------------------------------
|
|
248
|
+
|
package/PRIVACY
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
# Data Collection
|
|
2
|
+
|
|
3
|
+
The software may collect information about you and your use of the software and send it to Microsoft. Microsoft may use this information to provide services and improve our products and services. You may turn off the telemetry as described in the repository. There are also some features in the software that may enable you and Microsoft to collect data from users of your applications. If you use these features, you must comply with applicable law, including providing appropriate notices to users of your applications together with a copy of Microsoft’s privacy statement. Our privacy statement is located at https://go.microsoft.com/fwlink/?LinkID=824704. You can learn more about data collection and use in the help documentation and our privacy statement. Your use of the software operates as your consent to these practices.
|
package/README.md
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
# Microsoft Application Insights JavaScript SDK - React Plugin
|
|
2
2
|
|
|
3
|
-
[](https://travis-ci.org/microsoft/ApplicationInsights-JS)
|
|
4
3
|
[](https://badge.fury.io/js/%40microsoft%2Fapplicationinsights-react-js)
|
|
5
4
|
|
|
6
5
|
React Plugin for the Application Insights Javascript SDK, enables the following:
|
|
@@ -96,7 +95,9 @@ Please note that it can take up to 10 minutes for new custom metric to appear in
|
|
|
96
95
|
|
|
97
96
|
[Azure-Samples/application-insights-react-demo](https://github.com/Azure-Samples/application-insights-react-demo).
|
|
98
97
|
|
|
98
|
+
## React Router
|
|
99
99
|
|
|
100
|
+
[react-router]: https://github.com/ReactTraining/react-router/blob/master/FAQ.md#how-do-i-access-the-history-object-outside-of-components
|
|
100
101
|
|
|
101
102
|
## Contributing
|
|
102
103
|
|
|
@@ -112,8 +113,16 @@ This project has adopted the [Microsoft Open Source Code of Conduct](https://ope
|
|
|
112
113
|
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
|
|
113
114
|
contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
|
|
114
115
|
|
|
116
|
+
## Data Collection
|
|
117
|
+
|
|
118
|
+
As this SDK is designed to enable applications to perform data collection which is sent to the Microsoft collection endpoints the following is required to identify our privacy statement.
|
|
119
|
+
|
|
120
|
+
The software may collect information about you and your use of the software and send it to Microsoft. Microsoft may use this information to provide services and improve our products and services. You may turn off the telemetry as described in the repository. There are also some features in the software that may enable you and Microsoft to collect data from users of your applications. If you use these features, you must comply with applicable law, including providing appropriate notices to users of your applications together with a copy of Microsoft’s privacy statement. Our privacy statement is located at https://go.microsoft.com/fwlink/?LinkID=824704. You can learn more about data collection and use in the help documentation and our privacy statement. Your use of the software operates as your consent to these practices.
|
|
121
|
+
|
|
122
|
+
## Trademarks
|
|
123
|
+
|
|
124
|
+
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow [Microsoft’s Trademark & Brand Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general). Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party’s policies.
|
|
125
|
+
|
|
115
126
|
## License
|
|
116
127
|
|
|
117
128
|
[MIT](LICENSE)
|
|
118
|
-
|
|
119
|
-
[react-router]: https://github.com/ReactTraining/react-router/blob/master/FAQ.md#how-do-i-access-the-history-object-outside-of-components
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript SDK - React Plugin, 3.3.6
|
|
2
|
+
* Application Insights JavaScript SDK - React Plugin, 3.3.6
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
|
|
13
13
|
function _interopNamespace(e) {
|
|
14
14
|
if (e && e.__esModule) return e;
|
|
15
|
-
var n =
|
|
15
|
+
var n = Object.create(null);
|
|
16
16
|
if (e) {
|
|
17
17
|
Object.keys(e).forEach(function (k) {
|
|
18
18
|
if (k !== 'default') {
|
|
19
|
-
var d =
|
|
20
|
-
|
|
19
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
20
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
21
21
|
enumerable: true,
|
|
22
22
|
get: function () { return e[k]; }
|
|
23
23
|
});
|
|
@@ -98,9 +98,7 @@
|
|
|
98
98
|
var __assignFn = ObjAssign || __objAssignFnImpl;
|
|
99
99
|
var extendStaticsFn = function (d, b) {
|
|
100
100
|
extendStaticsFn = ObjClass["setPrototypeOf"] ||
|
|
101
|
-
({ __proto__: [] } instanceof Array && function (d, b) {
|
|
102
|
-
d.__proto__ = b;
|
|
103
|
-
}) ||
|
|
101
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
104
102
|
function (d, b) {
|
|
105
103
|
for (var p in b) {
|
|
106
104
|
if (b[strShimHasOwnProperty](p)) {
|
|
@@ -115,9 +113,7 @@
|
|
|
115
113
|
throwTypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
116
114
|
}
|
|
117
115
|
extendStaticsFn(d, b);
|
|
118
|
-
function __() {
|
|
119
|
-
this.constructor = d;
|
|
120
|
-
}
|
|
116
|
+
function __() { this.constructor = d; }
|
|
121
117
|
d[strShimPrototype] = b === null ? objCreateFn(b) : (__[strShimPrototype] = b[strShimPrototype], new __());
|
|
122
118
|
}
|
|
123
119
|
|
|
@@ -1172,7 +1168,7 @@
|
|
|
1172
1168
|
}
|
|
1173
1169
|
|
|
1174
1170
|
var _objDefineProperty = ObjDefineProperty;
|
|
1175
|
-
var version =
|
|
1171
|
+
var version = '2.8.5';
|
|
1176
1172
|
var instanceName = "." + newId(6);
|
|
1177
1173
|
var _dataUid = 0;
|
|
1178
1174
|
function _createAccessor(target, prop, value) {
|
|
@@ -2332,7 +2328,7 @@
|
|
|
2332
2328
|
exports.useTrackMetric = useComponentTracking$1;
|
|
2333
2329
|
exports.withAITracking = withAITracking;
|
|
2334
2330
|
|
|
2335
|
-
|
|
2331
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2336
2332
|
|
|
2337
2333
|
}));
|
|
2338
2334
|
//# sourceMappingURL=applicationinsights-react-js.js.map
|