hud-sdk 1.3.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,38 @@
1
+ **Hud Technology Inc ("Hud") IDE/SDK License**
2
+
3
+
4
+ ANY AND ALL USE OF HUD'S PROPRIETARY SOLUTIONS KNOWN AS HUD SDKS, HUD
5
+ IDE EXTENSIONS AND PLUGINS AND WEB APPLICATIONS ("**SOLUTION**") IS
6
+ SUBJECT TO: (I) FULL REGISTRATION AT [HTTPS://APP.HUD.IO](https://app.hud.io/);
7
+ (II) ACCEPTANCE OF THE HUD LICENSE TERMS EMAILED TO YOUR ORGANIZATION
8
+ BY HUD UPON COMPLETION OF THE REGISTRATION ("**TERMS**") AND (II)
9
+ INSTALLATION IN FULL OF THE SOLUTION. IF YOU DO NOT AGREE TO THE
10
+ TERMS, PLEASE DO NOT USE THE SOLUTION.
11
+
12
+ Without derogating from the foregoing:
13
+
14
+ Until final registration, installation and acceptance of the Terms you
15
+ may not use the Solution in any manner whatsoever including without
16
+ limitation: modify, enhance, create derivative works, decompile,
17
+ dissemble, reverse engineer, commercialize, make publicly available,
18
+ distribute, copy, reproduce, rent, lease, lend, use, translate,
19
+ reproduce, publish, market, license, sublicense, assign, sell, pledge,
20
+ resell or otherwise use the Solution in any manner. Hud’s privacy
21
+ practices are governed by Hud's Privacy Policy available at
22
+ https://www.hud.io/privacy-policy.
23
+
24
+ THE SOLUTION IS HUD PROPRIETARY AND CONFIDENTIAL. THE SOLUTION AND ALL
25
+ IMPROVEMENTS, ENHANCEMENTS, FEEDBACK AND DERIVATIVES THEREOF AND ALL
26
+ INTELLECTUAL PROPERTY RIGHTS IN CONNECTION THEREWITH ("**HUD IPR**")
27
+ ARE EXCLUSIVELY OWNED BY HUD AND/OR ITS LICENSORS. THIS AGREEMENT DOES
28
+ NOT CONVEY TO YOU ANY RIGHT, TITLE OR INTEREST IN THE HUD IPR. HUD ITS
29
+ AFFILIATES, OFFICERS, LICENSORS AND/OR SUPPLIERS SHALL NOT BE LIABLE
30
+ UNDER ANY LEGAL THEORY WHETHER CONTRACT, TORT OR OTHERWISE, FOR ANY
31
+ DAMAGES WHATSOEVER.
32
+
33
+ Notwithstanding anything to the contrary, any third-party software
34
+ provided as part of or with the Solution is solely governed by its
35
+ respective license terms made available to you as part of the download
36
+ process and/or clicking “install” for the respective part of the
37
+ Solution in any of the following:
38
+ [https://www.npmjs.com/package/@code-hud/hud-node-sdk/](https://www.npmjs.com/package/@code-hud/hud-node-sdk)
package/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # hud-node-sdk
2
+
3
+ Hud design partners - please download the Node SDK here
@@ -0,0 +1,558 @@
1
+
2
+ Hud's sdk package utilizes source code from the following third-party
3
+ packages. Each of these packages is distributed under its own license, which
4
+ is included below.
5
+
6
+ ===============================================================================
7
+
8
+ Package: @babel/core
9
+ License: MIT
10
+ Repository: https://github.com/babel/babel
11
+
12
+ MIT License
13
+
14
+ Copyright (c) 2014-present Sebastian McKenzie and other contributors
15
+
16
+ Permission is hereby granted, free of charge, to any person obtaining
17
+ a copy of this software and associated documentation files (the
18
+ "Software"), to deal in the Software without restriction, including
19
+ without limitation the rights to use, copy, modify, merge, publish,
20
+ distribute, sublicense, and/or sell copies of the Software, and to
21
+ permit persons to whom the Software is furnished to do so, subject to
22
+ the following conditions:
23
+
24
+ The above copyright notice and this permission notice shall be
25
+ included in all copies or substantial portions of the Software.
26
+
27
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
28
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
29
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
30
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
31
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
32
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
33
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
34
+
35
+
36
+ --------------------------------------------------------------------------------
37
+
38
+ Package: @cspotcode/source-map-support
39
+ License: MIT
40
+ Repository: https://github.com/cspotcode/node-source-map-support
41
+
42
+ The MIT License (MIT)
43
+
44
+ Copyright (c) 2014 Evan Wallace
45
+
46
+ Permission is hereby granted, free of charge, to any person obtaining a copy
47
+ of this software and associated documentation files (the "Software"), to deal
48
+ in the Software without restriction, including without limitation the rights
49
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
50
+ copies of the Software, and to permit persons to whom the Software is
51
+ furnished to do so, subject to the following conditions:
52
+
53
+ The above copyright notice and this permission notice shall be included in all
54
+ copies or substantial portions of the Software.
55
+
56
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
57
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
58
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
59
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
60
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
61
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
62
+ SOFTWARE.
63
+
64
+
65
+ --------------------------------------------------------------------------------
66
+
67
+ Package: @swc/core
68
+ License: Apache-2.0
69
+ Repository: https://github.com/swc-project/swc
70
+
71
+ Apache License
72
+ Version 2.0, January 2004
73
+ http://www.apache.org/licenses/
74
+
75
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
76
+
77
+ 1. Definitions.
78
+
79
+ "License" shall mean the terms and conditions for use, reproduction,
80
+ and distribution as defined by Sections 1 through 9 of this document.
81
+
82
+ "Licensor" shall mean the copyright owner or entity authorized by
83
+ the copyright owner that is granting the License.
84
+
85
+ "Legal Entity" shall mean the union of the acting entity and all
86
+ other entities that control, are controlled by, or are under common
87
+ control with that entity. For the purposes of this definition,
88
+ "control" means (i) the power, direct or indirect, to cause the
89
+ direction or management of such entity, whether by contract or
90
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
91
+ outstanding shares, or (iii) beneficial ownership of such entity.
92
+
93
+ "You" (or "Your") shall mean an individual or Legal Entity
94
+ exercising permissions granted by this License.
95
+
96
+ "Source" form shall mean the preferred form for making modifications,
97
+ including but not limited to software source code, documentation
98
+ source, and configuration files.
99
+
100
+ "Object" form shall mean any form resulting from mechanical
101
+ transformation or translation of a Source form, including but
102
+ not limited to compiled object code, generated documentation,
103
+ and conversions to other media types.
104
+
105
+ "Work" shall mean the work of authorship, whether in Source or
106
+ Object form, made available under the License, as indicated by a
107
+ copyright notice that is included in or attached to the work
108
+ (an example is provided in the Appendix below).
109
+
110
+ "Derivative Works" shall mean any work, whether in Source or Object
111
+ form, that is based on (or derived from) the Work and for which the
112
+ editorial revisions, annotations, elaborations, or other modifications
113
+ represent, as a whole, an original work of authorship. For the purposes
114
+ of this License, Derivative Works shall not include works that remain
115
+ separable from, or merely link (or bind by name) to the interfaces of,
116
+ the Work and Derivative Works thereof.
117
+
118
+ "Contribution" shall mean any work of authorship, including
119
+ the original version of the Work and any modifications or additions
120
+ to that Work or Derivative Works thereof, that is intentionally
121
+ submitted to Licensor for inclusion in the Work by the copyright owner
122
+ or by an individual or Legal Entity authorized to submit on behalf of
123
+ the copyright owner. For the purposes of this definition, "submitted"
124
+ means any form of electronic, verbal, or written communication sent
125
+ to the Licensor or its representatives, including but not limited to
126
+ communication on electronic mailing lists, source code control systems,
127
+ and issue tracking systems that are managed by, or on behalf of, the
128
+ Licensor for the purpose of discussing and improving the Work, but
129
+ excluding communication that is conspicuously marked or otherwise
130
+ designated in writing by the copyright owner as "Not a Contribution."
131
+
132
+ "Contributor" shall mean Licensor and any individual or Legal Entity
133
+ on behalf of whom a Contribution has been received by Licensor and
134
+ subsequently incorporated within the Work.
135
+
136
+ 2. Grant of Copyright License. Subject to the terms and conditions of
137
+ this License, each Contributor hereby grants to You a perpetual,
138
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
139
+ copyright license to reproduce, prepare Derivative Works of,
140
+ publicly display, publicly perform, sublicense, and distribute the
141
+ Work and such Derivative Works in Source or Object form.
142
+
143
+ 3. Grant of Patent License. Subject to the terms and conditions of
144
+ this License, each Contributor hereby grants to You a perpetual,
145
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
146
+ (except as stated in this section) patent license to make, have made,
147
+ use, offer to sell, sell, import, and otherwise transfer the Work,
148
+ where such license applies only to those patent claims licensable
149
+ by such Contributor that are necessarily infringed by their
150
+ Contribution(s) alone or by combination of their Contribution(s)
151
+ with the Work to which such Contribution(s) was submitted. If You
152
+ institute patent litigation against any entity (including a
153
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
154
+ or a Contribution incorporated within the Work constitutes direct
155
+ or contributory patent infringement, then any patent licenses
156
+ granted to You under this License for that Work shall terminate
157
+ as of the date such litigation is filed.
158
+
159
+ 4. Redistribution. You may reproduce and distribute copies of the
160
+ Work or Derivative Works thereof in any medium, with or without
161
+ modifications, and in Source or Object form, provided that You
162
+ meet the following conditions:
163
+
164
+ (a) You must give any other recipients of the Work or
165
+ Derivative Works a copy of this License; and
166
+
167
+ (b) You must cause any modified files to carry prominent notices
168
+ stating that You changed the files; and
169
+
170
+ (c) You must retain, in the Source form of any Derivative Works
171
+ that You distribute, all copyright, patent, trademark, and
172
+ attribution notices from the Source form of the Work,
173
+ excluding those notices that do not pertain to any part of
174
+ the Derivative Works; and
175
+
176
+ (d) If the Work includes a "NOTICE" text file as part of its
177
+ distribution, then any Derivative Works that You distribute must
178
+ include a readable copy of the attribution notices contained
179
+ within such NOTICE file, excluding those notices that do not
180
+ pertain to any part of the Derivative Works, in at least one
181
+ of the following places: within a NOTICE text file distributed
182
+ as part of the Derivative Works; within the Source form or
183
+ documentation, if provided along with the Derivative Works; or,
184
+ within a display generated by the Derivative Works, if and
185
+ wherever such third-party notices normally appear. The contents
186
+ of the NOTICE file are for informational purposes only and
187
+ do not modify the License. You may add Your own attribution
188
+ notices within Derivative Works that You distribute, alongside
189
+ or as an addendum to the NOTICE text from the Work, provided
190
+ that such additional attribution notices cannot be construed
191
+ as modifying the License.
192
+
193
+ You may add Your own copyright statement to Your modifications and
194
+ may provide additional or different license terms and conditions
195
+ for use, reproduction, or distribution of Your modifications, or
196
+ for any such Derivative Works as a whole, provided Your use,
197
+ reproduction, and distribution of the Work otherwise complies with
198
+ the conditions stated in this License.
199
+
200
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
201
+ any Contribution intentionally submitted for inclusion in the Work
202
+ by You to the Licensor shall be under the terms and conditions of
203
+ this License, without any additional terms or conditions.
204
+ Notwithstanding the above, nothing herein shall supersede or modify
205
+ the terms of any separate license agreement you may have executed
206
+ with Licensor regarding such Contributions.
207
+
208
+ 6. Trademarks. This License does not grant permission to use the trade
209
+ names, trademarks, service marks, or product names of the Licensor,
210
+ except as required for reasonable and customary use in describing the
211
+ origin of the Work and reproducing the content of the NOTICE file.
212
+
213
+ 7. Disclaimer of Warranty. Unless required by applicable law or
214
+ agreed to in writing, Licensor provides the Work (and each
215
+ Contributor provides its Contributions) on an "AS IS" BASIS,
216
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
217
+ implied, including, without limitation, any warranties or conditions
218
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
219
+ PARTICULAR PURPOSE. You are solely responsible for determining the
220
+ appropriateness of using or redistributing the Work and assume any
221
+ risks associated with Your exercise of permissions under this License.
222
+
223
+ 8. Limitation of Liability. In no event and under no legal theory,
224
+ whether in tort (including negligence), contract, or otherwise,
225
+ unless required by applicable law (such as deliberate and grossly
226
+ negligent acts) or agreed to in writing, shall any Contributor be
227
+ liable to You for damages, including any direct, indirect, special,
228
+ incidental, or consequential damages of any character arising as a
229
+ result of this License or out of the use or inability to use the
230
+ Work (including but not limited to damages for loss of goodwill,
231
+ work stoppage, computer failure or malfunction, or any and all
232
+ other commercial damages or losses), even if such Contributor
233
+ has been advised of the possibility of such damages.
234
+
235
+ 9. Accepting Warranty or Additional Liability. While redistributing
236
+ the Work or Derivative Works thereof, You may choose to offer,
237
+ and charge a fee for, acceptance of support, warranty, indemnity,
238
+ or other liability obligations and/or rights consistent with this
239
+ License. However, in accepting such obligations, You may act only
240
+ on Your own behalf and on Your sole responsibility, not on behalf
241
+ of any other Contributor, and only if You agree to indemnify,
242
+ defend, and hold each Contributor harmless for any liability
243
+ incurred by, or claims asserted against, such Contributor by reason
244
+ of your accepting any such warranty or additional liability.
245
+
246
+ END OF TERMS AND CONDITIONS
247
+
248
+ APPENDIX: How to apply the Apache License to your work.
249
+
250
+ To apply the Apache License to your work, attach the following
251
+ boilerplate notice, with the fields enclosed by brackets "[]"
252
+ replaced with your own identifying information. (Don't include
253
+ the brackets!) The text should be enclosed in the appropriate
254
+ comment syntax for the file format. We also recommend that a
255
+ file or class name and description of purpose be included on the
256
+ same "printed page" as the copyright notice for easier
257
+ identification within third-party archives.
258
+
259
+ Copyright 2024 SWC contributors.
260
+
261
+ Licensed under the Apache License, Version 2.0 (the "License");
262
+ you may not use this file except in compliance with the License.
263
+ You may obtain a copy of the License at
264
+
265
+ http://www.apache.org/licenses/LICENSE-2.0
266
+
267
+ Unless required by applicable law or agreed to in writing, software
268
+ distributed under the License is distributed on an "AS IS" BASIS,
269
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
270
+ See the License for the specific language governing permissions and
271
+ limitations under the License.
272
+
273
+ --------------------------------------------------------------------------------
274
+
275
+ Package: array-flatten
276
+ License: MIT
277
+ Repository: https://github.com/blakeembrey/array-flatten
278
+
279
+ The MIT License (MIT)
280
+
281
+ Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com)
282
+
283
+ Permission is hereby granted, free of charge, to any person obtaining a copy
284
+ of this software and associated documentation files (the "Software"), to deal
285
+ in the Software without restriction, including without limitation the rights
286
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
287
+ copies of the Software, and to permit persons to whom the Software is
288
+ furnished to do so, subject to the following conditions:
289
+
290
+ The above copyright notice and this permission notice shall be included in
291
+ all copies or substantial portions of the Software.
292
+
293
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
294
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
295
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
296
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
297
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
298
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
299
+ THE SOFTWARE.
300
+
301
+
302
+ --------------------------------------------------------------------------------
303
+
304
+ Package: axios
305
+ License: MIT
306
+ Repository: https://github.com/axios/axios
307
+
308
+ # Copyright (c) 2014-present Matt Zabriskie & Collaborators
309
+
310
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
311
+
312
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
313
+
314
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
315
+
316
+
317
+ --------------------------------------------------------------------------------
318
+
319
+ Package: glob
320
+ License: ISC
321
+ Repository: https://github.com/isaacs/node-glob
322
+
323
+ The ISC License
324
+
325
+ Copyright (c) 2009-2023 Isaac Z. Schlueter and Contributors
326
+
327
+ Permission to use, copy, modify, and/or distribute this software for any
328
+ purpose with or without fee is hereby granted, provided that the above
329
+ copyright notice and this permission notice appear in all copies.
330
+
331
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
332
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
333
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
334
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
335
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
336
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
337
+ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
338
+
339
+
340
+ --------------------------------------------------------------------------------
341
+
342
+ Package: reflect-metadata
343
+ License: Apache-2.0
344
+ Repository: https://github.com/rbuckton/reflect-metadata
345
+
346
+ Apache License
347
+
348
+ Version 2.0, January 2004
349
+
350
+ http://www.apache.org/licenses/
351
+
352
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
353
+
354
+ 1. Definitions.
355
+
356
+ "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
357
+
358
+ "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
359
+
360
+ "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
361
+
362
+ "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
363
+
364
+ "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
365
+
366
+ "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
367
+
368
+ "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
369
+
370
+ "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
371
+
372
+ "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
373
+
374
+ "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
375
+
376
+ 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
377
+
378
+ 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
379
+
380
+ 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
381
+
382
+ You must give any other recipients of the Work or Derivative Works a copy of this License; and
383
+
384
+ You must cause any modified files to carry prominent notices stating that You changed the files; and
385
+
386
+ You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
387
+
388
+ If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
389
+
390
+ 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
391
+
392
+ 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
393
+
394
+ 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
395
+
396
+ 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
397
+
398
+ 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
399
+
400
+ END OF TERMS AND CONDITIONS
401
+
402
+ --------------------------------------------------------------------------------
403
+
404
+ Package: require-in-the-middle
405
+ License: MIT
406
+ Repository: https://github.com/elastic/require-in-the-middle
407
+
408
+ The MIT License (MIT)
409
+
410
+ Copyright (c) 2016-2019, Thomas Watson Steen
411
+ Copyright (c) 2019-2023, Elasticsearch B.V.
412
+
413
+ Permission is hereby granted, free of charge, to any person obtaining a copy
414
+ of this software and associated documentation files (the "Software"), to deal
415
+ in the Software without restriction, including without limitation the rights
416
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
417
+ copies of the Software, and to permit persons to whom the Software is
418
+ furnished to do so, subject to the following conditions:
419
+
420
+ The above copyright notice and this permission notice shall be included in all
421
+ copies or substantial portions of the Software.
422
+
423
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
424
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
425
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
426
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
427
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
428
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
429
+ SOFTWARE.
430
+
431
+
432
+ --------------------------------------------------------------------------------
433
+
434
+ Package: semver
435
+ License: ISC
436
+ Repository: https://github.com/npm/node-semver
437
+
438
+ The ISC License
439
+
440
+ Copyright (c) Isaac Z. Schlueter and Contributors
441
+
442
+ Permission to use, copy, modify, and/or distribute this software for any
443
+ purpose with or without fee is hereby granted, provided that the above
444
+ copyright notice and this permission notice appear in all copies.
445
+
446
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
447
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
448
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
449
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
450
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
451
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
452
+ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
453
+
454
+
455
+ --------------------------------------------------------------------------------
456
+
457
+ Package: semver
458
+ License: ISC
459
+ Repository: https://github.com/npm/node-semver
460
+
461
+ The ISC License
462
+
463
+ Copyright (c) Isaac Z. Schlueter and Contributors
464
+
465
+ Permission to use, copy, modify, and/or distribute this software for any
466
+ purpose with or without fee is hereby granted, provided that the above
467
+ copyright notice and this permission notice appear in all copies.
468
+
469
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
470
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
471
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
472
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
473
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
474
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
475
+ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
476
+
477
+
478
+ --------------------------------------------------------------------------------
479
+
480
+ Package: source-map
481
+ License: BSD-3-Clause
482
+ Repository: https://github.com/mozilla/source-map
483
+
484
+
485
+ Copyright (c) 2009-2011, Mozilla Foundation and contributors
486
+ All rights reserved.
487
+
488
+ Redistribution and use in source and binary forms, with or without
489
+ modification, are permitted provided that the following conditions are met:
490
+
491
+ * Redistributions of source code must retain the above copyright notice, this
492
+ list of conditions and the following disclaimer.
493
+
494
+ * Redistributions in binary form must reproduce the above copyright notice,
495
+ this list of conditions and the following disclaimer in the documentation
496
+ and/or other materials provided with the distribution.
497
+
498
+ * Neither the names of the Mozilla Foundation nor the names of project
499
+ contributors may be used to endorse or promote products derived from this
500
+ software without specific prior written permission.
501
+
502
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
503
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
504
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
505
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
506
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
507
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
508
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
509
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
510
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
511
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
512
+
513
+
514
+ --------------------------------------------------------------------------------
515
+
516
+ Package: uuid
517
+ License: MIT
518
+ Repository: https://github.com/uuidjs/uuid
519
+
520
+ The MIT License (MIT)
521
+
522
+ Copyright (c) 2010-2020 Robert Kieffer and other contributors
523
+
524
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
525
+
526
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
527
+
528
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
529
+
530
+
531
+ --------------------------------------------------------------------------------
532
+
533
+ Package: winston
534
+ License: MIT
535
+ Repository: https://github.com/winstonjs/winston
536
+
537
+ Copyright (c) 2010 Charlie Robbins
538
+
539
+ Permission is hereby granted, free of charge, to any person obtaining a copy
540
+ of this software and associated documentation files (the "Software"), to deal
541
+ in the Software without restriction, including without limitation the rights
542
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
543
+ copies of the Software, and to permit persons to whom the Software is
544
+ furnished to do so, subject to the following conditions:
545
+
546
+ The above copyright notice and this permission notice shall be included in
547
+ all copies or substantial portions of the Software.
548
+
549
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
550
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
551
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
552
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
553
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
554
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
555
+ THE SOFTWARE.
556
+
557
+ --------------------------------------------------------------------------------
558
+
package/deferred.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ // Generated by dts-bundle-generator v9.5.1
2
+
3
+ export declare function init(apiKey: string | undefined, service: string | undefined): void;
4
+
5
+ export {};
@@ -0,0 +1 @@
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(global,(()=>(()=>{"use strict";var e={2602:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.hudConfig=t.HudDynamicConfigSchema=void 0;const n=r(1569),o=r(7182);t.HudDynamicConfigSchema=n.z.object({aggregationInterval:n.z.number(),flowMetricInterval:n.z.number(),graphqlInterval:n.z.number()});const i=process.env.HUD_HOST||"https://api-prod.hud.io",a=process.env.HUD_MONITOR_MODULES,s=a?a.split(","):[],c={sink:{url:i,timeout:5e3,session_attr:"X-Session-ID"},endpoints:{init:"sink/init",send:"sink/send",batch:"sink/batch",logs:"sink/logs",fatalError:"sink/redline",getMode:"sink/getMode",getRemoteConfig:"sink/remote-config/get"},logger:{default:{levels:{app:"warn",worker:"warn",instrument:"warn"},console:!1},verbose:{levels:{app:"info",worker:"info",instrument:"info"},console:!0},debug:{levels:{app:"debug",worker:"debug",instrument:"debug"},console:!0}},loggerWorkerPortSizeLimit:1e4,customerLoggerLevel:"info",logDirectory:process.env.HUD_LOG_DIR,hudModuleName:o.SDK_MODULE_NAME,invocationSampling:new Map([[[300n,null],100],[[200n,300n],50],[[100n,200n],25],[[0n,100n],10]]),callerResetInterval:36e5,modeInterval:3e5,logsSendInterval:6e4,logPerfInterval:3e5,endpointsInterval:18e5,endpointsFirstSendWaitTime:12e4,huddBinWidth:1.2,workerGrace:6e4,workerTimeout:2e4,timeoutOnInit:3e4,workerMessageTimeout:1e4,communicationBatchSize:100,writePatched:!1,defaultOff:!0,disableOnBadApiKey:!0,disableOnBadServiceName:!0,cpuTimeCollection:!1,workloadMetadata:{sendInterval:3e5,aws:{imds:{baseURL:"http://169.254.169.254/latest",tokenURI:"/api/token",identityURI:"/dynamic/instance-identity/document",lifeCycleURI:"/meta-data/instance-life-cycle",requestTimeout:5e3},metadataFile:"/run/cloud-init/instance-data.json"},kubernetes:{namespaceFile:"/var/run/secrets/kubernetes.io/serviceaccount/namespace",uuidFile:"/sys/class/dmi/id/product_uuid",podMemoryLimitFile:"/sys/fs/cgroup/memory/memory.stat",podCPULimitFile:"/sys/fs/cgroup/cpuacct/cpu.shares"}},deleteLogsAfterSending:!0,supportSourceMap:{enable:!0,skipOnNodeFlag:!0},editInline:!0,bundlerBuildIdVarName:"hudFileBuildID",bundlerBuildUuidNamespace:"00c1e90b-af75-4d8e-9935-68485877f759",functionUuidNamespace:"94a210f3-861c-4e18-ab27-6b6c19437c9d",wrapVarPrefix:"_HUD",monitorNodeModules:s,frameworksToPatch:new Map([["express",{version:"<=4",patcher:"express"}],["koa",{version:"^2.0.0",patcher:"koa"}],["graphql/execution/execute",{version:"14 - 16",patcher:"graphql"}],["http",{version:"*",patcher:"http"}],["https",{version:"*",patcher:"http"}],["@nestjs/core/interceptors/interceptors-consumer",{version:"*",patcher:"nestjsInterceptor"}],["@nestjs/core/router/router-execution-context",{version:"*",patcher:"nestjsRouterExecutionContext"}],["@nestjs/microservices/context/rpc-context-creator",{version:">=7.0.0",patcher:"nestjsRpcContextCreator"}],["kafkajs",{version:">=1.4.0",patcher:"kafkajs"}]]),communicationKeepalive:!1,communicationKeepaliveGrace:5e3,maxWrappedFileSize:2831155,express:{routeNamesVarName:"hudRoutes",layerStateVarName:"hudState",markedVarName:"hudMarked",wrapAllCallbacks:!0},supportedNodeVersions:["18","20","21","22"],codegenMode:process.env.HUD_CODEGEN_MODE??"swc",hudPatchedName:"hudPatched",hudMetricName:"hudMetric",dynamicConfig:{aggregationInterval:3e4,flowMetricInterval:3e4,graphqlInterval:3e4},suppressTraces:!0,throttleStatusCode:202};t.hudConfig=function(e={}){return{...c,...e}}({logger:{default:{levels:{app:"info",worker:"info",instrument:"info"},console:!1},verbose:{levels:{app:"info",worker:"info",instrument:"info"},console:!0},debug:{levels:{app:"debug",worker:"debug",instrument:"debug"},console:!0}},deleteLogsAfterSending:!1,communicationKeepalive:!0}),t.default=t.hudConfig},7182:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SDK_MODULE_NAME=void 0,t.SDK_MODULE_NAME="hud-sdk"},1569:e=>{e.exports=require("zod")}},t={};return function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}(2602)})()));
@@ -0,0 +1 @@
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var o=t();for(var r in o)("object"==typeof exports?exports:e)[r]=o[r]}}(global,(()=>(()=>{"use strict";var e={7669:e=>{e.exports=require("./index")}},t={};function o(r){var i=t[r];if(void 0!==i)return i.exports;var n=t[r]={exports:{}};return e[r](n,n.exports,o),n.exports}var r={};return(()=>{var e=r;Object.defineProperty(e,"__esModule",{value:!0}),e.init=void 0,e.init=function(e,t){o(7669).init(e,t)}})(),r})()));