@elastic/synthetics 1.0.0-beta.25 → 1.0.0-beta.26

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 (116) hide show
  1. package/README.md +1 -1
  2. package/dist/cli.js +42 -5
  3. package/dist/cli.js.map +1 -1
  4. package/dist/common_types.d.ts +59 -5
  5. package/dist/common_types.d.ts.map +1 -1
  6. package/dist/core/gatherer.d.ts +2 -2
  7. package/dist/core/gatherer.d.ts.map +1 -1
  8. package/dist/core/gatherer.js.map +1 -1
  9. package/dist/core/index.d.ts +4 -0
  10. package/dist/core/index.d.ts.map +1 -1
  11. package/dist/core/index.js +15 -1
  12. package/dist/core/index.js.map +1 -1
  13. package/dist/core/runner.d.ts +10 -58
  14. package/dist/core/runner.d.ts.map +1 -1
  15. package/dist/core/runner.js +88 -49
  16. package/dist/core/runner.js.map +1 -1
  17. package/dist/dsl/journey.d.ts +3 -0
  18. package/dist/dsl/journey.d.ts.map +1 -1
  19. package/dist/dsl/journey.js +15 -0
  20. package/dist/dsl/journey.js.map +1 -1
  21. package/dist/dsl/monitor.d.ts +64 -0
  22. package/dist/dsl/monitor.d.ts.map +1 -0
  23. package/dist/dsl/monitor.js +62 -0
  24. package/dist/dsl/monitor.js.map +1 -0
  25. package/dist/generator/index.d.ts +13 -0
  26. package/dist/generator/index.d.ts.map +1 -0
  27. package/dist/generator/index.js +123 -0
  28. package/dist/generator/index.js.map +1 -0
  29. package/dist/{reporters/reporter.js → generator/utils.d.ts} +3 -3
  30. package/dist/generator/utils.d.ts.map +1 -0
  31. package/dist/generator/utils.js +44 -0
  32. package/dist/generator/utils.js.map +1 -0
  33. package/dist/helpers.d.ts +12 -6
  34. package/dist/helpers.d.ts.map +1 -1
  35. package/dist/helpers.js +33 -43
  36. package/dist/helpers.js.map +1 -1
  37. package/dist/index.d.ts +2 -7
  38. package/dist/index.d.ts.map +1 -1
  39. package/dist/index.js +4 -3
  40. package/dist/index.js.map +1 -1
  41. package/dist/loader.js +4 -4
  42. package/dist/loader.js.map +1 -1
  43. package/dist/options.d.ts +12 -0
  44. package/dist/options.d.ts.map +1 -1
  45. package/dist/options.js +66 -4
  46. package/dist/options.js.map +1 -1
  47. package/dist/plugins/performance.d.ts +1 -16
  48. package/dist/plugins/performance.d.ts.map +1 -1
  49. package/dist/plugins/performance.js.map +1 -1
  50. package/dist/plugins/plugin-manager.d.ts +1 -1
  51. package/dist/push/bundler.d.ts +34 -0
  52. package/dist/push/bundler.d.ts.map +1 -0
  53. package/dist/push/bundler.js +119 -0
  54. package/dist/push/bundler.js.map +1 -0
  55. package/{src/reporters/reporter.ts → dist/push/index.d.ts} +4 -11
  56. package/dist/push/index.d.ts.map +1 -0
  57. package/dist/push/index.js +58 -0
  58. package/dist/push/index.js.map +1 -0
  59. package/dist/{reporters/reporter.d.ts → push/monitor.d.ts} +7 -8
  60. package/dist/push/monitor.d.ts.map +1 -0
  61. package/dist/push/monitor.js +67 -0
  62. package/dist/push/monitor.js.map +1 -0
  63. package/dist/push/plugin.d.ts +33 -0
  64. package/dist/push/plugin.d.ts.map +1 -0
  65. package/dist/push/plugin.js +123 -0
  66. package/dist/push/plugin.js.map +1 -0
  67. package/dist/push/request.d.ts +43 -0
  68. package/dist/push/request.d.ts.map +1 -0
  69. package/dist/push/request.js +95 -0
  70. package/dist/push/request.js.map +1 -0
  71. package/dist/reporters/base.d.ts +14 -6
  72. package/dist/reporters/base.d.ts.map +1 -1
  73. package/dist/reporters/base.js +45 -47
  74. package/dist/reporters/base.js.map +1 -1
  75. package/dist/reporters/index.d.ts +18 -8
  76. package/dist/reporters/index.d.ts.map +1 -1
  77. package/dist/reporters/index.js.map +1 -1
  78. package/dist/reporters/json.d.ts +7 -3
  79. package/dist/reporters/json.d.ts.map +1 -1
  80. package/dist/reporters/json.js +118 -118
  81. package/dist/reporters/json.js.map +1 -1
  82. package/dist/reporters/junit.d.ts +7 -1
  83. package/dist/reporters/junit.d.ts.map +1 -1
  84. package/dist/reporters/junit.js +91 -86
  85. package/dist/reporters/junit.js.map +1 -1
  86. package/dist/tsconfig.tsbuildinfo +1 -1
  87. package/package.json +12 -8
  88. package/src/cli.ts +65 -9
  89. package/src/common_types.ts +69 -5
  90. package/src/core/gatherer.ts +2 -2
  91. package/src/core/index.ts +15 -0
  92. package/src/core/runner.ts +86 -113
  93. package/src/dsl/journey.ts +18 -0
  94. package/src/dsl/monitor.ts +83 -0
  95. package/src/generator/index.ts +159 -0
  96. package/src/generator/utils.ts +41 -0
  97. package/src/helpers.ts +36 -52
  98. package/src/index.ts +9 -1
  99. package/src/loader.ts +4 -4
  100. package/src/options.ts +71 -8
  101. package/src/plugins/performance.ts +1 -17
  102. package/src/push/bundler.ts +99 -0
  103. package/src/push/index.ts +63 -0
  104. package/src/push/monitor.ts +77 -0
  105. package/src/push/plugin.ts +113 -0
  106. package/src/push/request.ts +123 -0
  107. package/src/reporters/base.ts +57 -56
  108. package/src/reporters/index.ts +26 -3
  109. package/src/reporters/json.ts +153 -145
  110. package/src/reporters/junit.ts +98 -93
  111. package/templates/journeys/example.journey.ts +18 -0
  112. package/templates/synthetics.config.ts +19 -0
  113. package/CHANGELOG.md +0 -348
  114. package/NOTICE.txt +0 -221
  115. package/dist/reporters/reporter.d.ts.map +0 -1
  116. package/dist/reporters/reporter.js.map +0 -1
package/CHANGELOG.md DELETED
@@ -1,348 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file.
4
-
5
- ## v1.0.0-beta.23 (2021-03-23)
6
-
7
- ### Features
8
-
9
- - Add location metadata for journeys and step #474
10
- - Export Action type from the Synthetics formatter #454
11
- - Enhance the synthetics formatter to control when the step begins and ends #457
12
- - Add ability to add subcommands to the cli in #475
13
-
14
- ## v1.0.0-beta.22 (2021-03-14)
15
-
16
- ### Bug fixes
17
-
18
- - Empty the write buffer before exit the Node.js process #446
19
- - Reduce the network information data by writing only the
20
- necessary fields #466
21
-
22
- ## v1.0.0-beta.21 (2021-02-22)
23
-
24
- ### Bug fixes
25
-
26
- - Do not override User agent string when doing device emulation #462
27
-
28
- ## v1.0.0-beta.20 (2021-02-16)
29
-
30
- ### Bug fixes
31
-
32
- - Capture syntax errors inside inline journeys without throwing
33
- promise rejection errors #450
34
-
35
- ## v1.0.0-beta.19 (2021-01-31)
36
-
37
- ### Bug fixes
38
-
39
- - Ensure `journey/end` is written to file descriptor by flushing out the
40
- last bytes in underlying stream #446
41
- - Debug logs should be logged to stdout instead of using the reporter
42
- file descriptor #423
43
-
44
- ## v1.0.0-beta.18 (2021-01-13)
45
-
46
- ### Bug fixes
47
-
48
- - Do not read configuration files for inline journeys unless a --config parameter is passed #426
49
- - Stop runner from hanging indefinitely within ubuntu docker images [elastic/beats#29681] #441
50
-
51
- ## v1.0.0-beta.17 (2021-11-11)
52
-
53
- ### Breaking Changes
54
-
55
- - Remove 'suiteparams' CLI option which was depreacted in the previous releases.
56
- Use `--params` instead [#406](https://github.com/elastic/synthetics/pull/406)
57
-
58
- ### Features
59
-
60
- - Add support for `--playwright-options` CLI flag that lets user specify all
61
- browser and context options that Playwright supports in addition to passing it
62
- via `synthetics.config.js` file [#405](https://github.com/elastic/synthetics/pull/405)
63
-
64
- ### Bug fixes
65
-
66
- - Timestamp of `journey/end` event reflects the time when the event happens instead
67
- of the time event was written to the output stream. This fixes issue when
68
- duration is calculated based on `journey/start` and `journey/end` [#409](https://github.com/elastic/synthetics/pull/409)
69
- - Rewrite screenshot timestamp based on when screenshot was taken instead of
70
- when the screenshot was processed and reconstructed [#411](https://github.com/elastic/synthetics/pull/411)
71
-
72
- ## v1.0.0-beta.16 (2021-10-19)
73
-
74
- ### Bug fixes
75
-
76
- - Revert to Playwright `1.14.0` as the newer versions of chromium
77
- [breaks](https://bugs.chromium.org/p/chromium/issues/detail?id=1253967&q=glibc&can=2)
78
- CentOS7. As a result of this revert, network events from other contexts like
79
- popups, iframes, tabs would not get captured [#402](https://github.com/elastic/synthetics/pull/402)
80
-
81
- ## v1.0.0-beta.15 (2021-10-14)
82
-
83
- ### Breaking Changes
84
-
85
- - Drop support for Node 12 [#397](https://github.com/elastic/synthetics/pull/397)
86
-
87
- ### Features
88
-
89
- - Enable trace events when invoked via Heartbeat, enables step level metrics
90
- like FCP, LCP and other performance metrics for all journeys [#387](https://github.com/elastic/synthetics/pull/387)
91
- - Use network events from playwright context which captures network requests
92
- from iframes, new tabs, etc. [#372](https://github.com/elastic/synthetics/pull/372)
93
- - Add default network emulation for journeys to be able to capture performance
94
- measurements more effectively. Default is 5Mbps download, 3Mbps Upload and 20ms latency.
95
- Users can control network throttling with `--throttling '10d/2u/30l'` flag or
96
- can disable the throttling via `--no-throttling` flag [#284](https://github.com/elastic/synthetics/pull/284)
97
- - Add `Elastic/Synthetics` user-agent identifier to all network
98
- requests. This enables users to analyze traffic from Elastic Synthetic
99
- monitoring platform [#232](https://github.com/elastic/synthetics/pull/232)
100
- - Introduce more assetion commands to formatter [#385](https://github.com/elastic/synthetics/pull/385)
101
-
102
- ### Bug fixes
103
-
104
- - Account for page closing while capturing network events [#398](https://github.com/elastic/synthetics/pull/398)
105
-
106
- ## v1.0.0-beta.14 (2021-09-16)
107
-
108
- ### Bug fixes
109
-
110
- - Bring back `--suite-params` flag support to support Heartbeat 7.15 [#379](https://github.com/elastic/synthetics/pull/379)
111
-
112
- ## v1.0.0-beta.13 (2021-09-16)
113
-
114
- ### Features
115
-
116
- - Add step level tracing API which enables capturing performance metrics (core
117
- web vitals) for each navigation as part of the journey [#369](https://github.com/elastic/synthetics/pull/369)
118
- - Capture all page errors and unhandled exceptions as part of the journeys [#374](https://github.com/elastic/synthetics/pull/374)
119
- - Introduce synthetics script generator which can transform the recorder actions
120
- into code [#375](https://github.com/elastic/synthetics/pull/375)
121
-
122
- ## v1.0.0-beta.12 (2021-08-19)
123
-
124
- ### Features
125
-
126
- - Add support for expect assertions for inline suites
127
- [#365](https://github.com/elastic/synthetics/pull/365)
128
- - Add `ignore-https-errors` to the CLI to ignore any HTTPS errors during
129
- navigation [#361](https://github.com/elastic/synthetics/pull/361)
130
-
131
- ### Notable changes
132
-
133
- - Bump playwright to 1.14.0
134
- [#366](https://github.com/elastic/synthetics/pull/366)
135
- - Bump Node.js version to 14 [#364](https://github.com/elastic/synthetics/pull/364)
136
-
137
- ## v1.0.0-beta.11 (2021-08-09)
138
-
139
- ### Breaking Changes
140
-
141
- - Drop support for Heartbeat 7.13
142
- [#354](https://github.com/elastic/synthetics/pull/354)
143
-
144
- ### Features
145
-
146
- - Add quiet mode for Heartbeat via `--quiet-exit-code` and make
147
- it default for > 7.14 Heartbeat versions [#357](https://github.com/elastic/synthetics/pull/357)
148
-
149
- ## v1.0.0-beta.10 (2021-07-27)
150
-
151
- ### Bug fixes
152
-
153
- - Record correct screenshots for popups in new tabs
154
- and windows [#353](https://github.com/elastic/synthetics/pull/353)
155
- - Capture URL correctly for steps that involve navigations inside
156
- popups and windows [#352](https://github.com/elastic/synthetics/pull/352)
157
-
158
- ## v1.0.0-beta.9 (2021-07-13)
159
-
160
- ### Bug fixes
161
-
162
- - Populate journey id when its not explicitly specified
163
- [#346](https://github.com/elastic/synthetics/pull/346)
164
- - Remove Node.js 12 version restriction [#343](https://github.com/elastic/synthetics/pull/343)
165
-
166
- ## v1.0.0-beta.8 (2021-07-07)
167
-
168
- ### Bug fixes
169
-
170
- - Capture screenshots correctly when using device emulation [#340](https://github.com/elastic/synthetics/pull/340)
171
-
172
- ## v1.0.0-beta.7 (2021-07-01)
173
-
174
- ### Features
175
-
176
- - Deprecate 'suiteparams' infavor of 'params' [#331](https://github.com/elastic/synthetics/pull/331)
177
-
178
- ### Bug fixes
179
-
180
- - Bring `--network` flag back till 7.14 is released [#336](https://github.com/elastic/synthetics/pull/336)
181
-
182
- ## v1.0.0-beta.6 (2021-06-30)
183
-
184
- ### Bug fixes
185
-
186
- - Bring `--json` flag back till 7.14 is released [#333](https://github.com/elastic/synthetics/pull/333)
187
-
188
- ## v1.0.0-beta.5 (2021-06-30)
189
-
190
- ### Features
191
-
192
- - Add support for passing playwright context and browser options via
193
- synthetics config [#317](https://github.com/elastic/synthetics/pull/317)
194
-
195
- ### Bug fixes
196
-
197
- - Compability bug with FS apis on Node 12 [#328](https://github.com/elastic/synthetics/pull/328)
198
- - Add fallback symbols for non utf8 support in windows [#324](https://github.com/elastic/synthetics/pull/324)
199
-
200
- ## v1.0.0-beta.4 (2021-06-28)
201
-
202
- ### Breaking Changes
203
-
204
- - Remove -e from CLI args and use `NODE_ENV` for controlling the
205
- environment [#318](https://github.com/elastic/synthetics/pull/318)
206
-
207
- ### Features
208
-
209
- - Add new screenshots options - `on|off|only-on-failure` to manage capturing
210
- the step screenshots [#311](https://github.com/elastic/synthetics/pull/311)
211
- - Enable screenshot deduplication feature by default when the agent is invoked
212
- via Heartbeat [#322](https://github.com/elastic/synthetics/pull/322)
213
-
214
- ### Bug fixes
215
-
216
- - Avoid creating duplicate screenshot JSON docs for each journey
217
- [#320](https://github.com/elastic/synthetics/pull/320)
218
- - Associate `beforeAll` hook errors across all journeys
219
- [#316](https://github.com/elastic/synthetics/pull/316)
220
- - Provide journey isolation via context [#314](https://github.com/elastic/synthetics/pull/314)
221
-
222
- ## v1.0.0-beta.3 (2021-06-15)
223
-
224
- ### Features
225
-
226
- - Capture all core-vitals and user experience metrics like FPC, LCP, CLS, User
227
- timing metrics, etc via chrome tracing [#194](https://github.com/elastic/synthetics/pull/194)
228
- - Split the captured screenshot from each step in to 64 blocks to optimzie
229
- the storage when indexed the same block in Elaticsearch [#290](https://github.com/elastic/synthetics/pull/290)
230
- - Add support for filtering journeys by name and tags [#300](https://github.com/elastic/synthetics/issues/300)
231
- - Expose `expect` assetion method in the API [#201](https://github.com/elastic/synthetics/issues/201)
232
- - Update Cumulative Layout Shift(CLS) metric based on
233
- `maximum session window with 1 second gap, capped at 5 seconds`
234
- [#301](https://github.com/elastic/synthetics/issues/301)
235
- - Expose time taken to complete single step under
236
- `step.duration.us` [#302](https://github.com/elastic/synthetics/issues/301)
237
- - Expose new capabilities via `--capability` through CLI
238
- options [#295](https://github.com/elastic/synthetics/issues/295)
239
- - Add new flag `--rich-events` which mimicks heartbeat
240
- behaviour [#289](https://github.com/elastic/synthetics/pull/289).
241
- - Expose suite parameters from CLI and config file to
242
- all hooks and journeys callbacks[#272](https://github.com/elastic/synthetics/pull/272)
243
-
244
- ### Bug fixes
245
-
246
- - Move all of the trace events like FCP, LCP, User timings under
247
- `browser.relative_trace`[#303](https://github.com/elastic/synthetics/pulls/303)
248
- - Prioritize suite params from CLI over config file [#298](https://github.com/elastic/synthetics/pull/298)
249
- - Report errors from `before` and `after` hooks [#273](https://github.com/elastic/synthetics/pull/273)
250
-
251
- ## v1.0.0-beta.2 (2021-05-17)
252
-
253
- ### Features
254
-
255
- - Allow dynamic suite parameters configuration via `synthetics.config.{js|ts}`
256
- [#270](https://github.com/elastic/synthetics/issues/270)
257
-
258
- ### Performance Improvements
259
-
260
- - Improve execution time of test suites by spawning journeys in isolated context
261
- instead of launcing browser for each run [#274](https://github.com/elastic/synthetics/issues/274)
262
-
263
- ## v1.0.0-beta.1 (2021-05-04)
264
-
265
- ### Bug fixes
266
-
267
- - Exclude all data URI requests from network events [#267](https://github.com/elastic/synthetics/issues/267)
268
-
269
- ## v1.0.0-beta.0 (2021-04-23)
270
-
271
- ### Features
272
-
273
- - Default to JPEG images with quality 80 for individual step
274
- screenshots[#233](https://github.com/elastic/synthetics/issues/233)
275
-
276
- ### Bug fixes
277
-
278
- - Keep journey callback types to be synchronous to match with how steps are
279
- executed synchronously[#256](https://github.com/elastic/synthetics/issues/256)
280
- - Report correct page URL on navigation
281
- failures[#255](https://github.com/elastic/synthetics/issues/255)
282
-
283
- **NOTE: Playwright version is updated to 1.10.0**
284
-
285
- ## v0.0.1-alpha14 (2021-04-14)
286
-
287
- ### Features
288
-
289
- - Add support for custom reporters for the Synthetics runner
290
- [#254](https://github.com/elastic/synthetics/issues/254)
291
-
292
- ## v0.0.1-alpha13 (2021-04-08)
293
-
294
- ### Features
295
-
296
- - Remove duplicate payload fields and keep the network fields under ECS
297
- [#252](https://github.com/elastic/synthetics/issues/252)
298
-
299
- ### Bug fixes
300
-
301
- - Measure the network timings for aborted and inflight network requests
302
- correctly[#251](https://github.com/elastic/synthetics/pull/251)
303
-
304
- ## v0.0.1-alpha12 (2021-03-31)
305
-
306
- ### Features
307
-
308
- - Record transfer size and resource size for all network events
309
- [#220](https://github.com/elastic/synthetics/issues/220)
310
- - Report the number of journeys as part of the new `synthetics/metadata` event
311
- which would be used by heartbeat eventually for sharding [#247](https://github.com/elastic/synthetics/pull/247)
312
-
313
- ## v0.0.1-alpha11 (2021-03-10)
314
-
315
- ### Features
316
-
317
- - Expose driver type information from the agent [#239](https://github.com/elastic/synthetics/pull/239)
318
-
319
- Exposing the types allows developers to import the driver type information
320
- directly from the synthetics package instead of using via playwright specific
321
- packages which would result in inconsistent types (version mismatch or
322
- browser specific types).
323
-
324
- ## v0.0.1-alpha10 (2021-03-04)
325
-
326
- ### Features
327
-
328
- - Move all the ECS specific fields under `root_fields` [#164](https://github.com/elastic/synthetics/issues/164)
329
- - Add support for Junit reporter [#149](https://github.com/elastic/synthetics/issues/149)
330
- - Expose status field for `step/end` and `journey/end` [#230](https://github.com/elastic/synthetics/issues/230)
331
-
332
- ### Bug fixes
333
-
334
- - Disable chromium sandboxing by default
335
- [#225](https://github.com/elastic/synthetics/issues/225)
336
-
337
- ## v0.0.1-alpha9 (2021-02-01)
338
-
339
- ### Features
340
-
341
- - Add runtime seccomp profiler for the synthetics agent [#181](https://github.com/elastic/synthetics/issues/181)
342
-
343
- ### Bug fixes
344
-
345
- - Exit with non-zero code when any step/journey fails [#191](https://github.com/elastic/synthetics/issues/191)
346
- - Calculate blocking time properly for missing network data [#187](https://github.com/elastic/synthetics/issues/187)
347
- - Preserve typescript source fails without transpiling to older JS versions [#195](https://github.com/elastic/synthetics/issues/195)
348
- - Capture redirected requests in network timing data [#180](https://github.com/elastic/synthetics/issues/180)
package/NOTICE.txt DELETED
@@ -1,221 +0,0 @@
1
- @elastic/synthetics
2
- Copyright (c) 2020-present, Elasticsearch BV
3
-
4
-
5
- ---------------------------------------------------------------------------
6
- This product relies on `googlechrome/lighthouse`
7
-
8
- Copyright 2017 The Lighthouse Authors. All Rights Reserved.
9
-
10
- Apache License
11
- Version 2.0, January 2004
12
- http://www.apache.org/licenses/
13
-
14
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
15
-
16
- 1. Definitions.
17
-
18
- "License" shall mean the terms and conditions for use, reproduction,
19
- and distribution as defined by Sections 1 through 9 of this document.
20
-
21
- "Licensor" shall mean the copyright owner or entity authorized by
22
- the copyright owner that is granting the License.
23
-
24
- "Legal Entity" shall mean the union of the acting entity and all
25
- other entities that control, are controlled by, or are under common
26
- control with that entity. For the purposes of this definition,
27
- "control" means (i) the power, direct or indirect, to cause the
28
- direction or management of such entity, whether by contract or
29
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
30
- outstanding shares, or (iii) beneficial ownership of such entity.
31
-
32
- "You" (or "Your") shall mean an individual or Legal Entity
33
- exercising permissions granted by this License.
34
-
35
- "Source" form shall mean the preferred form for making modifications,
36
- including but not limited to software source code, documentation
37
- source, and configuration files.
38
-
39
- "Object" form shall mean any form resulting from mechanical
40
- transformation or translation of a Source form, including but
41
- not limited to compiled object code, generated documentation,
42
- and conversions to other media types.
43
-
44
- "Work" shall mean the work of authorship, whether in Source or
45
- Object form, made available under the License, as indicated by a
46
- copyright notice that is included in or attached to the work
47
- (an example is provided in the Appendix below).
48
-
49
- "Derivative Works" shall mean any work, whether in Source or Object
50
- form, that is based on (or derived from) the Work and for which the
51
- editorial revisions, annotations, elaborations, or other modifications
52
- represent, as a whole, an original work of authorship. For the purposes
53
- of this License, Derivative Works shall not include works that remain
54
- separable from, or merely link (or bind by name) to the interfaces of,
55
- the Work and Derivative Works thereof.
56
-
57
- "Contribution" shall mean any work of authorship, including
58
- the original version of the Work and any modifications or additions
59
- to that Work or Derivative Works thereof, that is intentionally
60
- submitted to Licensor for inclusion in the Work by the copyright owner
61
- or by an individual or Legal Entity authorized to submit on behalf of
62
- the copyright owner. For the purposes of this definition, "submitted"
63
- means any form of electronic, verbal, or written communication sent
64
- to the Licensor or its representatives, including but not limited to
65
- communication on electronic mailing lists, source code control systems,
66
- and issue tracking systems that are managed by, or on behalf of, the
67
- Licensor for the purpose of discussing and improving the Work, but
68
- excluding communication that is conspicuously marked or otherwise
69
- designated in writing by the copyright owner as "Not a Contribution."
70
-
71
- "Contributor" shall mean Licensor and any individual or Legal Entity
72
- on behalf of whom a Contribution has been received by Licensor and
73
- subsequently incorporated within the Work.
74
-
75
- 2. Grant of Copyright License. Subject to the terms and conditions of
76
- this License, each Contributor hereby grants to You a perpetual,
77
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
78
- copyright license to reproduce, prepare Derivative Works of,
79
- publicly display, publicly perform, sublicense, and distribute the
80
- Work and such Derivative Works in Source or Object form.
81
-
82
- 3. Grant of Patent License. Subject to the terms and conditions of
83
- this License, each Contributor hereby grants to You a perpetual,
84
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
85
- (except as stated in this section) patent license to make, have made,
86
- use, offer to sell, sell, import, and otherwise transfer the Work,
87
- where such license applies only to those patent claims licensable
88
- by such Contributor that are necessarily infringed by their
89
- Contribution(s) alone or by combination of their Contribution(s)
90
- with the Work to which such Contribution(s) was submitted. If You
91
- institute patent litigation against any entity (including a
92
- cross-claim or counterclaim in a lawsuit) alleging that the Work
93
- or a Contribution incorporated within the Work constitutes direct
94
- or contributory patent infringement, then any patent licenses
95
- granted to You under this License for that Work shall terminate
96
- as of the date such litigation is filed.
97
-
98
- 4. Redistribution. You may reproduce and distribute copies of the
99
- Work or Derivative Works thereof in any medium, with or without
100
- modifications, and in Source or Object form, provided that You
101
- meet the following conditions:
102
-
103
- (a) You must give any other recipients of the Work or
104
- Derivative Works a copy of this License; and
105
-
106
- (b) You must cause any modified files to carry prominent notices
107
- stating that You changed the files; and
108
-
109
- (c) You must retain, in the Source form of any Derivative Works
110
- that You distribute, all copyright, patent, trademark, and
111
- attribution notices from the Source form of the Work,
112
- excluding those notices that do not pertain to any part of
113
- the Derivative Works; and
114
-
115
- (d) If the Work includes a "NOTICE" text file as part of its
116
- distribution, then any Derivative Works that You distribute must
117
- include a readable copy of the attribution notices contained
118
- within such NOTICE file, excluding those notices that do not
119
- pertain to any part of the Derivative Works, in at least one
120
- of the following places: within a NOTICE text file distributed
121
- as part of the Derivative Works; within the Source form or
122
- documentation, if provided along with the Derivative Works; or,
123
- within a display generated by the Derivative Works, if and
124
- wherever such third-party notices normally appear. The contents
125
- of the NOTICE file are for informational purposes only and
126
- do not modify the License. You may add Your own attribution
127
- notices within Derivative Works that You distribute, alongside
128
- or as an addendum to the NOTICE text from the Work, provided
129
- that such additional attribution notices cannot be construed
130
- as modifying the License.
131
-
132
- You may add Your own copyright statement to Your modifications and
133
- may provide additional or different license terms and conditions
134
- for use, reproduction, or distribution of Your modifications, or
135
- for any such Derivative Works as a whole, provided Your use,
136
- reproduction, and distribution of the Work otherwise complies with
137
- the conditions stated in this License.
138
-
139
- 5. Submission of Contributions. Unless You explicitly state otherwise,
140
- any Contribution intentionally submitted for inclusion in the Work
141
- by You to the Licensor shall be under the terms and conditions of
142
- this License, without any additional terms or conditions.
143
- Notwithstanding the above, nothing herein shall supersede or modify
144
- the terms of any separate license agreement you may have executed
145
- with Licensor regarding such Contributions.
146
-
147
- 6. Trademarks. This License does not grant permission to use the trade
148
- names, trademarks, service marks, or product names of the Licensor,
149
- except as required for reasonable and customary use in describing the
150
- origin of the Work and reproducing the content of the NOTICE file.
151
-
152
- 7. Disclaimer of Warranty. Unless required by applicable law or
153
- agreed to in writing, Licensor provides the Work (and each
154
- Contributor provides its Contributions) on an "AS IS" BASIS,
155
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
156
- implied, including, without limitation, any warranties or conditions
157
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
158
- PARTICULAR PURPOSE. You are solely responsible for determining the
159
- appropriateness of using or redistributing the Work and assume any
160
- risks associated with Your exercise of permissions under this License.
161
-
162
- 8. Limitation of Liability. In no event and under no legal theory,
163
- whether in tort (including negligence), contract, or otherwise,
164
- unless required by applicable law (such as deliberate and grossly
165
- negligent acts) or agreed to in writing, shall any Contributor be
166
- liable to You for damages, including any direct, indirect, special,
167
- incidental, or consequential damages of any character arising as a
168
- result of this License or out of the use or inability to use the
169
- Work (including but not limited to damages for loss of goodwill,
170
- work stoppage, computer failure or malfunction, or any and all
171
- other commercial damages or losses), even if such Contributor
172
- has been advised of the possibility of such damages.
173
-
174
- 9. Accepting Warranty or Additional Liability. While redistributing
175
- the Work or Derivative Works thereof, You may choose to offer,
176
- and charge a fee for, acceptance of support, warranty, indemnity,
177
- or other liability obligations and/or rights consistent with this
178
- License. However, in accepting such obligations, You may act only
179
- on Your own behalf and on Your sole responsibility, not on behalf
180
- of any other Contributor, and only if You agree to indemnify,
181
- defend, and hold each Contributor harmless for any liability
182
- incurred by, or claims asserted against, such Contributor by reason
183
- of your accepting any such warranty or additional liability.
184
-
185
- END OF TERMS AND CONDITIONS
186
-
187
- APPENDIX: How to apply the Apache License to your work.
188
-
189
- To apply the Apache License to your work, attach the following
190
- boilerplate notice, with the fields enclosed by brackets "[]"
191
- replaced with your own identifying information. (Don't include
192
- the brackets!) The text should be enclosed in the appropriate
193
- comment syntax for the file format. We also recommend that a
194
- file or class name and description of purpose be included on the
195
- same "printed page" as the copyright notice for easier
196
- identification within third-party archives.
197
-
198
- Copyright [yyyy] [name of copyright owner]
199
-
200
- Licensed under the Apache License, Version 2.0 (the "License");
201
- you may not use this file except in compliance with the License.
202
- You may obtain a copy of the License at
203
-
204
- http://www.apache.org/licenses/LICENSE-2.0
205
-
206
- Unless required by applicable law or agreed to in writing, software
207
- distributed under the License is distributed on an "AS IS" BASIS,
208
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
209
- See the License for the specific language governing permissions and
210
- limitations under the License.
211
- ---------------------------------------------------------------------------
212
- This product relies on `expect`
213
-
214
- /**
215
- * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
216
- *
217
- * This source code is licensed under the MIT license found in the
218
- * LICENSE file in the root directory of this source tree.
219
- *
220
- */
221
- ---------------------------------------------------------------------------
@@ -1 +0,0 @@
1
- {"version":3,"file":"reporter.d.ts","sourceRoot":"","sources":["../../src/reporters/reporter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,MAAM,MAAM,gBAAgB,CAAC;AAEpC,oBAAY,eAAe,GAAG;IAC5B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,CAAC,OAAO,WAAW,QAAQ;IAC/B,KAAK,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,eAAe,GAAG,GAAG,CAAC;CACrD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"reporter.js","sourceRoot":"","sources":["../../src/reporters/reporter.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG"}