@elastic/synthetics 1.0.0-beta.23 → 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 (131) 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 +62 -14
  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 +14 -5
  9. package/dist/core/gatherer.js.map +1 -1
  10. package/dist/core/index.d.ts +4 -0
  11. package/dist/core/index.d.ts.map +1 -1
  12. package/dist/core/index.js +15 -1
  13. package/dist/core/index.js.map +1 -1
  14. package/dist/core/runner.d.ts +10 -58
  15. package/dist/core/runner.d.ts.map +1 -1
  16. package/dist/core/runner.js +89 -50
  17. package/dist/core/runner.js.map +1 -1
  18. package/dist/dsl/journey.d.ts +3 -0
  19. package/dist/dsl/journey.d.ts.map +1 -1
  20. package/dist/dsl/journey.js +15 -0
  21. package/dist/dsl/journey.js.map +1 -1
  22. package/dist/dsl/monitor.d.ts +64 -0
  23. package/dist/dsl/monitor.d.ts.map +1 -0
  24. package/dist/dsl/monitor.js +62 -0
  25. package/dist/dsl/monitor.js.map +1 -0
  26. package/dist/formatter/javascript.d.ts +1 -1
  27. package/dist/formatter/javascript.d.ts.map +1 -1
  28. package/dist/formatter/javascript.js +1 -1
  29. package/dist/formatter/javascript.js.map +1 -1
  30. package/dist/generator/index.d.ts +13 -0
  31. package/dist/generator/index.d.ts.map +1 -0
  32. package/dist/generator/index.js +123 -0
  33. package/dist/generator/index.js.map +1 -0
  34. package/dist/{reporters/reporter.js → generator/utils.d.ts} +3 -3
  35. package/dist/generator/utils.d.ts.map +1 -0
  36. package/dist/generator/utils.js +44 -0
  37. package/dist/generator/utils.js.map +1 -0
  38. package/dist/helpers.d.ts +12 -6
  39. package/dist/helpers.d.ts.map +1 -1
  40. package/dist/helpers.js +33 -43
  41. package/dist/helpers.js.map +1 -1
  42. package/dist/index.d.ts +3 -9
  43. package/dist/index.d.ts.map +1 -1
  44. package/dist/index.js +4 -5
  45. package/dist/index.js.map +1 -1
  46. package/dist/loader.js +4 -4
  47. package/dist/loader.js.map +1 -1
  48. package/dist/options.d.ts +12 -0
  49. package/dist/options.d.ts.map +1 -1
  50. package/dist/options.js +66 -4
  51. package/dist/options.js.map +1 -1
  52. package/dist/plugins/network.d.ts +17 -30
  53. package/dist/plugins/network.d.ts.map +1 -1
  54. package/dist/plugins/network.js +179 -244
  55. package/dist/plugins/network.js.map +1 -1
  56. package/dist/plugins/performance.d.ts +1 -16
  57. package/dist/plugins/performance.d.ts.map +1 -1
  58. package/dist/plugins/performance.js.map +1 -1
  59. package/dist/plugins/plugin-manager.d.ts +2 -2
  60. package/dist/plugins/plugin-manager.d.ts.map +1 -1
  61. package/dist/plugins/plugin-manager.js +2 -2
  62. package/dist/plugins/plugin-manager.js.map +1 -1
  63. package/dist/push/bundler.d.ts +34 -0
  64. package/dist/push/bundler.d.ts.map +1 -0
  65. package/dist/push/bundler.js +119 -0
  66. package/dist/push/bundler.js.map +1 -0
  67. package/{src/reporters/reporter.ts → dist/push/index.d.ts} +4 -11
  68. package/dist/push/index.d.ts.map +1 -0
  69. package/dist/push/index.js +58 -0
  70. package/dist/push/index.js.map +1 -0
  71. package/dist/{reporters/reporter.d.ts → push/monitor.d.ts} +7 -8
  72. package/dist/push/monitor.d.ts.map +1 -0
  73. package/dist/push/monitor.js +67 -0
  74. package/dist/push/monitor.js.map +1 -0
  75. package/dist/push/plugin.d.ts +33 -0
  76. package/dist/push/plugin.d.ts.map +1 -0
  77. package/dist/push/plugin.js +123 -0
  78. package/dist/push/plugin.js.map +1 -0
  79. package/dist/push/request.d.ts +43 -0
  80. package/dist/push/request.d.ts.map +1 -0
  81. package/dist/push/request.js +95 -0
  82. package/dist/push/request.js.map +1 -0
  83. package/dist/reporters/base.d.ts +14 -6
  84. package/dist/reporters/base.d.ts.map +1 -1
  85. package/dist/reporters/base.js +45 -47
  86. package/dist/reporters/base.js.map +1 -1
  87. package/dist/reporters/index.d.ts +18 -8
  88. package/dist/reporters/index.d.ts.map +1 -1
  89. package/dist/reporters/index.js.map +1 -1
  90. package/dist/reporters/json.d.ts +7 -4
  91. package/dist/reporters/json.d.ts.map +1 -1
  92. package/dist/reporters/json.js +119 -137
  93. package/dist/reporters/json.js.map +1 -1
  94. package/dist/reporters/junit.d.ts +7 -1
  95. package/dist/reporters/junit.d.ts.map +1 -1
  96. package/dist/reporters/junit.js +91 -86
  97. package/dist/reporters/junit.js.map +1 -1
  98. package/dist/tsconfig.tsbuildinfo +1 -1
  99. package/package.json +14 -9
  100. package/src/cli.ts +65 -9
  101. package/src/common_types.ts +72 -14
  102. package/src/core/gatherer.ts +18 -10
  103. package/src/core/index.ts +15 -0
  104. package/src/core/runner.ts +87 -114
  105. package/src/dsl/journey.ts +18 -0
  106. package/src/dsl/monitor.ts +83 -0
  107. package/src/formatter/javascript.ts +1 -1
  108. package/src/generator/index.ts +159 -0
  109. package/src/generator/utils.ts +41 -0
  110. package/src/helpers.ts +36 -52
  111. package/src/index.ts +10 -2
  112. package/src/loader.ts +4 -4
  113. package/src/options.ts +71 -8
  114. package/src/plugins/network.ts +218 -293
  115. package/src/plugins/performance.ts +1 -17
  116. package/src/plugins/plugin-manager.ts +2 -2
  117. package/src/push/bundler.ts +99 -0
  118. package/src/push/index.ts +63 -0
  119. package/src/push/monitor.ts +77 -0
  120. package/src/push/plugin.ts +113 -0
  121. package/src/push/request.ts +123 -0
  122. package/src/reporters/base.ts +57 -56
  123. package/src/reporters/index.ts +26 -3
  124. package/src/reporters/json.ts +154 -162
  125. package/src/reporters/junit.ts +98 -93
  126. package/templates/journeys/example.journey.ts +18 -0
  127. package/templates/synthetics.config.ts +19 -0
  128. package/CHANGELOG.md +0 -339
  129. package/NOTICE.txt +0 -250
  130. package/dist/reporters/reporter.d.ts.map +0 -1
  131. package/dist/reporters/reporter.js.map +0 -1
package/CHANGELOG.md DELETED
@@ -1,339 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file.
4
-
5
- ## v1.0.0-beta.22 (2021-03-14)
6
-
7
- ### Bug fixes
8
-
9
- - Empty the write buffer before exit the Node.js process #446
10
- - Reduce the network information data by writing only the
11
- necessary fields #466
12
-
13
- ## v1.0.0-beta.21 (2021-02-22)
14
-
15
- ### Bug fixes
16
-
17
- - Do not override User agent string when doing device emulation #462
18
-
19
- ## v1.0.0-beta.20 (2021-02-16)
20
-
21
- ### Bug fixes
22
-
23
- - Capture syntax errors inside inline journeys without throwing
24
- promise rejection errors #450
25
-
26
- ## v1.0.0-beta.19 (2021-01-31)
27
-
28
- ### Bug fixes
29
-
30
- - Ensure `journey/end` is written to file descriptor by flushing out the
31
- last bytes in underlying stream #446
32
- - Debug logs should be logged to stdout instead of using the reporter
33
- file descriptor #423
34
-
35
- ## v1.0.0-beta.18 (2021-01-13)
36
-
37
- ### Bug fixes
38
-
39
- - Do not read configuration files for inline journeys unless a --config parameter is passed #426
40
- - Stop runner from hanging indefinitely within ubuntu docker images [elastic/beats#29681] #441
41
-
42
- ## v1.0.0-beta.17 (2021-11-11)
43
-
44
- ### Breaking Changes
45
-
46
- - Remove 'suiteparams' CLI option which was depreacted in the previous releases.
47
- Use `--params` instead [#406](https://github.com/elastic/synthetics/pull/406)
48
-
49
- ### Features
50
-
51
- - Add support for `--playwright-options` CLI flag that lets user specify all
52
- browser and context options that Playwright supports in addition to passing it
53
- via `synthetics.config.js` file [#405](https://github.com/elastic/synthetics/pull/405)
54
-
55
- ### Bug fixes
56
-
57
- - Timestamp of `journey/end` event reflects the time when the event happens instead
58
- of the time event was written to the output stream. This fixes issue when
59
- duration is calculated based on `journey/start` and `journey/end` [#409](https://github.com/elastic/synthetics/pull/409)
60
- - Rewrite screenshot timestamp based on when screenshot was taken instead of
61
- when the screenshot was processed and reconstructed [#411](https://github.com/elastic/synthetics/pull/411)
62
-
63
- ## v1.0.0-beta.16 (2021-10-19)
64
-
65
- ### Bug fixes
66
-
67
- - Revert to Playwright `1.14.0` as the newer versions of chromium
68
- [breaks](https://bugs.chromium.org/p/chromium/issues/detail?id=1253967&q=glibc&can=2)
69
- CentOS7. As a result of this revert, network events from other contexts like
70
- popups, iframes, tabs would not get captured [#402](https://github.com/elastic/synthetics/pull/402)
71
-
72
- ## v1.0.0-beta.15 (2021-10-14)
73
-
74
- ### Breaking Changes
75
-
76
- - Drop support for Node 12 [#397](https://github.com/elastic/synthetics/pull/397)
77
-
78
- ### Features
79
-
80
- - Enable trace events when invoked via Heartbeat, enables step level metrics
81
- like FCP, LCP and other performance metrics for all journeys [#387](https://github.com/elastic/synthetics/pull/387)
82
- - Use network events from playwright context which captures network requests
83
- from iframes, new tabs, etc. [#372](https://github.com/elastic/synthetics/pull/372)
84
- - Add default network emulation for journeys to be able to capture performance
85
- measurements more effectively. Default is 5Mbps download, 3Mbps Upload and 20ms latency.
86
- Users can control network throttling with `--throttling '10d/2u/30l'` flag or
87
- can disable the throttling via `--no-throttling` flag [#284](https://github.com/elastic/synthetics/pull/284)
88
- - Add `Elastic/Synthetics` user-agent identifier to all network
89
- requests. This enables users to analyze traffic from Elastic Synthetic
90
- monitoring platform [#232](https://github.com/elastic/synthetics/pull/232)
91
- - Introduce more assetion commands to formatter [#385](https://github.com/elastic/synthetics/pull/385)
92
-
93
- ### Bug fixes
94
-
95
- - Account for page closing while capturing network events [#398](https://github.com/elastic/synthetics/pull/398)
96
-
97
- ## v1.0.0-beta.14 (2021-09-16)
98
-
99
- ### Bug fixes
100
-
101
- - Bring back `--suite-params` flag support to support Heartbeat 7.15 [#379](https://github.com/elastic/synthetics/pull/379)
102
-
103
- ## v1.0.0-beta.13 (2021-09-16)
104
-
105
- ### Features
106
-
107
- - Add step level tracing API which enables capturing performance metrics (core
108
- web vitals) for each navigation as part of the journey [#369](https://github.com/elastic/synthetics/pull/369)
109
- - Capture all page errors and unhandled exceptions as part of the journeys [#374](https://github.com/elastic/synthetics/pull/374)
110
- - Introduce synthetics script generator which can transform the recorder actions
111
- into code [#375](https://github.com/elastic/synthetics/pull/375)
112
-
113
- ## v1.0.0-beta.12 (2021-08-19)
114
-
115
- ### Features
116
-
117
- - Add support for expect assertions for inline suites
118
- [#365](https://github.com/elastic/synthetics/pull/365)
119
- - Add `ignore-https-errors` to the CLI to ignore any HTTPS errors during
120
- navigation [#361](https://github.com/elastic/synthetics/pull/361)
121
-
122
- ### Notable changes
123
-
124
- - Bump playwright to 1.14.0
125
- [#366](https://github.com/elastic/synthetics/pull/366)
126
- - Bump Node.js version to 14 [#364](https://github.com/elastic/synthetics/pull/364)
127
-
128
- ## v1.0.0-beta.11 (2021-08-09)
129
-
130
- ### Breaking Changes
131
-
132
- - Drop support for Heartbeat 7.13
133
- [#354](https://github.com/elastic/synthetics/pull/354)
134
-
135
- ### Features
136
-
137
- - Add quiet mode for Heartbeat via `--quiet-exit-code` and make
138
- it default for > 7.14 Heartbeat versions [#357](https://github.com/elastic/synthetics/pull/357)
139
-
140
- ## v1.0.0-beta.10 (2021-07-27)
141
-
142
- ### Bug fixes
143
-
144
- - Record correct screenshots for popups in new tabs
145
- and windows [#353](https://github.com/elastic/synthetics/pull/353)
146
- - Capture URL correctly for steps that involve navigations inside
147
- popups and windows [#352](https://github.com/elastic/synthetics/pull/352)
148
-
149
- ## v1.0.0-beta.9 (2021-07-13)
150
-
151
- ### Bug fixes
152
-
153
- - Populate journey id when its not explicitly specified
154
- [#346](https://github.com/elastic/synthetics/pull/346)
155
- - Remove Node.js 12 version restriction [#343](https://github.com/elastic/synthetics/pull/343)
156
-
157
- ## v1.0.0-beta.8 (2021-07-07)
158
-
159
- ### Bug fixes
160
-
161
- - Capture screenshots correctly when using device emulation [#340](https://github.com/elastic/synthetics/pull/340)
162
-
163
- ## v1.0.0-beta.7 (2021-07-01)
164
-
165
- ### Features
166
-
167
- - Deprecate 'suiteparams' infavor of 'params' [#331](https://github.com/elastic/synthetics/pull/331)
168
-
169
- ### Bug fixes
170
-
171
- - Bring `--network` flag back till 7.14 is released [#336](https://github.com/elastic/synthetics/pull/336)
172
-
173
- ## v1.0.0-beta.6 (2021-06-30)
174
-
175
- ### Bug fixes
176
-
177
- - Bring `--json` flag back till 7.14 is released [#333](https://github.com/elastic/synthetics/pull/333)
178
-
179
- ## v1.0.0-beta.5 (2021-06-30)
180
-
181
- ### Features
182
-
183
- - Add support for passing playwright context and browser options via
184
- synthetics config [#317](https://github.com/elastic/synthetics/pull/317)
185
-
186
- ### Bug fixes
187
-
188
- - Compability bug with FS apis on Node 12 [#328](https://github.com/elastic/synthetics/pull/328)
189
- - Add fallback symbols for non utf8 support in windows [#324](https://github.com/elastic/synthetics/pull/324)
190
-
191
- ## v1.0.0-beta.4 (2021-06-28)
192
-
193
- ### Breaking Changes
194
-
195
- - Remove -e from CLI args and use `NODE_ENV` for controlling the
196
- environment [#318](https://github.com/elastic/synthetics/pull/318)
197
-
198
- ### Features
199
-
200
- - Add new screenshots options - `on|off|only-on-failure` to manage capturing
201
- the step screenshots [#311](https://github.com/elastic/synthetics/pull/311)
202
- - Enable screenshot deduplication feature by default when the agent is invoked
203
- via Heartbeat [#322](https://github.com/elastic/synthetics/pull/322)
204
-
205
- ### Bug fixes
206
-
207
- - Avoid creating duplicate screenshot JSON docs for each journey
208
- [#320](https://github.com/elastic/synthetics/pull/320)
209
- - Associate `beforeAll` hook errors across all journeys
210
- [#316](https://github.com/elastic/synthetics/pull/316)
211
- - Provide journey isolation via context [#314](https://github.com/elastic/synthetics/pull/314)
212
-
213
- ## v1.0.0-beta.3 (2021-06-15)
214
-
215
- ### Features
216
-
217
- - Capture all core-vitals and user experience metrics like FPC, LCP, CLS, User
218
- timing metrics, etc via chrome tracing [#194](https://github.com/elastic/synthetics/pull/194)
219
- - Split the captured screenshot from each step in to 64 blocks to optimzie
220
- the storage when indexed the same block in Elaticsearch [#290](https://github.com/elastic/synthetics/pull/290)
221
- - Add support for filtering journeys by name and tags [#300](https://github.com/elastic/synthetics/issues/300)
222
- - Expose `expect` assetion method in the API [#201](https://github.com/elastic/synthetics/issues/201)
223
- - Update Cumulative Layout Shift(CLS) metric based on
224
- `maximum session window with 1 second gap, capped at 5 seconds`
225
- [#301](https://github.com/elastic/synthetics/issues/301)
226
- - Expose time taken to complete single step under
227
- `step.duration.us` [#302](https://github.com/elastic/synthetics/issues/301)
228
- - Expose new capabilities via `--capability` through CLI
229
- options [#295](https://github.com/elastic/synthetics/issues/295)
230
- - Add new flag `--rich-events` which mimicks heartbeat
231
- behaviour [#289](https://github.com/elastic/synthetics/pull/289).
232
- - Expose suite parameters from CLI and config file to
233
- all hooks and journeys callbacks[#272](https://github.com/elastic/synthetics/pull/272)
234
-
235
- ### Bug fixes
236
-
237
- - Move all of the trace events like FCP, LCP, User timings under
238
- `browser.relative_trace`[#303](https://github.com/elastic/synthetics/pulls/303)
239
- - Prioritize suite params from CLI over config file [#298](https://github.com/elastic/synthetics/pull/298)
240
- - Report errors from `before` and `after` hooks [#273](https://github.com/elastic/synthetics/pull/273)
241
-
242
- ## v1.0.0-beta.2 (2021-05-17)
243
-
244
- ### Features
245
-
246
- - Allow dynamic suite parameters configuration via `synthetics.config.{js|ts}`
247
- [#270](https://github.com/elastic/synthetics/issues/270)
248
-
249
- ### Performance Improvements
250
-
251
- - Improve execution time of test suites by spawning journeys in isolated context
252
- instead of launcing browser for each run [#274](https://github.com/elastic/synthetics/issues/274)
253
-
254
- ## v1.0.0-beta.1 (2021-05-04)
255
-
256
- ### Bug fixes
257
-
258
- - Exclude all data URI requests from network events [#267](https://github.com/elastic/synthetics/issues/267)
259
-
260
- ## v1.0.0-beta.0 (2021-04-23)
261
-
262
- ### Features
263
-
264
- - Default to JPEG images with quality 80 for individual step
265
- screenshots[#233](https://github.com/elastic/synthetics/issues/233)
266
-
267
- ### Bug fixes
268
-
269
- - Keep journey callback types to be synchronous to match with how steps are
270
- executed synchronously[#256](https://github.com/elastic/synthetics/issues/256)
271
- - Report correct page URL on navigation
272
- failures[#255](https://github.com/elastic/synthetics/issues/255)
273
-
274
- **NOTE: Playwright version is updated to 1.10.0**
275
-
276
- ## v0.0.1-alpha14 (2021-04-14)
277
-
278
- ### Features
279
-
280
- - Add support for custom reporters for the Synthetics runner
281
- [#254](https://github.com/elastic/synthetics/issues/254)
282
-
283
- ## v0.0.1-alpha13 (2021-04-08)
284
-
285
- ### Features
286
-
287
- - Remove duplicate payload fields and keep the network fields under ECS
288
- [#252](https://github.com/elastic/synthetics/issues/252)
289
-
290
- ### Bug fixes
291
-
292
- - Measure the network timings for aborted and inflight network requests
293
- correctly[#251](https://github.com/elastic/synthetics/pull/251)
294
-
295
- ## v0.0.1-alpha12 (2021-03-31)
296
-
297
- ### Features
298
-
299
- - Record transfer size and resource size for all network events
300
- [#220](https://github.com/elastic/synthetics/issues/220)
301
- - Report the number of journeys as part of the new `synthetics/metadata` event
302
- which would be used by heartbeat eventually for sharding [#247](https://github.com/elastic/synthetics/pull/247)
303
-
304
- ## v0.0.1-alpha11 (2021-03-10)
305
-
306
- ### Features
307
-
308
- - Expose driver type information from the agent [#239](https://github.com/elastic/synthetics/pull/239)
309
-
310
- Exposing the types allows developers to import the driver type information
311
- directly from the synthetics package instead of using via playwright specific
312
- packages which would result in inconsistent types (version mismatch or
313
- browser specific types).
314
-
315
- ## v0.0.1-alpha10 (2021-03-04)
316
-
317
- ### Features
318
-
319
- - Move all the ECS specific fields under `root_fields` [#164](https://github.com/elastic/synthetics/issues/164)
320
- - Add support for Junit reporter [#149](https://github.com/elastic/synthetics/issues/149)
321
- - Expose status field for `step/end` and `journey/end` [#230](https://github.com/elastic/synthetics/issues/230)
322
-
323
- ### Bug fixes
324
-
325
- - Disable chromium sandboxing by default
326
- [#225](https://github.com/elastic/synthetics/issues/225)
327
-
328
- ## v0.0.1-alpha9 (2021-02-01)
329
-
330
- ### Features
331
-
332
- - Add runtime seccomp profiler for the synthetics agent [#181](https://github.com/elastic/synthetics/issues/181)
333
-
334
- ### Bug fixes
335
-
336
- - Exit with non-zero code when any step/journey fails [#191](https://github.com/elastic/synthetics/issues/191)
337
- - Calculate blocking time properly for missing network data [#187](https://github.com/elastic/synthetics/issues/187)
338
- - Preserve typescript source fails without transpiling to older JS versions [#195](https://github.com/elastic/synthetics/issues/195)
339
- - Capture redirected requests in network timing data [#180](https://github.com/elastic/synthetics/issues/180)
package/NOTICE.txt DELETED
@@ -1,250 +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
- ---------------------------------------------------------------------------
222
- This product relies on `ChromeDevTools/devtools-frontend`
223
-
224
- // Copyright 2014 The Chromium Authors. All rights reserved.
225
- //
226
- // Redistribution and use in source and binary forms, with or without
227
- // modification, are permitted provided that the following conditions are
228
- // met:
229
- //
230
- // * Redistributions of source code must retain the above copyright
231
- // notice, this list of conditions and the following disclaimer.
232
- // * Redistributions in binary form must reproduce the above
233
- // copyright notice, this list of conditions and the following disclaimer
234
- // in the documentation and/or other materials provided with the
235
- // distribution.
236
- // * Neither the name of Google Inc. nor the names of its
237
- // contributors may be used to endorse or promote products derived from
238
- // this software without specific prior written permission.
239
- //
240
- // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
241
- // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
242
- // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
243
- // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
244
- // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
245
- // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
246
- // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
247
- // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
248
- // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
249
- // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
250
- // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -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"}