@react-native-windows/telemetry 0.66.0 → 0.68.0-preview.1

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.
Files changed (49) hide show
  1. package/lib-commonjs/index.d.ts +5 -2
  2. package/lib-commonjs/index.js +14 -5
  3. package/lib-commonjs/index.js.map +1 -1
  4. package/lib-commonjs/telemetry.d.ts +75 -20
  5. package/lib-commonjs/telemetry.js +285 -169
  6. package/lib-commonjs/telemetry.js.map +1 -1
  7. package/lib-commonjs/test/{sanitize.test.d.ts → basePropUtils.test.d.ts} +0 -0
  8. package/lib-commonjs/test/basePropUtils.test.js +116 -0
  9. package/lib-commonjs/test/basePropUtils.test.js.map +1 -0
  10. package/lib-commonjs/test/errorUtils.test.d.ts +7 -0
  11. package/lib-commonjs/test/errorUtils.test.js +159 -0
  12. package/lib-commonjs/test/errorUtils.test.js.map +1 -0
  13. package/lib-commonjs/test/projectUtils.test.d.ts +7 -0
  14. package/lib-commonjs/test/projectUtils.test.js +84 -0
  15. package/lib-commonjs/test/projectUtils.test.js.map +1 -0
  16. package/lib-commonjs/test/sanitizeUtils.test.d.ts +7 -0
  17. package/lib-commonjs/test/sanitizeUtils.test.js +94 -0
  18. package/lib-commonjs/test/sanitizeUtils.test.js.map +1 -0
  19. package/lib-commonjs/test/telemetry.test.d.ts +26 -0
  20. package/lib-commonjs/test/telemetry.test.js +469 -0
  21. package/lib-commonjs/test/telemetry.test.js.map +1 -0
  22. package/lib-commonjs/test/versionUtils.test.d.ts +7 -0
  23. package/lib-commonjs/test/versionUtils.test.js +111 -0
  24. package/lib-commonjs/test/versionUtils.test.js.map +1 -0
  25. package/lib-commonjs/utils/basePropUtils.d.ts +66 -0
  26. package/lib-commonjs/utils/basePropUtils.js +131 -0
  27. package/lib-commonjs/utils/basePropUtils.js.map +1 -0
  28. package/lib-commonjs/{CodedError.d.ts → utils/errorUtils.d.ts} +27 -8
  29. package/lib-commonjs/utils/errorUtils.js +164 -0
  30. package/lib-commonjs/utils/errorUtils.js.map +1 -0
  31. package/lib-commonjs/utils/optionUtils.d.ts +45 -0
  32. package/lib-commonjs/utils/optionUtils.js +96 -0
  33. package/lib-commonjs/utils/optionUtils.js.map +1 -0
  34. package/lib-commonjs/utils/projectUtils.d.ts +50 -0
  35. package/lib-commonjs/utils/projectUtils.js +187 -0
  36. package/lib-commonjs/utils/projectUtils.js.map +1 -0
  37. package/lib-commonjs/utils/sanitizeUtils.d.ts +12 -0
  38. package/lib-commonjs/utils/sanitizeUtils.js +82 -0
  39. package/lib-commonjs/utils/sanitizeUtils.js.map +1 -0
  40. package/lib-commonjs/utils/versionUtils.d.ts +38 -0
  41. package/lib-commonjs/utils/versionUtils.js +156 -0
  42. package/lib-commonjs/utils/versionUtils.js.map +1 -0
  43. package/package.json +26 -12
  44. package/CHANGELOG.json +0 -517
  45. package/CHANGELOG.md +0 -213
  46. package/lib-commonjs/CodedError.js +0 -77
  47. package/lib-commonjs/CodedError.js.map +0 -1
  48. package/lib-commonjs/test/sanitize.test.js +0 -259
  49. package/lib-commonjs/test/sanitize.test.js.map +0 -1
package/CHANGELOG.json DELETED
@@ -1,517 +0,0 @@
1
- {
2
- "name": "@react-native-windows/telemetry",
3
- "entries": [
4
- {
5
- "date": "Mon, 11 Oct 2021 15:06:48 GMT",
6
- "tag": "@react-native-windows/telemetry_v0.66.0",
7
- "version": "0.66.0",
8
- "comments": {
9
- "patch": [
10
- {
11
- "comment": "Promote 0.66 to latest",
12
- "author": "ngerlem@microsoft.com",
13
- "commit": "5d1e5ae98139204e02f0ac5d8c06ae7ee1157395",
14
- "package": "@react-native-windows/telemetry"
15
- }
16
- ]
17
- }
18
- },
19
- {
20
- "date": "Fri, 03 Sep 2021 18:48:19 GMT",
21
- "tag": "@react-native-windows/telemetry_v0.66.0-preview.1",
22
- "version": "0.66.0-preview.1",
23
- "comments": {
24
- "prerelease": [
25
- {
26
- "comment": "Promote 0.66 to preview",
27
- "author": "ngerlem@microsoft.com",
28
- "commit": "cf1dcfbe108028869e326bb2bdab370949f7dac8",
29
- "package": "@react-native-windows/telemetry"
30
- }
31
- ]
32
- }
33
- },
34
- {
35
- "date": "Sat, 24 Jul 2021 05:05:52 GMT",
36
- "tag": "@react-native-windows/telemetry_v0.0.0-canary.22",
37
- "version": "0.0.0-canary.22",
38
- "comments": {
39
- "none": [
40
- {
41
- "comment": "Bump @rnw-scripts/just-task to v2.2.0",
42
- "author": "4123478+tido64@users.noreply.github.com",
43
- "commit": "a311022ebc0c1d8070d7e54312197f486c470d33",
44
- "package": "@react-native-windows/telemetry"
45
- }
46
- ]
47
- }
48
- },
49
- {
50
- "date": "Tue, 29 Jun 2021 05:06:48 GMT",
51
- "tag": "@react-native-windows/telemetry_v0.0.0-canary.22",
52
- "version": "0.0.0-canary.22",
53
- "comments": {
54
- "none": [
55
- {
56
- "comment": "Deduplicate lockfile",
57
- "author": "ngerlem@microsoft.com",
58
- "commit": "2646cb69f4e031799d04ecd5453aa9d44b48b261",
59
- "package": "@react-native-windows/telemetry"
60
- }
61
- ]
62
- }
63
- },
64
- {
65
- "date": "Sat, 26 Jun 2021 05:06:48 GMT",
66
- "tag": "@react-native-windows/telemetry_v0.0.0-canary.22",
67
- "version": "0.0.0-canary.22",
68
- "comments": {
69
- "prerelease": [
70
- {
71
- "comment": "Upgrade to boost 1.76.0.0",
72
- "author": "julio.rocha@microsoft.com",
73
- "commit": "50e13c8cc7938d38bb19ca96225b5a85955c5ae5",
74
- "package": "@react-native-windows/telemetry"
75
- }
76
- ]
77
- }
78
- },
79
- {
80
- "date": "Fri, 11 Jun 2021 05:08:55 GMT",
81
- "tag": "@react-native-windows/telemetry_v0.0.0-canary.21",
82
- "version": "0.0.0-canary.21",
83
- "comments": {
84
- "prerelease": [
85
- {
86
- "comment": "Mark windowsOnly",
87
- "author": "ngerlem@microsoft.com",
88
- "commit": "3d7c8d8fcf14a3cbda83a93c85b0bcf1e4e4f829",
89
- "package": "@react-native-windows/telemetry"
90
- }
91
- ],
92
- "patch": [
93
- {
94
- "comment": "Bump @rnw-scripts/just-task to v2.2.0",
95
- "author": "ngerlem@microsoft.com",
96
- "commit": "3d7c8d8fcf14a3cbda83a93c85b0bcf1e4e4f829",
97
- "package": "@react-native-windows/telemetry"
98
- }
99
- ]
100
- }
101
- },
102
- {
103
- "date": "Wed, 09 Jun 2021 05:10:07 GMT",
104
- "tag": "@react-native-windows/telemetry_v0.0.0-canary.20",
105
- "version": "0.0.0-canary.20",
106
- "comments": {
107
- "patch": [
108
- {
109
- "comment": "Bump @rnw-scripts/just-task to v2.1.3",
110
- "author": "igklemen@microsoft.com",
111
- "commit": "2ba41a4f087cc3bf16cbe799575923fc7a626009",
112
- "package": "@react-native-windows/telemetry"
113
- },
114
- {
115
- "comment": "Bump @rnw-scripts/jest-unittest-config to v1.2.3",
116
- "author": "igklemen@microsoft.com",
117
- "commit": "2ba41a4f087cc3bf16cbe799575923fc7a626009",
118
- "package": "@react-native-windows/telemetry"
119
- }
120
- ]
121
- }
122
- },
123
- {
124
- "date": "Thu, 03 Jun 2021 05:09:47 GMT",
125
- "tag": "@react-native-windows/telemetry_v0.0.0-canary.19",
126
- "version": "0.0.0-canary.19",
127
- "comments": {
128
- "prerelease": [
129
- {
130
- "comment": "Enable esModuleInterop Repo Wide",
131
- "author": "ngerlem@microsoft.com",
132
- "commit": "6c871e6ba27888804c776e5deeefbc7064e181d0",
133
- "package": "@react-native-windows/telemetry"
134
- }
135
- ],
136
- "patch": [
137
- {
138
- "comment": "Bump @rnw-scripts/just-task to v2.1.2",
139
- "author": "ngerlem@microsoft.com",
140
- "commit": "b481f0a4ea68a8100860eb061902b715fca6652e",
141
- "package": "@react-native-windows/telemetry"
142
- },
143
- {
144
- "comment": "Bump @rnw-scripts/ts-config to v2.0.0",
145
- "author": "ngerlem@microsoft.com",
146
- "commit": "6c871e6ba27888804c776e5deeefbc7064e181d0",
147
- "package": "@react-native-windows/telemetry"
148
- },
149
- {
150
- "comment": "Bump @rnw-scripts/eslint-config to v1.1.7",
151
- "author": "ngerlem@microsoft.com",
152
- "commit": "b481f0a4ea68a8100860eb061902b715fca6652e",
153
- "package": "@react-native-windows/telemetry"
154
- },
155
- {
156
- "comment": "Bump @rnw-scripts/jest-unittest-config to v1.2.2",
157
- "author": "ngerlem@microsoft.com",
158
- "commit": "b481f0a4ea68a8100860eb061902b715fca6652e",
159
- "package": "@react-native-windows/telemetry"
160
- }
161
- ]
162
- }
163
- },
164
- {
165
- "date": "Fri, 21 May 2021 05:17:18 GMT",
166
- "tag": "@react-native-windows/telemetry_v0.0.0-canary.18",
167
- "version": "0.0.0-canary.18",
168
- "comments": {
169
- "prerelease": [
170
- {
171
- "comment": "Integrate Apr 28 (base of 0.65) Nightly RN Build",
172
- "author": "ngerlem@microsoft.com",
173
- "commit": "5cc9c87a48b392d287fa953d8d23a8188b689545",
174
- "package": "@react-native-windows/telemetry"
175
- }
176
- ],
177
- "patch": [
178
- {
179
- "comment": "Bump @rnw-scripts/just-task to v2.1.1",
180
- "author": "ngerlem@microsoft.com",
181
- "commit": "5cc9c87a48b392d287fa953d8d23a8188b689545",
182
- "package": "@react-native-windows/telemetry"
183
- },
184
- {
185
- "comment": "Bump @rnw-scripts/jest-unittest-config to v1.2.1",
186
- "author": "ngerlem@microsoft.com",
187
- "commit": "5cc9c87a48b392d287fa953d8d23a8188b689545",
188
- "package": "@react-native-windows/telemetry"
189
- }
190
- ]
191
- }
192
- },
193
- {
194
- "date": "Thu, 11 Feb 2021 05:08:29 GMT",
195
- "tag": "@react-native-windows/telemetry_v0.0.0-canary.17",
196
- "version": "0.0.0-canary.17",
197
- "comments": {
198
- "patch": [
199
- {
200
- "comment": "Bump @rnw-scripts/just-task to v2.1.0",
201
- "author": "ngerlem@microsoft.com",
202
- "commit": "ab41a9b88db59cba0eae1ff7a59c1b550cc8c2bf",
203
- "package": "@react-native-windows/telemetry"
204
- },
205
- {
206
- "comment": "Bump @rnw-scripts/jest-unittest-config to v1.2.0",
207
- "author": "ngerlem@microsoft.com",
208
- "commit": "ab41a9b88db59cba0eae1ff7a59c1b550cc8c2bf",
209
- "package": "@react-native-windows/telemetry"
210
- }
211
- ]
212
- }
213
- },
214
- {
215
- "date": "Tue, 09 Feb 2021 05:07:37 GMT",
216
- "tag": "@react-native-windows/telemetry_v0.0.0-canary.16",
217
- "version": "0.0.0-canary.16",
218
- "comments": {
219
- "prerelease": [
220
- {
221
- "comment": "Bump just-scripts from 1.3.2 to 1.3.3",
222
- "author": "dannyvv@microsoft.com",
223
- "commit": "ef4046c6a798446b6404dc26d0dd39224a0d7274",
224
- "package": "@react-native-windows/telemetry"
225
- }
226
- ],
227
- "patch": [
228
- {
229
- "comment": "Bump @rnw-scripts/just-task to v2.0.2",
230
- "author": "dannyvv@microsoft.com",
231
- "commit": "ef4046c6a798446b6404dc26d0dd39224a0d7274",
232
- "package": "@react-native-windows/telemetry"
233
- }
234
- ]
235
- }
236
- },
237
- {
238
- "date": "Fri, 05 Feb 2021 05:05:05 GMT",
239
- "tag": "@react-native-windows/telemetry_v0.0.0-canary.15",
240
- "version": "0.0.0-canary.15",
241
- "comments": {
242
- "none": [
243
- {
244
- "comment": "Make @types/node version explicit",
245
- "author": "ngerlem@microsoft.com",
246
- "commit": "22ee9e8c47a0c794e7d509a471547ba873578e31",
247
- "package": "@react-native-windows/telemetry"
248
- }
249
- ]
250
- }
251
- },
252
- {
253
- "date": "Thu, 28 Jan 2021 05:06:47 GMT",
254
- "tag": "@react-native-windows/telemetry_v0.0.0-canary.15",
255
- "version": "0.0.0-canary.15",
256
- "comments": {
257
- "prerelease": [
258
- {
259
- "comment": "Leverage default config support in Just library and factor out common tasks",
260
- "author": "dannyvv@microsoft.com",
261
- "commit": "54fb284afaf1b12ab51f1c29bb7ca67eddab8db1",
262
- "package": "@react-native-windows/telemetry"
263
- }
264
- ],
265
- "patch": [
266
- {
267
- "comment": "Bump @rnw-scripts/just-task to v2.0.1",
268
- "author": "dannyvv@microsoft.com",
269
- "commit": "54fb284afaf1b12ab51f1c29bb7ca67eddab8db1",
270
- "package": "@react-native-windows/telemetry"
271
- }
272
- ]
273
- }
274
- },
275
- {
276
- "date": "Tue, 26 Jan 2021 05:06:39 GMT",
277
- "tag": "@react-native-windows/telemetry_v0.0.0-canary.14",
278
- "version": "0.0.0-canary.14",
279
- "comments": {
280
- "prerelease": [
281
- {
282
- "comment": "Update @types package versions in package.json from dependabot updates to yarn.lock",
283
- "author": "dannyvv@microsoft.com",
284
- "commit": "b8f2beec9851dffe3188156c859cb123de926ba0",
285
- "package": "@react-native-windows/telemetry"
286
- }
287
- ],
288
- "none": [
289
- {
290
- "comment": "Update just-scripts to remove yargs-parser resolution",
291
- "author": "ngerlem@microsoft.com",
292
- "commit": "3d41c761d18cdc771a635bf9f5ef1259db9a27be",
293
- "package": "@react-native-windows/telemetry"
294
- }
295
- ],
296
- "patch": [
297
- {
298
- "comment": "Bump @rnw-scripts/just-task to v2.0.0",
299
- "author": "ngerlem@microsoft.com",
300
- "commit": "3d41c761d18cdc771a635bf9f5ef1259db9a27be",
301
- "package": "@react-native-windows/telemetry"
302
- }
303
- ]
304
- }
305
- },
306
- {
307
- "date": "Wed, 20 Jan 2021 01:45:54 GMT",
308
- "tag": "@react-native-windows/telemetry_v0.0.0-canary.13",
309
- "version": "0.0.0-canary.13",
310
- "comments": {
311
- "none": [
312
- {
313
- "comment": "Bump internally published packages to 1.0",
314
- "author": "ngerlem@microsoft.com",
315
- "commit": "982fb19448d7c9ed3f12fa27182fa69be83478c7",
316
- "package": "@react-native-windows/telemetry"
317
- }
318
- ]
319
- }
320
- },
321
- {
322
- "date": "Fri, 15 Jan 2021 05:07:01 GMT",
323
- "tag": "@react-native-windows/telemetry_v0.0.0-canary.13",
324
- "version": "0.0.0-canary.13",
325
- "comments": {
326
- "prerelease": [
327
- {
328
- "comment": "Remove appium from package dependency",
329
- "author": "dannyvv@microsoft.com",
330
- "commit": "3ffbf9311ab77935b65c6616d33a6538f0582780",
331
- "package": "@react-native-windows/telemetry"
332
- }
333
- ]
334
- }
335
- },
336
- {
337
- "date": "Wed, 13 Jan 2021 05:05:37 GMT",
338
- "tag": "@react-native-windows/telemetry_v0.0.0-canary.12",
339
- "version": "0.0.0-canary.12",
340
- "comments": {
341
- "none": [
342
- {
343
- "comment": "remove excessive change files",
344
- "author": "lehon@microsoft.com",
345
- "commit": "8c4a518552899dbacc7d9133e2e480c8f55df85d",
346
- "package": "@react-native-windows/telemetry"
347
- }
348
- ]
349
- }
350
- },
351
- {
352
- "date": "Tue, 05 Jan 2021 05:06:42 GMT",
353
- "tag": "@react-native-windows/telemetry_v0.0.0-canary.12",
354
- "version": "0.0.0-canary.12",
355
- "comments": {
356
- "prerelease": [
357
- {
358
- "comment": "Rework error reporting/telemetry to only log the minimal amount of data",
359
- "author": "asklar@microsoft.com",
360
- "commit": "226fc2c5f4fc300ad90bfc413d275e0fe0adf87f",
361
- "package": "@react-native-windows/telemetry"
362
- }
363
- ]
364
- }
365
- },
366
- {
367
- "date": "Thu, 03 Dec 2020 23:59:32 GMT",
368
- "tag": "@react-native-windows/telemetry_v0.0.0-canary.11",
369
- "version": "0.0.0-canary.11",
370
- "comments": {
371
- "prerelease": [
372
- {
373
- "comment": "Manual bump of @react-native-windows/telemetry to cause dependents to be republished",
374
- "author": "ngerlem@microsoft.com",
375
- "commit": "90ba61f3e43eafcac9e45b7c740bbfbda77fd5a1",
376
- "package": "@react-native-windows/telemetry"
377
- }
378
- ]
379
- }
380
- },
381
- {
382
- "date": "Tue, 24 Nov 2020 05:08:17 GMT",
383
- "tag": "@react-native-windows/telemetry_v0.0.0-canary.10",
384
- "version": "0.0.0-canary.10",
385
- "comments": {
386
- "prerelease": [
387
- {
388
- "comment": "Fixup naming convention rules",
389
- "author": "ngerlem@microsoft.com",
390
- "commit": "adc0617836a0fba4112646595645e65f93e0106f",
391
- "package": "@react-native-windows/telemetry"
392
- }
393
- ]
394
- }
395
- },
396
- {
397
- "date": "Fri, 20 Nov 2020 05:08:43 GMT",
398
- "tag": "@react-native-windows/telemetry_v0.0.0-canary.9",
399
- "version": "0.0.0-canary.9",
400
- "comments": {
401
- "none": [
402
- {
403
- "comment": "Integrate 11/18 RN Nightly Build 🎉",
404
- "author": "ngerlem@microsoft.com",
405
- "commit": "aba9483ea47b6d992877b325cc858a7e6309ead4",
406
- "package": "@react-native-windows/telemetry"
407
- }
408
- ]
409
- }
410
- },
411
- {
412
- "date": "Mon, 16 Nov 2020 14:39:19 GMT",
413
- "tag": "@react-native-windows/telemetry_v0.0.0-canary.8",
414
- "version": "0.0.0-canary.8",
415
- "comments": {
416
- "prerelease": [
417
- {
418
- "comment": "anonymize paths with forward slashes and file shares",
419
- "author": "asklar@microsoft.com",
420
- "commit": "04e766ef7304d0852a06e772cbfc1982897a3808",
421
- "package": "@react-native-windows/telemetry"
422
- }
423
- ]
424
- }
425
- },
426
- {
427
- "date": "Thu, 12 Nov 2020 05:05:57 GMT",
428
- "tag": "@react-native-windows/telemetry_v0.0.0-canary.7",
429
- "version": "0.0.0-canary.7",
430
- "comments": {
431
- "prerelease": [
432
- {
433
- "comment": "Disable telemetry in other CI systems",
434
- "author": "asklar@microsoft.com",
435
- "commit": "bcda5759d5d1bed770e7a8524e5cc3f94cbc0c6a",
436
- "package": "@react-native-windows/telemetry"
437
- }
438
- ]
439
- }
440
- },
441
- {
442
- "date": "Wed, 11 Nov 2020 05:05:29 GMT",
443
- "tag": "@react-native-windows/telemetry_v0.0.0-canary.6",
444
- "version": "0.0.0-canary.6",
445
- "comments": {
446
- "prerelease": [
447
- {
448
- "comment": "Silence warnings from appinsights in production",
449
- "author": "asklar@microsoft.com",
450
- "commit": "1893d23fce2daedbf55ae90c5f6775141400f401",
451
- "package": "@react-native-windows/telemetry"
452
- }
453
- ]
454
- }
455
- },
456
- {
457
- "date": "Sat, 07 Nov 2020 05:04:58 GMT",
458
- "tag": "@react-native-windows/telemetry_v0.0.0-canary.5",
459
- "version": "0.0.0-canary.5",
460
- "comments": {
461
- "prerelease": [
462
- {
463
- "comment": "Fix casing of msft domain",
464
- "author": "asklar@microsoft.com",
465
- "commit": "038cecd6638df6df39988fca433a104e82b3423e",
466
- "package": "@react-native-windows/telemetry"
467
- }
468
- ]
469
- }
470
- },
471
- {
472
- "date": "Fri, 06 Nov 2020 05:06:31 GMT",
473
- "tag": "@react-native-windows/telemetry_v0.0.0-canary.4",
474
- "version": "0.0.0-canary.4",
475
- "comments": {
476
- "prerelease": [
477
- {
478
- "comment": "Remove roleInstance property",
479
- "author": "asklar@microsoft.com",
480
- "commit": "9254556d1726e6bec145a50c9935fae868060444",
481
- "package": "@react-native-windows/telemetry"
482
- }
483
- ]
484
- }
485
- },
486
- {
487
- "date": "Thu, 05 Nov 2020 17:30:59 GMT",
488
- "tag": "@react-native-windows/telemetry_v0.0.0-canary.3",
489
- "version": "0.0.0-canary.3",
490
- "comments": {
491
- "prerelease": [
492
- {
493
- "comment": "sanitize paths in other drives too",
494
- "author": "asklar@microsoft.com",
495
- "commit": "10d82a2167557800fd518a13c170bdc7e7bffc14",
496
- "package": "@react-native-windows/telemetry"
497
- }
498
- ]
499
- }
500
- },
501
- {
502
- "date": "Thu, 05 Nov 2020 05:05:45 GMT",
503
- "tag": "@react-native-windows/telemetry_v0.0.0-canary.2",
504
- "version": "0.0.0-canary.2",
505
- "comments": {
506
- "prerelease": [
507
- {
508
- "comment": "Create telemetry package",
509
- "author": "asklar@microsoft.com",
510
- "commit": "61cc42e7f9b4dec313597fba6e99c6f22badbf7e",
511
- "package": "@react-native-windows/telemetry"
512
- }
513
- ]
514
- }
515
- }
516
- ]
517
- }