@microsoft/applicationinsights-react-native 2.4.2-nightly.2111-08 → 2.4.2-nightly.2111-09
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/Tests/External/DummyReactNative.js +25 -0
- package/Tests/Unit/src/reactnativeplugin.tests.ts +180 -0
- package/Tests/UnitTests.html +63 -0
- package/Tests/tsconfig.json +15 -0
- package/api-extractor.json +361 -0
- package/applicationinsights-react-native.build.error.log +27 -0
- package/applicationinsights-react-native.build.log +286 -0
- package/browser/applicationinsights-react-native.js +1 -1
- package/browser/applicationinsights-react-native.js.map +1 -1
- package/browser/applicationinsights-react-native.min.js +1 -1
- package/browser/applicationinsights-react-native.min.js.map +1 -1
- package/dist/applicationinsights-react-native.api.json +1 -1
- package/dist/applicationinsights-react-native.d.ts +1 -1
- package/dist/applicationinsights-react-native.js +1 -1
- package/dist/applicationinsights-react-native.js.map +1 -1
- package/dist/applicationinsights-react-native.min.js +1 -1
- 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/microsoft-applicationinsights-react-native-2.4.2-nightly.2111-09.tgz +0 -0
- package/package.json +4 -4
- package/rollup.config.js +147 -0
- package/temp/applicationinsights-react-native.api.md +53 -0
- package/tslint.json +5 -0
- package/types/tsdoc-metadata.json +1 -1
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
Unable to calculate incremental build state: Error: Cannot read property 'readFile' of undefined
|
|
2
|
+
Error loading config file: D:\a\1\s\extensions\applicationinsights-react-native\config\rig.json
|
|
3
|
+
|
|
4
|
+
Rush will proceed without incremental build, caching, and change detection.
|
|
5
|
+
|
|
6
|
+
Invoking: npm run build
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
> @microsoft/applicationinsights-react-native@2.4.2-nightly.2111-09 build D:\a\1\s\extensions\applicationinsights-react-native
|
|
10
|
+
> npm run build:esm && npm run build:package && npm run dtsgen
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
> @microsoft/applicationinsights-react-native@2.4.2-nightly.2111-09 build:esm D:\a\1\s\extensions\applicationinsights-react-native
|
|
14
|
+
> grunt reactnative
|
|
15
|
+
|
|
16
|
+
(node:3888) ExperimentalWarning: The fs.promises API is experimental
|
|
17
|
+
Running "eslint-ts:reactnative-lint-fix" (eslint-ts) task
|
|
18
|
+
grunt-eslint-typescript options: [object Object]{
|
|
19
|
+
"format": "codeframe",
|
|
20
|
+
"fix": true
|
|
21
|
+
}
|
|
22
|
+
>> The rootDir specified in your project file [./extensions/applicationinsights-react-native/tsconfig.json] is invalid as it assumes the current working directory.
|
|
23
|
+
>> - [extensions/applicationinsights-react-native/src] resolves to [D:\a\1\s\extensions\applicationinsights-react-native\extensions\applicationinsights-react-native\src]
|
|
24
|
+
>> - Overridding to use: [D:\a\1\s\extensions\applicationinsights-react-native\src]
|
|
25
|
+
>> -- Update or remove to fix this warning
|
|
26
|
+
>> The declarationDir specified in your project file [./extensions/applicationinsights-react-native/tsconfig.json] is invalid as it assumes the current working directory.
|
|
27
|
+
>> - [extensions/applicationinsights-react-native/types] resolves to [D:\a\1\s\extensions\applicationinsights-react-native\src\extensions\applicationinsights-react-native\types]
|
|
28
|
+
>> - Overridding to use: [D:\a\1\s\extensions\applicationinsights-react-native\types]
|
|
29
|
+
>> -- Update or remove to fix this warning
|
|
30
|
+
Adding files from grunt config... using: D:/a/1/s/extensions/applicationinsights-react-native/src
|
|
31
|
+
-----------------------------------------------------------------------------------------------------
|
|
32
|
+
- [./extensions/applicationinsights-react-native/src/**/*.ts]
|
|
33
|
+
=> [D:/a/1/s/extensions/applicationinsights-react-native/src/**/*.ts]
|
|
34
|
+
=> [src/**/*.ts]
|
|
35
|
+
-----------------------------------------------------------------------------------------------------
|
|
36
|
+
Creating Temporary TsConfig.json [extensions\applicationinsights-react-native\tsconfig.json-b4750d2d.tmp]:
|
|
37
|
+
{
|
|
38
|
+
"compilerOptions": {
|
|
39
|
+
"sourceMap": true,
|
|
40
|
+
"inlineSources": true,
|
|
41
|
+
"noImplicitAny": false,
|
|
42
|
+
"module": "es6",
|
|
43
|
+
"moduleResolution": "Node",
|
|
44
|
+
"target": "es5",
|
|
45
|
+
"alwaysStrict": true,
|
|
46
|
+
"suppressImplicitAnyIndexErrors": true,
|
|
47
|
+
"allowSyntheticDefaultImports": true,
|
|
48
|
+
"importHelpers": true,
|
|
49
|
+
"noEmitHelpers": true,
|
|
50
|
+
"forceConsistentCasingInFileNames": true,
|
|
51
|
+
"declaration": true,
|
|
52
|
+
"declarationDir": "extensions/applicationinsights-react-native/types",
|
|
53
|
+
"outDir": "dist-esm",
|
|
54
|
+
"rootDir": "extensions/applicationinsights-react-native/src"
|
|
55
|
+
},
|
|
56
|
+
"include": [
|
|
57
|
+
"./src/**/*.ts",
|
|
58
|
+
"src/**/*.ts"
|
|
59
|
+
],
|
|
60
|
+
"exclude": [
|
|
61
|
+
"./node_modules/**"
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
Using tsconfig: extensions\applicationinsights-react-native\tsconfig.json-b4750d2d.tmp
|
|
65
|
+
Found eslint-plugin-security -- automatically adding, to avoid this specify a null or empty parser option in your grunt config.
|
|
66
|
+
Module Path: D:/a/1/s/node_modules/@nevware21/grunt-eslint-ts
|
|
67
|
+
Using ESLint from : D:\a\1\s\node_modules\eslint\lib\api.js via grunt-eslint-ts v0.2.2
|
|
68
|
+
Using EsLint Options: [object Object]{
|
|
69
|
+
"baseConfig": {
|
|
70
|
+
"parserOptions": {
|
|
71
|
+
"project": "extensions\\applicationinsights-react-native\\tsconfig.json-b4750d2d.tmp"
|
|
72
|
+
},
|
|
73
|
+
"plugins": [
|
|
74
|
+
"@typescript-eslint",
|
|
75
|
+
"security"
|
|
76
|
+
],
|
|
77
|
+
"extends": [
|
|
78
|
+
"eslint:recommended",
|
|
79
|
+
"plugin:@typescript-eslint/recommended",
|
|
80
|
+
"plugin:security/recommended"
|
|
81
|
+
],
|
|
82
|
+
"parser": "@typescript-eslint/parser",
|
|
83
|
+
"rules": {}
|
|
84
|
+
},
|
|
85
|
+
"fix": true
|
|
86
|
+
}
|
|
87
|
+
Linting 2 files...
|
|
88
|
+
- ./extensions/applicationinsights-react-native/./src/**/*.ts
|
|
89
|
+
- ./extensions/applicationinsights-react-native/src/**/*.ts
|
|
90
|
+
|
|
91
|
+
5 Linting Results
|
|
92
|
+
No lint fixes identified...
|
|
93
|
+
|
|
94
|
+
Running "ts:reactnative" (ts) task
|
|
95
|
+
Module Path: D:/a/1/s/node_modules/@nevware21/grunt-ts-plugin
|
|
96
|
+
Using tsc version: 4.4.4 via grunt-ts-plugin v0.4.3
|
|
97
|
+
>> The rootDir specified in your project file [./extensions/applicationinsights-react-native/tsconfig.json] is invalid as it assumes the current working directory.
|
|
98
|
+
>> - [extensions/applicationinsights-react-native/src] resolves to [D:\a\1\s\extensions\applicationinsights-react-native\extensions\applicationinsights-react-native\src]
|
|
99
|
+
>> - Overridding to use: [D:\a\1\s\extensions\applicationinsights-react-native\src]
|
|
100
|
+
>> -- Update or remove to fix this warning
|
|
101
|
+
>> The declarationDir specified in your project file [./extensions/applicationinsights-react-native/tsconfig.json] is invalid as it assumes the current working directory.
|
|
102
|
+
>> - [extensions/applicationinsights-react-native/types] resolves to [D:\a\1\s\extensions\applicationinsights-react-native\src\extensions\applicationinsights-react-native\types]
|
|
103
|
+
>> - Overridding to use: [D:\a\1\s\extensions\applicationinsights-react-native\types]
|
|
104
|
+
>> -- Update or remove to fix this warning
|
|
105
|
+
Ts-Plugin...
|
|
106
|
+
rootDir from [cwd:D:\a\1\s]
|
|
107
|
+
- TSConfig: D:\a\1\s\extensions\applicationinsights-react-native
|
|
108
|
+
- Project : <assuming tsconfig location>
|
|
109
|
+
- Actual : D:\a\1\s\extensions\applicationinsights-react-native\src
|
|
110
|
+
Adding files from grunt config... using: D:/a/1/s/extensions/applicationinsights-react-native/src
|
|
111
|
+
-----------------------------------------------------------------------------------------------------
|
|
112
|
+
- [./extensions/applicationinsights-react-native/src/**/*.ts]
|
|
113
|
+
=> [D:/a/1/s/extensions/applicationinsights-react-native/src/**/*.ts]
|
|
114
|
+
=> [src/**/*.ts]
|
|
115
|
+
-----------------------------------------------------------------------------------------------------
|
|
116
|
+
Creating Temporary TsConfig.json [extensions\applicationinsights-react-native\tsconfig.json-56d78cf8.tmp]:
|
|
117
|
+
{
|
|
118
|
+
"compilerOptions": {
|
|
119
|
+
"sourceMap": true,
|
|
120
|
+
"inlineSources": true,
|
|
121
|
+
"noImplicitAny": false,
|
|
122
|
+
"module": "es6",
|
|
123
|
+
"moduleResolution": "Node",
|
|
124
|
+
"target": "es5",
|
|
125
|
+
"alwaysStrict": true,
|
|
126
|
+
"suppressImplicitAnyIndexErrors": true,
|
|
127
|
+
"allowSyntheticDefaultImports": true,
|
|
128
|
+
"importHelpers": true,
|
|
129
|
+
"noEmitHelpers": true,
|
|
130
|
+
"forceConsistentCasingInFileNames": true,
|
|
131
|
+
"declaration": true,
|
|
132
|
+
"declarationDir": "extensions/applicationinsights-react-native/types",
|
|
133
|
+
"outDir": "dist-esm",
|
|
134
|
+
"rootDir": "extensions/applicationinsights-react-native/src"
|
|
135
|
+
},
|
|
136
|
+
"include": [
|
|
137
|
+
"./src/**/*.ts",
|
|
138
|
+
"src/**/*.ts"
|
|
139
|
+
],
|
|
140
|
+
"exclude": [
|
|
141
|
+
"./node_modules/**"
|
|
142
|
+
]
|
|
143
|
+
}
|
|
144
|
+
Ts-Plugin Invoking: D:\a\1\s\node_modules\typescript\bin\tsc @tscommand-8513b746.tmp
|
|
145
|
+
Contents...
|
|
146
|
+
--declarationDir extensions/applicationinsights-react-native/types
|
|
147
|
+
--rootDir extensions/applicationinsights-react-native/src
|
|
148
|
+
--project extensions\applicationinsights-react-native\tsconfig.json-56d78cf8.tmp
|
|
149
|
+
|
|
150
|
+
TypeScript compiliation completed: 4.24s
|
|
151
|
+
|
|
152
|
+
Running "eslint-ts:reactnative-lint" (eslint-ts) task
|
|
153
|
+
grunt-eslint-typescript options: [object Object]{
|
|
154
|
+
"format": "codeframe"
|
|
155
|
+
}
|
|
156
|
+
>> The rootDir specified in your project file [./extensions/applicationinsights-react-native/tsconfig.json] is invalid as it assumes the current working directory.
|
|
157
|
+
>> - [extensions/applicationinsights-react-native/src] resolves to [D:\a\1\s\extensions\applicationinsights-react-native\extensions\applicationinsights-react-native\src]
|
|
158
|
+
>> - Overridding to use: [D:\a\1\s\extensions\applicationinsights-react-native\src]
|
|
159
|
+
>> -- Update or remove to fix this warning
|
|
160
|
+
>> The declarationDir specified in your project file [./extensions/applicationinsights-react-native/tsconfig.json] is invalid as it assumes the current working directory.
|
|
161
|
+
>> - [extensions/applicationinsights-react-native/types] resolves to [D:\a\1\s\extensions\applicationinsights-react-native\src\extensions\applicationinsights-react-native\types]
|
|
162
|
+
>> - Overridding to use: [D:\a\1\s\extensions\applicationinsights-react-native\types]
|
|
163
|
+
>> -- Update or remove to fix this warning
|
|
164
|
+
Adding files from grunt config... using: D:/a/1/s/extensions/applicationinsights-react-native/src
|
|
165
|
+
-----------------------------------------------------------------------------------------------------
|
|
166
|
+
- [./extensions/applicationinsights-react-native/src/**/*.ts]
|
|
167
|
+
=> [D:/a/1/s/extensions/applicationinsights-react-native/src/**/*.ts]
|
|
168
|
+
=> [src/**/*.ts]
|
|
169
|
+
-----------------------------------------------------------------------------------------------------
|
|
170
|
+
Creating Temporary TsConfig.json [extensions\applicationinsights-react-native\tsconfig.json-e55f0660.tmp]:
|
|
171
|
+
{
|
|
172
|
+
"compilerOptions": {
|
|
173
|
+
"sourceMap": true,
|
|
174
|
+
"inlineSources": true,
|
|
175
|
+
"noImplicitAny": false,
|
|
176
|
+
"module": "es6",
|
|
177
|
+
"moduleResolution": "Node",
|
|
178
|
+
"target": "es5",
|
|
179
|
+
"alwaysStrict": true,
|
|
180
|
+
"suppressImplicitAnyIndexErrors": true,
|
|
181
|
+
"allowSyntheticDefaultImports": true,
|
|
182
|
+
"importHelpers": true,
|
|
183
|
+
"noEmitHelpers": true,
|
|
184
|
+
"forceConsistentCasingInFileNames": true,
|
|
185
|
+
"declaration": true,
|
|
186
|
+
"declarationDir": "extensions/applicationinsights-react-native/types",
|
|
187
|
+
"outDir": "dist-esm",
|
|
188
|
+
"rootDir": "extensions/applicationinsights-react-native/src"
|
|
189
|
+
},
|
|
190
|
+
"include": [
|
|
191
|
+
"./src/**/*.ts",
|
|
192
|
+
"src/**/*.ts"
|
|
193
|
+
],
|
|
194
|
+
"exclude": [
|
|
195
|
+
"./node_modules/**"
|
|
196
|
+
]
|
|
197
|
+
}
|
|
198
|
+
Using tsconfig: extensions\applicationinsights-react-native\tsconfig.json-e55f0660.tmp
|
|
199
|
+
Found eslint-plugin-security -- automatically adding, to avoid this specify a null or empty parser option in your grunt config.
|
|
200
|
+
Module Path: D:/a/1/s/node_modules/@nevware21/grunt-eslint-ts
|
|
201
|
+
Using ESLint from : D:\a\1\s\node_modules\eslint\lib\api.js via grunt-eslint-ts v0.2.2
|
|
202
|
+
Using EsLint Options: [object Object]{
|
|
203
|
+
"baseConfig": {
|
|
204
|
+
"parserOptions": {
|
|
205
|
+
"project": "extensions\\applicationinsights-react-native\\tsconfig.json-e55f0660.tmp"
|
|
206
|
+
},
|
|
207
|
+
"plugins": [
|
|
208
|
+
"@typescript-eslint",
|
|
209
|
+
"security"
|
|
210
|
+
],
|
|
211
|
+
"extends": [
|
|
212
|
+
"eslint:recommended",
|
|
213
|
+
"plugin:@typescript-eslint/recommended",
|
|
214
|
+
"plugin:security/recommended"
|
|
215
|
+
],
|
|
216
|
+
"parser": "@typescript-eslint/parser",
|
|
217
|
+
"rules": {}
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
Linting 2 files...
|
|
221
|
+
- ./extensions/applicationinsights-react-native/./src/**/*.ts
|
|
222
|
+
- ./extensions/applicationinsights-react-native/src/**/*.ts
|
|
223
|
+
|
|
224
|
+
5 Linting Results
|
|
225
|
+
No lint fixes identified...
|
|
226
|
+
|
|
227
|
+
Done.
|
|
228
|
+
|
|
229
|
+
> @microsoft/applicationinsights-react-native@2.4.2-nightly.2111-09 build:package D:\a\1\s\extensions\applicationinsights-react-native
|
|
230
|
+
> rollup -c
|
|
231
|
+
|
|
232
|
+
Loading - ./dist-esm/index.js
|
|
233
|
+
Rewriting Map file - ./dist-esm/index.js.map
|
|
234
|
+
Loading - ./dist-esm/ReactNativePlugin.js
|
|
235
|
+
Prototypes removed...
|
|
236
|
+
Line Changed: ReactNativePlugin.prototype.initialize = function (config, // need `| object` to coerce to interface
|
|
237
|
+
Detected Removed lines 147 to 162
|
|
238
|
+
Replacing [import { __extends } from "tslib";] with [import { __extendsFn as __extends } from "@microsoft/applicationinsights-shims";]
|
|
239
|
+
Rewriting Map file - ./dist-esm/ReactNativePlugin.js.map
|
|
240
|
+
Loading - ./dist-esm/Interfaces/INativeDevice.js
|
|
241
|
+
Rewriting Map file - ./dist-esm/Interfaces/INativeDevice.js.map
|
|
242
|
+
Loading - ./dist-esm/Interfaces/index.js
|
|
243
|
+
Rewriting Map file - ./dist-esm/Interfaces/index.js.map
|
|
244
|
+
Loading - ./dist-esm/Interfaces/IReactNativePluginConfig.js
|
|
245
|
+
Rewriting Map file - ./dist-esm/Interfaces/IReactNativePluginConfig.js.map
|
|
246
|
+
|
|
247
|
+
dist-esm/index.js → browser/applicationinsights-react-native.min.js...
|
|
248
|
+
(!) Missing global variable name
|
|
249
|
+
Use output.globals to specify browser global variable names corresponding to external modules
|
|
250
|
+
react-native-device-info (guessing 'DeviceInfo')
|
|
251
|
+
created browser/applicationinsights-react-native.min.js in 2.4s
|
|
252
|
+
|
|
253
|
+
dist-esm/index.js → browser/applicationinsights-react-native.js...
|
|
254
|
+
(!) Missing global variable name
|
|
255
|
+
Use output.globals to specify browser global variable names corresponding to external modules
|
|
256
|
+
react-native-device-info (guessing 'DeviceInfo')
|
|
257
|
+
created browser/applicationinsights-react-native.js in 750ms
|
|
258
|
+
|
|
259
|
+
dist-esm/index.js → dist/applicationinsights-react-native.min.js...
|
|
260
|
+
(!) Missing global variable name
|
|
261
|
+
Use output.globals to specify browser global variable names corresponding to external modules
|
|
262
|
+
react-native-device-info (guessing 'DeviceInfo')
|
|
263
|
+
created dist/applicationinsights-react-native.min.js in 1.8s
|
|
264
|
+
|
|
265
|
+
dist-esm/index.js → dist/applicationinsights-react-native.js...
|
|
266
|
+
(!) Missing global variable name
|
|
267
|
+
Use output.globals to specify browser global variable names corresponding to external modules
|
|
268
|
+
react-native-device-info (guessing 'DeviceInfo')
|
|
269
|
+
created dist/applicationinsights-react-native.js in 692ms
|
|
270
|
+
|
|
271
|
+
> @microsoft/applicationinsights-react-native@2.4.2-nightly.2111-09 dtsgen D:\a\1\s\extensions\applicationinsights-react-native
|
|
272
|
+
> api-extractor run --local && node ../../scripts/dtsgen.js "Microsoft Application Insights react native plugin"
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
api-extractor 7.18.19 - https://api-extractor.com/
|
|
276
|
+
|
|
277
|
+
Using configuration from ./api-extractor.json
|
|
278
|
+
Analysis will use the bundled TypeScript version 4.4.4
|
|
279
|
+
Warning: The API report file was missing, so a new file was created. Please add this file to Git:
|
|
280
|
+
D:\a\1\s\extensions\applicationinsights-react-native\dist\applicationinsights-react-native.api.md
|
|
281
|
+
|
|
282
|
+
API Extractor completed successfully
|
|
283
|
+
Using Package: D:\a\1\s\extensions\applicationinsights-react-native\package.json, current path cwd D:\a\1\s\extensions\applicationinsights-react-native
|
|
284
|
+
Transforming: D:\a\1\s\extensions\applicationinsights-react-native\dist\applicationinsights-react-native.d.ts
|
|
285
|
+
File...
|
|
286
|
+
Lines: 44
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript SDK - React Native Plugin, 2.4.2-nightly.2111-
|
|
2
|
+
* Application Insights JavaScript SDK - React Native Plugin, 2.4.2-nightly.2111-09
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|