ccdeck 3.38.5 → 3.39.0

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.
@@ -0,0 +1,597 @@
1
+ # Telemetry Radar bundled decoder licences
2
+
3
+ Generated from the installed build packages; shipped with the decoder.
4
+
5
+ ## hpack.js 2.1.6 (MIT)
6
+
7
+ #### LICENSE
8
+
9
+ This software is licensed under the MIT License.
10
+
11
+ Copyright Fedor Indutny, 2015.
12
+
13
+ Permission is hereby granted, free of charge, to any person obtaining a
14
+ copy of this software and associated documentation files (the
15
+ "Software"), to deal in the Software without restriction, including
16
+ without limitation the rights to use, copy, modify, merge, publish,
17
+ distribute, sublicense, and/or sell copies of the Software, and to permit
18
+ persons to whom the Software is furnished to do so, subject to the
19
+ following conditions:
20
+
21
+ The above copyright notice and this permission notice shall be included
22
+ in all copies or substantial portions of the Software.
23
+
24
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
25
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
26
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
27
+ NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
28
+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
29
+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
30
+ USE OR OTHER DEALINGS IN THE SOFTWARE.
31
+
32
+ [0]: https://tools.ietf.org/html/rfc7541
33
+
34
+
35
+ ## obuf 1.1.2 (MIT)
36
+
37
+ Copyright Fedor Indutny, 2015.
38
+
39
+ Permission is hereby granted, free of charge, to any person obtaining a
40
+ copy of this software and associated documentation files (the
41
+ "Software"), to deal in the Software without restriction, including
42
+ without limitation the rights to use, copy, modify, merge, publish,
43
+ distribute, sublicense, and/or sell copies of the Software, and to permit
44
+ persons to whom the Software is furnished to do so, subject to the
45
+ following conditions:
46
+
47
+ The above copyright notice and this permission notice shall be included
48
+ in all copies or substantial portions of the Software.
49
+
50
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
51
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
52
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
53
+ NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
54
+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
55
+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
56
+ USE OR OTHER DEALINGS IN THE SOFTWARE.
57
+
58
+ ## inherits 2.0.4 (ISC)
59
+
60
+ The ISC License
61
+
62
+ Copyright (c) Isaac Z. Schlueter
63
+
64
+ Permission to use, copy, modify, and/or distribute this software for any
65
+ purpose with or without fee is hereby granted, provided that the above
66
+ copyright notice and this permission notice appear in all copies.
67
+
68
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
69
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
70
+ FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
71
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
72
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
73
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
74
+ PERFORMANCE OF THIS SOFTWARE.
75
+
76
+
77
+
78
+ ## process-nextick-args 2.0.1 (MIT)
79
+
80
+ # Copyright (c) 2015 Calvin Metcalf
81
+
82
+ Permission is hereby granted, free of charge, to any person obtaining a copy
83
+ of this software and associated documentation files (the "Software"), to deal
84
+ in the Software without restriction, including without limitation the rights
85
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
86
+ copies of the Software, and to permit persons to whom the Software is
87
+ furnished to do so, subject to the following conditions:
88
+
89
+ The above copyright notice and this permission notice shall be included in all
90
+ copies or substantial portions of the Software.
91
+
92
+ **THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
93
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
94
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
95
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
96
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
97
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
98
+ SOFTWARE.**
99
+
100
+
101
+ ## isarray 1.0.0 (MIT)
102
+
103
+ ## License
104
+
105
+ (MIT)
106
+
107
+ Copyright (c) 2013 Julian Gruber <julian@juliangruber.com>
108
+
109
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
110
+ this software and associated documentation files (the "Software"), to deal in
111
+ the Software without restriction, including without limitation the rights to
112
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
113
+ of the Software, and to permit persons to whom the Software is furnished to do
114
+ so, subject to the following conditions:
115
+
116
+ The above copyright notice and this permission notice shall be included in all
117
+ copies or substantial portions of the Software.
118
+
119
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
120
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
121
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
122
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
123
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
124
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
125
+ SOFTWARE.
126
+
127
+
128
+ ## readable-stream 2.3.8 (MIT)
129
+
130
+ Node.js is licensed for use as follows:
131
+
132
+ """
133
+ Copyright Node.js contributors. All rights reserved.
134
+
135
+ Permission is hereby granted, free of charge, to any person obtaining a copy
136
+ of this software and associated documentation files (the "Software"), to
137
+ deal in the Software without restriction, including without limitation the
138
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
139
+ sell copies of the Software, and to permit persons to whom the Software is
140
+ furnished to do so, subject to the following conditions:
141
+
142
+ The above copyright notice and this permission notice shall be included in
143
+ all copies or substantial portions of the Software.
144
+
145
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
146
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
147
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
148
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
149
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
150
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
151
+ IN THE SOFTWARE.
152
+ """
153
+
154
+ This license applies to parts of Node.js originating from the
155
+ https://github.com/joyent/node repository:
156
+
157
+ """
158
+ Copyright Joyent, Inc. and other Node contributors. All rights reserved.
159
+ Permission is hereby granted, free of charge, to any person obtaining a copy
160
+ of this software and associated documentation files (the "Software"), to
161
+ deal in the Software without restriction, including without limitation the
162
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
163
+ sell copies of the Software, and to permit persons to whom the Software is
164
+ furnished to do so, subject to the following conditions:
165
+
166
+ The above copyright notice and this permission notice shall be included in
167
+ all copies or substantial portions of the Software.
168
+
169
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
170
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
171
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
172
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
173
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
174
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
175
+ IN THE SOFTWARE.
176
+ """
177
+
178
+
179
+ ## safe-buffer 5.1.2 (MIT)
180
+
181
+ The MIT License (MIT)
182
+
183
+ Copyright (c) Feross Aboukhadijeh
184
+
185
+ Permission is hereby granted, free of charge, to any person obtaining a copy
186
+ of this software and associated documentation files (the "Software"), to deal
187
+ in the Software without restriction, including without limitation the rights
188
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
189
+ copies of the Software, and to permit persons to whom the Software is
190
+ furnished to do so, subject to the following conditions:
191
+
192
+ The above copyright notice and this permission notice shall be included in
193
+ all copies or substantial portions of the Software.
194
+
195
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
196
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
197
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
198
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
199
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
200
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
201
+ THE SOFTWARE.
202
+
203
+
204
+ ## core-util-is 1.0.3 (MIT)
205
+
206
+ Copyright Node.js contributors. All rights reserved.
207
+
208
+ Permission is hereby granted, free of charge, to any person obtaining a copy
209
+ of this software and associated documentation files (the "Software"), to
210
+ deal in the Software without restriction, including without limitation the
211
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
212
+ sell copies of the Software, and to permit persons to whom the Software is
213
+ furnished to do so, subject to the following conditions:
214
+
215
+ The above copyright notice and this permission notice shall be included in
216
+ all copies or substantial portions of the Software.
217
+
218
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
219
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
220
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
221
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
222
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
223
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
224
+ IN THE SOFTWARE.
225
+
226
+
227
+ ## util-deprecate 1.0.2 (MIT)
228
+
229
+ (The MIT License)
230
+
231
+ Copyright (c) 2014 Nathan Rajlich <nathan@tootallnate.net>
232
+
233
+ Permission is hereby granted, free of charge, to any person
234
+ obtaining a copy of this software and associated documentation
235
+ files (the "Software"), to deal in the Software without
236
+ restriction, including without limitation the rights to use,
237
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
238
+ copies of the Software, and to permit persons to whom the
239
+ Software is furnished to do so, subject to the following
240
+ conditions:
241
+
242
+ The above copyright notice and this permission notice shall be
243
+ included in all copies or substantial portions of the Software.
244
+
245
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
246
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
247
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
248
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
249
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
250
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
251
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
252
+ OTHER DEALINGS IN THE SOFTWARE.
253
+
254
+
255
+ ## string_decoder 1.1.1 (MIT)
256
+
257
+ Node.js is licensed for use as follows:
258
+
259
+ """
260
+ Copyright Node.js contributors. All rights reserved.
261
+
262
+ Permission is hereby granted, free of charge, to any person obtaining a copy
263
+ of this software and associated documentation files (the "Software"), to
264
+ deal in the Software without restriction, including without limitation the
265
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
266
+ sell copies of the Software, and to permit persons to whom the Software is
267
+ furnished to do so, subject to the following conditions:
268
+
269
+ The above copyright notice and this permission notice shall be included in
270
+ all copies or substantial portions of the Software.
271
+
272
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
273
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
274
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
275
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
276
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
277
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
278
+ IN THE SOFTWARE.
279
+ """
280
+
281
+ This license applies to parts of Node.js originating from the
282
+ https://github.com/joyent/node repository:
283
+
284
+ """
285
+ Copyright Joyent, Inc. and other Node contributors. All rights reserved.
286
+ Permission is hereby granted, free of charge, to any person obtaining a copy
287
+ of this software and associated documentation files (the "Software"), to
288
+ deal in the Software without restriction, including without limitation the
289
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
290
+ sell copies of the Software, and to permit persons to whom the Software is
291
+ furnished to do so, subject to the following conditions:
292
+
293
+ The above copyright notice and this permission notice shall be included in
294
+ all copies or substantial portions of the Software.
295
+
296
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
297
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
298
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
299
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
300
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
301
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
302
+ IN THE SOFTWARE.
303
+ """
304
+
305
+
306
+
307
+ ## minimalistic-assert 1.0.1 (ISC)
308
+
309
+ Copyright 2015 Calvin Metcalf
310
+
311
+ Permission to use, copy, modify, and/or distribute this software for any purpose
312
+ with or without fee is hereby granted, provided that the above copyright notice
313
+ and this permission notice appear in all copies.
314
+
315
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
316
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
317
+ FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
318
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
319
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
320
+ OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
321
+ PERFORMANCE OF THIS SOFTWARE.
322
+
323
+ ## wbuf 1.7.3 (MIT)
324
+
325
+ #### LICENSE
326
+
327
+ This software is licensed under the MIT License.
328
+
329
+ Copyright Fedor Indutny, 2014.
330
+
331
+ Permission is hereby granted, free of charge, to any person obtaining a
332
+ copy of this software and associated documentation files (the
333
+ "Software"), to deal in the Software without restriction, including
334
+ without limitation the rights to use, copy, modify, merge, publish,
335
+ distribute, sublicense, and/or sell copies of the Software, and to permit
336
+ persons to whom the Software is furnished to do so, subject to the
337
+ following conditions:
338
+
339
+ The above copyright notice and this permission notice shall be included
340
+ in all copies or substantial portions of the Software.
341
+
342
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
343
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
344
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
345
+ NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
346
+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
347
+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
348
+ USE OR OTHER DEALINGS IN THE SOFTWARE.
349
+
350
+
351
+ ## protobufjs 8.8.0 (BSD-3-Clause)
352
+
353
+ This license applies to all parts of protobuf.js except those files
354
+ either explicitly including or referencing a different license or
355
+ located in a directory containing a different LICENSE file.
356
+
357
+ ---
358
+
359
+ Copyright (c) 2016, Daniel Wirtz All rights reserved.
360
+
361
+ Redistribution and use in source and binary forms, with or without
362
+ modification, are permitted provided that the following conditions are
363
+ met:
364
+
365
+ * Redistributions of source code must retain the above copyright
366
+ notice, this list of conditions and the following disclaimer.
367
+ * Redistributions in binary form must reproduce the above copyright
368
+ notice, this list of conditions and the following disclaimer in the
369
+ documentation and/or other materials provided with the distribution.
370
+ * Neither the name of its author, nor the names of its contributors
371
+ may be used to endorse or promote products derived from this software
372
+ without specific prior written permission.
373
+
374
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
375
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
376
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
377
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
378
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
379
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
380
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
381
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
382
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
383
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
384
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
385
+
386
+ ---
387
+
388
+ Code generated by the command line utilities is owned by the owner
389
+ of the input file used when generating it. This code is not
390
+ standalone and requires a support library to be linked with it. This
391
+ support library is itself covered by the above license.
392
+
393
+
394
+ ## long 5.3.2 (Apache-2.0)
395
+
396
+
397
+ Apache License
398
+ Version 2.0, January 2004
399
+ http://www.apache.org/licenses/
400
+
401
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
402
+
403
+ 1. Definitions.
404
+
405
+ "License" shall mean the terms and conditions for use, reproduction,
406
+ and distribution as defined by Sections 1 through 9 of this document.
407
+
408
+ "Licensor" shall mean the copyright owner or entity authorized by
409
+ the copyright owner that is granting the License.
410
+
411
+ "Legal Entity" shall mean the union of the acting entity and all
412
+ other entities that control, are controlled by, or are under common
413
+ control with that entity. For the purposes of this definition,
414
+ "control" means (i) the power, direct or indirect, to cause the
415
+ direction or management of such entity, whether by contract or
416
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
417
+ outstanding shares, or (iii) beneficial ownership of such entity.
418
+
419
+ "You" (or "Your") shall mean an individual or Legal Entity
420
+ exercising permissions granted by this License.
421
+
422
+ "Source" form shall mean the preferred form for making modifications,
423
+ including but not limited to software source code, documentation
424
+ source, and configuration files.
425
+
426
+ "Object" form shall mean any form resulting from mechanical
427
+ transformation or translation of a Source form, including but
428
+ not limited to compiled object code, generated documentation,
429
+ and conversions to other media types.
430
+
431
+ "Work" shall mean the work of authorship, whether in Source or
432
+ Object form, made available under the License, as indicated by a
433
+ copyright notice that is included in or attached to the work
434
+ (an example is provided in the Appendix below).
435
+
436
+ "Derivative Works" shall mean any work, whether in Source or Object
437
+ form, that is based on (or derived from) the Work and for which the
438
+ editorial revisions, annotations, elaborations, or other modifications
439
+ represent, as a whole, an original work of authorship. For the purposes
440
+ of this License, Derivative Works shall not include works that remain
441
+ separable from, or merely link (or bind by name) to the interfaces of,
442
+ the Work and Derivative Works thereof.
443
+
444
+ "Contribution" shall mean any work of authorship, including
445
+ the original version of the Work and any modifications or additions
446
+ to that Work or Derivative Works thereof, that is intentionally
447
+ submitted to Licensor for inclusion in the Work by the copyright owner
448
+ or by an individual or Legal Entity authorized to submit on behalf of
449
+ the copyright owner. For the purposes of this definition, "submitted"
450
+ means any form of electronic, verbal, or written communication sent
451
+ to the Licensor or its representatives, including but not limited to
452
+ communication on electronic mailing lists, source code control systems,
453
+ and issue tracking systems that are managed by, or on behalf of, the
454
+ Licensor for the purpose of discussing and improving the Work, but
455
+ excluding communication that is conspicuously marked or otherwise
456
+ designated in writing by the copyright owner as "Not a Contribution."
457
+
458
+ "Contributor" shall mean Licensor and any individual or Legal Entity
459
+ on behalf of whom a Contribution has been received by Licensor and
460
+ subsequently incorporated within the Work.
461
+
462
+ 2. Grant of Copyright License. Subject to the terms and conditions of
463
+ this License, each Contributor hereby grants to You a perpetual,
464
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
465
+ copyright license to reproduce, prepare Derivative Works of,
466
+ publicly display, publicly perform, sublicense, and distribute the
467
+ Work and such Derivative Works in Source or Object form.
468
+
469
+ 3. Grant of Patent License. Subject to the terms and conditions of
470
+ this License, each Contributor hereby grants to You a perpetual,
471
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
472
+ (except as stated in this section) patent license to make, have made,
473
+ use, offer to sell, sell, import, and otherwise transfer the Work,
474
+ where such license applies only to those patent claims licensable
475
+ by such Contributor that are necessarily infringed by their
476
+ Contribution(s) alone or by combination of their Contribution(s)
477
+ with the Work to which such Contribution(s) was submitted. If You
478
+ institute patent litigation against any entity (including a
479
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
480
+ or a Contribution incorporated within the Work constitutes direct
481
+ or contributory patent infringement, then any patent licenses
482
+ granted to You under this License for that Work shall terminate
483
+ as of the date such litigation is filed.
484
+
485
+ 4. Redistribution. You may reproduce and distribute copies of the
486
+ Work or Derivative Works thereof in any medium, with or without
487
+ modifications, and in Source or Object form, provided that You
488
+ meet the following conditions:
489
+
490
+ (a) You must give any other recipients of the Work or
491
+ Derivative Works a copy of this License; and
492
+
493
+ (b) You must cause any modified files to carry prominent notices
494
+ stating that You changed the files; and
495
+
496
+ (c) You must retain, in the Source form of any Derivative Works
497
+ that You distribute, all copyright, patent, trademark, and
498
+ attribution notices from the Source form of the Work,
499
+ excluding those notices that do not pertain to any part of
500
+ the Derivative Works; and
501
+
502
+ (d) If the Work includes a "NOTICE" text file as part of its
503
+ distribution, then any Derivative Works that You distribute must
504
+ include a readable copy of the attribution notices contained
505
+ within such NOTICE file, excluding those notices that do not
506
+ pertain to any part of the Derivative Works, in at least one
507
+ of the following places: within a NOTICE text file distributed
508
+ as part of the Derivative Works; within the Source form or
509
+ documentation, if provided along with the Derivative Works; or,
510
+ within a display generated by the Derivative Works, if and
511
+ wherever such third-party notices normally appear. The contents
512
+ of the NOTICE file are for informational purposes only and
513
+ do not modify the License. You may add Your own attribution
514
+ notices within Derivative Works that You distribute, alongside
515
+ or as an addendum to the NOTICE text from the Work, provided
516
+ that such additional attribution notices cannot be construed
517
+ as modifying the License.
518
+
519
+ You may add Your own copyright statement to Your modifications and
520
+ may provide additional or different license terms and conditions
521
+ for use, reproduction, or distribution of Your modifications, or
522
+ for any such Derivative Works as a whole, provided Your use,
523
+ reproduction, and distribution of the Work otherwise complies with
524
+ the conditions stated in this License.
525
+
526
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
527
+ any Contribution intentionally submitted for inclusion in the Work
528
+ by You to the Licensor shall be under the terms and conditions of
529
+ this License, without any additional terms or conditions.
530
+ Notwithstanding the above, nothing herein shall supersede or modify
531
+ the terms of any separate license agreement you may have executed
532
+ with Licensor regarding such Contributions.
533
+
534
+ 6. Trademarks. This License does not grant permission to use the trade
535
+ names, trademarks, service marks, or product names of the Licensor,
536
+ except as required for reasonable and customary use in describing the
537
+ origin of the Work and reproducing the content of the NOTICE file.
538
+
539
+ 7. Disclaimer of Warranty. Unless required by applicable law or
540
+ agreed to in writing, Licensor provides the Work (and each
541
+ Contributor provides its Contributions) on an "AS IS" BASIS,
542
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
543
+ implied, including, without limitation, any warranties or conditions
544
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
545
+ PARTICULAR PURPOSE. You are solely responsible for determining the
546
+ appropriateness of using or redistributing the Work and assume any
547
+ risks associated with Your exercise of permissions under this License.
548
+
549
+ 8. Limitation of Liability. In no event and under no legal theory,
550
+ whether in tort (including negligence), contract, or otherwise,
551
+ unless required by applicable law (such as deliberate and grossly
552
+ negligent acts) or agreed to in writing, shall any Contributor be
553
+ liable to You for damages, including any direct, indirect, special,
554
+ incidental, or consequential damages of any character arising as a
555
+ result of this License or out of the use or inability to use the
556
+ Work (including but not limited to damages for loss of goodwill,
557
+ work stoppage, computer failure or malfunction, or any and all
558
+ other commercial damages or losses), even if such Contributor
559
+ has been advised of the possibility of such damages.
560
+
561
+ 9. Accepting Warranty or Additional Liability. While redistributing
562
+ the Work or Derivative Works thereof, You may choose to offer,
563
+ and charge a fee for, acceptance of support, warranty, indemnity,
564
+ or other liability obligations and/or rights consistent with this
565
+ License. However, in accepting such obligations, You may act only
566
+ on Your own behalf and on Your sole responsibility, not on behalf
567
+ of any other Contributor, and only if You agree to indemnify,
568
+ defend, and hold each Contributor harmless for any liability
569
+ incurred by, or claims asserted against, such Contributor by reason
570
+ of your accepting any such warranty or additional liability.
571
+
572
+ END OF TERMS AND CONDITIONS
573
+
574
+ APPENDIX: How to apply the Apache License to your work.
575
+
576
+ To apply the Apache License to your work, attach the following
577
+ boilerplate notice, with the fields enclosed by brackets "[]"
578
+ replaced with your own identifying information. (Don't include
579
+ the brackets!) The text should be enclosed in the appropriate
580
+ comment syntax for the file format. We also recommend that a
581
+ file or class name and description of purpose be included on the
582
+ same "printed page" as the copyright notice for easier
583
+ identification within third-party archives.
584
+
585
+ Copyright [yyyy] [name of copyright owner]
586
+
587
+ Licensed under the Apache License, Version 2.0 (the "License");
588
+ you may not use this file except in compliance with the License.
589
+ You may obtain a copy of the License at
590
+
591
+ http://www.apache.org/licenses/LICENSE-2.0
592
+
593
+ Unless required by applicable law or agreed to in writing, software
594
+ distributed under the License is distributed on an "AS IS" BASIS,
595
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
596
+ See the License for the specific language governing permissions and
597
+ limitations under the License.
@@ -0,0 +1,34 @@
1
+ import hpack from "hpack.js";
2
+ import protobuf from "protobufjs/light.js";
3
+ import schema from "./traffic-radar-otlp.json";
4
+ import Long from "long";
5
+
6
+ protobuf.util.Long = Long;
7
+ protobuf.configure();
8
+ protobuf.Reader.recursionLimit = 32;
9
+ const root = protobuf.Root.fromJSON(schema);
10
+ const types = { logs: "Logs", metrics: "Metrics", traces: "Trace" };
11
+ export function decodeOtlp(signal, direction, bytes) {
12
+ const group = signal === "traces" ? "trace" : signal;
13
+ const name = `opentelemetry.proto.collector.${group}.v1.Export${types[signal]}Service${direction === "request" ? "Request" : "Response"}`;
14
+ const type = root.lookupType(name);
15
+ return type.toObject(type.decode(bytes), { longs: String, bytes: String, enums: String, json: true });
16
+ }
17
+
18
+ export function headerDecoder() {
19
+ const decoder = hpack.decompressor.create({ table: { maxSize: 4096 } });
20
+ let error = null;
21
+ decoder.on("error", value => { error = value; });
22
+ return bytes => {
23
+ if (error) throw new Error("headers_unavailable");
24
+ decoder.write(bytes);
25
+ decoder.execute();
26
+ if (error) throw new Error("headers_unavailable");
27
+ const headers = Object.create(null);
28
+ let header;
29
+ while ((header = decoder.read()) !== null) {
30
+ if ([":method", ":path", ":status", "grpc-status", "grpc-encoding", "content-type"].includes(header.name)) headers[header.name] = header.value;
31
+ }
32
+ return headers;
33
+ };
34
+ }