cocoda-sdk 3.6.5 → 3.7.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.
@@ -1,4 +1,155 @@
1
1
 
2
+ agent-base@6.0.2 by Nathan Rajlich (https://github.com/TooTallNate/node-agent-base)
3
+ License: MIT
4
+
5
+ agent-base
6
+ ==========
7
+ ### Turn a function into an [`http.Agent`][http.Agent] instance
8
+ [![Build Status](https://github.com/TooTallNate/node-agent-base/workflows/Node%20CI/badge.svg)](https://github.com/TooTallNate/node-agent-base/actions?workflow=Node+CI)
9
+
10
+ This module provides an `http.Agent` generator. That is, you pass it an async
11
+ callback function, and it returns a new `http.Agent` instance that will invoke the
12
+ given callback function when sending outbound HTTP requests.
13
+
14
+ #### Some subclasses:
15
+
16
+ Here's some more interesting uses of `agent-base`.
17
+ Send a pull request to list yours!
18
+
19
+ * [`http-proxy-agent`][http-proxy-agent]: An HTTP(s) proxy `http.Agent` implementation for HTTP endpoints
20
+ * [`https-proxy-agent`][https-proxy-agent]: An HTTP(s) proxy `http.Agent` implementation for HTTPS endpoints
21
+ * [`pac-proxy-agent`][pac-proxy-agent]: A PAC file proxy `http.Agent` implementation for HTTP and HTTPS
22
+ * [`socks-proxy-agent`][socks-proxy-agent]: A SOCKS proxy `http.Agent` implementation for HTTP and HTTPS
23
+
24
+
25
+ Installation
26
+ ------------
27
+
28
+ Install with `npm`:
29
+
30
+ ``` bash
31
+ $ npm install agent-base
32
+ ```
33
+
34
+
35
+ Example
36
+ -------
37
+
38
+ Here's a minimal example that creates a new `net.Socket` connection to the server
39
+ for every HTTP request (i.e. the equivalent of `agent: false` option):
40
+
41
+ ```js
42
+ var net = require('net');
43
+ var tls = require('tls');
44
+ var url = require('url');
45
+ var http = require('http');
46
+ var agent = require('agent-base');
47
+
48
+ var endpoint = 'http://nodejs.org/api/';
49
+ var parsed = url.parse(endpoint);
50
+
51
+ // This is the important part!
52
+ parsed.agent = agent(function (req, opts) {
53
+ var socket;
54
+ // `secureEndpoint` is true when using the https module
55
+ if (opts.secureEndpoint) {
56
+ socket = tls.connect(opts);
57
+ } else {
58
+ socket = net.connect(opts);
59
+ }
60
+ return socket;
61
+ });
62
+
63
+ // Everything else works just like normal...
64
+ http.get(parsed, function (res) {
65
+ console.log('"response" event!', res.headers);
66
+ res.pipe(process.stdout);
67
+ });
68
+ ```
69
+
70
+ Returning a Promise or using an `async` function is also supported:
71
+
72
+ ```js
73
+ agent(async function (req, opts) {
74
+ await sleep(1000);
75
+ // etc…
76
+ });
77
+ ```
78
+
79
+ Return another `http.Agent` instance to "pass through" the responsibility
80
+ for that HTTP request to that agent:
81
+
82
+ ```js
83
+ agent(function (req, opts) {
84
+ return opts.secureEndpoint ? https.globalAgent : http.globalAgent;
85
+ });
86
+ ```
87
+
88
+
89
+ API
90
+ ---
91
+
92
+ ## Agent(Function callback[, Object options]) → [http.Agent][]
93
+
94
+ Creates a base `http.Agent` that will execute the callback function `callback`
95
+ for every HTTP request that it is used as the `agent` for. The callback function
96
+ is responsible for creating a `stream.Duplex` instance of some kind that will be
97
+ used as the underlying socket in the HTTP request.
98
+
99
+ The `options` object accepts the following properties:
100
+
101
+ * `timeout` - Number - Timeout for the `callback()` function in milliseconds. Defaults to Infinity (optional).
102
+
103
+ The callback function should have the following signature:
104
+
105
+ ### callback(http.ClientRequest req, Object options, Function cb) → undefined
106
+
107
+ The ClientRequest `req` can be accessed to read request headers and
108
+ and the path, etc. The `options` object contains the options passed
109
+ to the `http.request()`/`https.request()` function call, and is formatted
110
+ to be directly passed to `net.connect()`/`tls.connect()`, or however
111
+ else you want a Socket to be created. Pass the created socket to
112
+ the callback function `cb` once created, and the HTTP request will
113
+ continue to proceed.
114
+
115
+ If the `https` module is used to invoke the HTTP request, then the
116
+ `secureEndpoint` property on `options` _will be set to `true`_.
117
+
118
+
119
+ License
120
+ -------
121
+
122
+ (The MIT License)
123
+
124
+ Copyright (c) 2013 Nathan Rajlich <nathan@tootallnate.net>
125
+
126
+ Permission is hereby granted, free of charge, to any person obtaining
127
+ a copy of this software and associated documentation files (the
128
+ 'Software'), to deal in the Software without restriction, including
129
+ without limitation the rights to use, copy, modify, merge, publish,
130
+ distribute, sublicense, and/or sell copies of the Software, and to
131
+ permit persons to whom the Software is furnished to do so, subject to
132
+ the following conditions:
133
+
134
+ The above copyright notice and this permission notice shall be
135
+ included in all copies or substantial portions of the Software.
136
+
137
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
138
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
139
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
140
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
141
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
142
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
143
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
144
+
145
+ [http-proxy-agent]: https://github.com/TooTallNate/node-http-proxy-agent
146
+ [https-proxy-agent]: https://github.com/TooTallNate/node-https-proxy-agent
147
+ [pac-proxy-agent]: https://github.com/TooTallNate/node-pac-proxy-agent
148
+ [socks-proxy-agent]: https://github.com/TooTallNate/node-socks-proxy-agent
149
+ [http.Agent]: https://nodejs.org/api/http.html#http_class_http_agent
150
+
151
+ ---
152
+
2
153
  asynckit@0.4.0 by Alex Indigo (https://github.com/alexindigo/asynckit)
3
154
  License: MIT
4
155
 
@@ -26,7 +177,7 @@ SOFTWARE.
26
177
 
27
178
  ---
28
179
 
29
- axios@1.7.9 by Matt Zabriskie (https://github.com/axios/axios)
180
+ axios@1.18.0 by Matt Zabriskie (https://github.com/axios/axios)
30
181
  License: MIT
31
182
 
32
183
  # Copyright (c) 2014-present Matt Zabriskie & Collaborators
@@ -39,6 +190,33 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
39
190
 
40
191
  ---
41
192
 
193
+ call-bind-apply-helpers@1.0.2 by Jordan Harband (https://github.com/ljharb/call-bind-apply-helpers)
194
+ License: MIT
195
+
196
+ MIT License
197
+
198
+ Copyright (c) 2024 Jordan Harband
199
+
200
+ Permission is hereby granted, free of charge, to any person obtaining a copy
201
+ of this software and associated documentation files (the "Software"), to deal
202
+ in the Software without restriction, including without limitation the rights
203
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
204
+ copies of the Software, and to permit persons to whom the Software is
205
+ furnished to do so, subject to the following conditions:
206
+
207
+ The above copyright notice and this permission notice shall be included in all
208
+ copies or substantial portions of the Software.
209
+
210
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
211
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
212
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
213
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
214
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
215
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
216
+ SOFTWARE.
217
+
218
+ ---
219
+
42
220
  combined-stream@1.0.8 by Felix Geisendörfer (https://github.com/felixge/node-combined-stream)
43
221
  License: MIT
44
222
 
@@ -62,6 +240,32 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
62
240
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
63
241
  THE SOFTWARE.
64
242
 
243
+ ---
244
+
245
+ debug@4.4.0 by Josh Junon (https://github.com/debug-js/debug)
246
+ License: MIT
247
+
248
+ (The MIT License)
249
+
250
+ Copyright (c) 2014-2017 TJ Holowaychuk <tj@vision-media.ca>
251
+ Copyright (c) 2018-2021 Josh Junon
252
+
253
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software
254
+ and associated documentation files (the 'Software'), to deal in the Software without restriction,
255
+ including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
256
+ and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
257
+ subject to the following conditions:
258
+
259
+ The above copyright notice and this permission notice shall be included in all copies or substantial
260
+ portions of the Software.
261
+
262
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
263
+ LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
264
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
265
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
266
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
267
+
268
+
65
269
  ---
66
270
 
67
271
  delayed-stream@1.0.0 by Felix Geisendörfer (https://github.com/felixge/node-delayed-stream)
@@ -89,6 +293,141 @@ THE SOFTWARE.
89
293
 
90
294
  ---
91
295
 
296
+ dunder-proto@1.0.1 by Jordan Harband (https://github.com/es-shims/dunder-proto)
297
+ License: MIT
298
+
299
+ MIT License
300
+
301
+ Copyright (c) 2024 ECMAScript Shims
302
+
303
+ Permission is hereby granted, free of charge, to any person obtaining a copy
304
+ of this software and associated documentation files (the "Software"), to deal
305
+ in the Software without restriction, including without limitation the rights
306
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
307
+ copies of the Software, and to permit persons to whom the Software is
308
+ furnished to do so, subject to the following conditions:
309
+
310
+ The above copyright notice and this permission notice shall be included in all
311
+ copies or substantial portions of the Software.
312
+
313
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
314
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
315
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
316
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
317
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
318
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
319
+ SOFTWARE.
320
+
321
+ ---
322
+
323
+ es-define-property@1.0.1 by Jordan Harband (https://github.com/ljharb/es-define-property)
324
+ License: MIT
325
+
326
+ MIT License
327
+
328
+ Copyright (c) 2024 Jordan Harband
329
+
330
+ Permission is hereby granted, free of charge, to any person obtaining a copy
331
+ of this software and associated documentation files (the "Software"), to deal
332
+ in the Software without restriction, including without limitation the rights
333
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
334
+ copies of the Software, and to permit persons to whom the Software is
335
+ furnished to do so, subject to the following conditions:
336
+
337
+ The above copyright notice and this permission notice shall be included in all
338
+ copies or substantial portions of the Software.
339
+
340
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
341
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
342
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
343
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
344
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
345
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
346
+ SOFTWARE.
347
+
348
+ ---
349
+
350
+ es-errors@1.3.0 by Jordan Harband (https://github.com/ljharb/es-errors)
351
+ License: MIT
352
+
353
+ MIT License
354
+
355
+ Copyright (c) 2024 Jordan Harband
356
+
357
+ Permission is hereby granted, free of charge, to any person obtaining a copy
358
+ of this software and associated documentation files (the "Software"), to deal
359
+ in the Software without restriction, including without limitation the rights
360
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
361
+ copies of the Software, and to permit persons to whom the Software is
362
+ furnished to do so, subject to the following conditions:
363
+
364
+ The above copyright notice and this permission notice shall be included in all
365
+ copies or substantial portions of the Software.
366
+
367
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
368
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
369
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
370
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
371
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
372
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
373
+ SOFTWARE.
374
+
375
+ ---
376
+
377
+ es-object-atoms@1.1.2 by Jordan Harband (https://github.com/ljharb/es-object-atoms)
378
+ License: MIT
379
+
380
+ MIT License
381
+
382
+ Copyright (c) 2024 Jordan Harband
383
+
384
+ Permission is hereby granted, free of charge, to any person obtaining a copy
385
+ of this software and associated documentation files (the "Software"), to deal
386
+ in the Software without restriction, including without limitation the rights
387
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
388
+ copies of the Software, and to permit persons to whom the Software is
389
+ furnished to do so, subject to the following conditions:
390
+
391
+ The above copyright notice and this permission notice shall be included in all
392
+ copies or substantial portions of the Software.
393
+
394
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
395
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
396
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
397
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
398
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
399
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
400
+ SOFTWARE.
401
+
402
+ ---
403
+
404
+ es-set-tostringtag@2.1.0 by Jordan Harband (https://github.com/es-shims/es-set-tostringtag)
405
+ License: MIT
406
+
407
+ MIT License
408
+
409
+ Copyright (c) 2022 ECMAScript Shims
410
+
411
+ Permission is hereby granted, free of charge, to any person obtaining a copy
412
+ of this software and associated documentation files (the "Software"), to deal
413
+ in the Software without restriction, including without limitation the rights
414
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
415
+ copies of the Software, and to permit persons to whom the Software is
416
+ furnished to do so, subject to the following conditions:
417
+
418
+ The above copyright notice and this permission notice shall be included in all
419
+ copies or substantial portions of the Software.
420
+
421
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
422
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
423
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
424
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
425
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
426
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
427
+ SOFTWARE.
428
+
429
+ ---
430
+
92
431
  flexsearch@0.8.212 by Thomas Wilkerling (https://github.com/nextapps-de/flexsearch)
93
432
  License: Apache-2.0
94
433
 
@@ -296,7 +635,7 @@ License: Apache-2.0
296
635
 
297
636
  ---
298
637
 
299
- follow-redirects@1.15.9 by Ruben Verborgh (https://github.com/follow-redirects/follow-redirects)
638
+ follow-redirects@1.16.0 by Ruben Verborgh (https://github.com/follow-redirects/follow-redirects)
300
639
  License: MIT
301
640
 
302
641
  Copyright 2014–present Olivier Lalonde <olalonde@gmail.com>, James Talmage <james@talmage.io>, Ruben Verborgh
@@ -320,7 +659,7 @@ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
320
659
 
321
660
  ---
322
661
 
323
- form-data@4.0.0 by Felix Geisendörfer (https://github.com/form-data/form-data)
662
+ form-data@4.0.6 by Felix Geisendörfer (https://github.com/form-data/form-data)
324
663
  License: MIT
325
664
 
326
665
  Copyright (c) 2012 Felix Geisendörfer (felix@debuggable.com) and contributors
@@ -345,6 +684,337 @@ Copyright (c) 2012 Felix Geisendörfer (felix@debuggable.com) and contributors
345
684
 
346
685
  ---
347
686
 
687
+ function-bind@1.1.2 by Raynos (https://github.com/Raynos/function-bind)
688
+ License: MIT
689
+
690
+ Copyright (c) 2013 Raynos.
691
+
692
+ Permission is hereby granted, free of charge, to any person obtaining a copy
693
+ of this software and associated documentation files (the "Software"), to deal
694
+ in the Software without restriction, including without limitation the rights
695
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
696
+ copies of the Software, and to permit persons to whom the Software is
697
+ furnished to do so, subject to the following conditions:
698
+
699
+ The above copyright notice and this permission notice shall be included in
700
+ all copies or substantial portions of the Software.
701
+
702
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
703
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
704
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
705
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
706
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
707
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
708
+ THE SOFTWARE.
709
+
710
+
711
+ ---
712
+
713
+ get-intrinsic@1.3.0 by Jordan Harband (https://github.com/ljharb/get-intrinsic)
714
+ License: MIT
715
+
716
+ MIT License
717
+
718
+ Copyright (c) 2020 Jordan Harband
719
+
720
+ Permission is hereby granted, free of charge, to any person obtaining a copy
721
+ of this software and associated documentation files (the "Software"), to deal
722
+ in the Software without restriction, including without limitation the rights
723
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
724
+ copies of the Software, and to permit persons to whom the Software is
725
+ furnished to do so, subject to the following conditions:
726
+
727
+ The above copyright notice and this permission notice shall be included in all
728
+ copies or substantial portions of the Software.
729
+
730
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
731
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
732
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
733
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
734
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
735
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
736
+ SOFTWARE.
737
+
738
+ ---
739
+
740
+ get-proto@1.0.1 by Jordan Harband (https://github.com/ljharb/get-proto)
741
+ License: MIT
742
+
743
+ MIT License
744
+
745
+ Copyright (c) 2025 Jordan Harband
746
+
747
+ Permission is hereby granted, free of charge, to any person obtaining a copy
748
+ of this software and associated documentation files (the "Software"), to deal
749
+ in the Software without restriction, including without limitation the rights
750
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
751
+ copies of the Software, and to permit persons to whom the Software is
752
+ furnished to do so, subject to the following conditions:
753
+
754
+ The above copyright notice and this permission notice shall be included in all
755
+ copies or substantial portions of the Software.
756
+
757
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
758
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
759
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
760
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
761
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
762
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
763
+ SOFTWARE.
764
+
765
+ ---
766
+
767
+ gopd@1.2.0 by Jordan Harband (https://github.com/ljharb/gopd)
768
+ License: MIT
769
+
770
+ MIT License
771
+
772
+ Copyright (c) 2022 Jordan Harband
773
+
774
+ Permission is hereby granted, free of charge, to any person obtaining a copy
775
+ of this software and associated documentation files (the "Software"), to deal
776
+ in the Software without restriction, including without limitation the rights
777
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
778
+ copies of the Software, and to permit persons to whom the Software is
779
+ furnished to do so, subject to the following conditions:
780
+
781
+ The above copyright notice and this permission notice shall be included in all
782
+ copies or substantial portions of the Software.
783
+
784
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
785
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
786
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
787
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
788
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
789
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
790
+ SOFTWARE.
791
+
792
+ ---
793
+
794
+ has-symbols@1.1.0 by Jordan Harband (https://github.com/inspect-js/has-symbols)
795
+ License: MIT
796
+
797
+ MIT License
798
+
799
+ Copyright (c) 2016 Jordan Harband
800
+
801
+ Permission is hereby granted, free of charge, to any person obtaining a copy
802
+ of this software and associated documentation files (the "Software"), to deal
803
+ in the Software without restriction, including without limitation the rights
804
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
805
+ copies of the Software, and to permit persons to whom the Software is
806
+ furnished to do so, subject to the following conditions:
807
+
808
+ The above copyright notice and this permission notice shall be included in all
809
+ copies or substantial portions of the Software.
810
+
811
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
812
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
813
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
814
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
815
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
816
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
817
+ SOFTWARE.
818
+
819
+ ---
820
+
821
+ has-tostringtag@1.0.2 by Jordan Harband (https://github.com/inspect-js/has-tostringtag)
822
+ License: MIT
823
+
824
+ MIT License
825
+
826
+ Copyright (c) 2021 Inspect JS
827
+
828
+ Permission is hereby granted, free of charge, to any person obtaining a copy
829
+ of this software and associated documentation files (the "Software"), to deal
830
+ in the Software without restriction, including without limitation the rights
831
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
832
+ copies of the Software, and to permit persons to whom the Software is
833
+ furnished to do so, subject to the following conditions:
834
+
835
+ The above copyright notice and this permission notice shall be included in all
836
+ copies or substantial portions of the Software.
837
+
838
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
839
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
840
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
841
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
842
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
843
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
844
+ SOFTWARE.
845
+
846
+ ---
847
+
848
+ hasown@2.0.4 by Jordan Harband (https://github.com/inspect-js/hasOwn)
849
+ License: MIT
850
+
851
+ MIT License
852
+
853
+ Copyright (c) Jordan Harband and contributors
854
+
855
+ Permission is hereby granted, free of charge, to any person obtaining a copy
856
+ of this software and associated documentation files (the "Software"), to deal
857
+ in the Software without restriction, including without limitation the rights
858
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
859
+ copies of the Software, and to permit persons to whom the Software is
860
+ furnished to do so, subject to the following conditions:
861
+
862
+ The above copyright notice and this permission notice shall be included in all
863
+ copies or substantial portions of the Software.
864
+
865
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
866
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
867
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
868
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
869
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
870
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
871
+ SOFTWARE.
872
+
873
+ ---
874
+
875
+ https-proxy-agent@5.0.1 by Nathan Rajlich (https://github.com/TooTallNate/node-https-proxy-agent)
876
+ License: MIT
877
+
878
+ https-proxy-agent
879
+ ================
880
+ ### An HTTP(s) proxy `http.Agent` implementation for HTTPS
881
+ [![Build Status](https://github.com/TooTallNate/node-https-proxy-agent/workflows/Node%20CI/badge.svg)](https://github.com/TooTallNate/node-https-proxy-agent/actions?workflow=Node+CI)
882
+
883
+ This module provides an `http.Agent` implementation that connects to a specified
884
+ HTTP or HTTPS proxy server, and can be used with the built-in `https` module.
885
+
886
+ Specifically, this `Agent` implementation connects to an intermediary "proxy"
887
+ server and issues the [CONNECT HTTP method][CONNECT], which tells the proxy to
888
+ open a direct TCP connection to the destination server.
889
+
890
+ Since this agent implements the CONNECT HTTP method, it also works with other
891
+ protocols that use this method when connecting over proxies (i.e. WebSockets).
892
+ See the "Examples" section below for more.
893
+
894
+
895
+ Installation
896
+ ------------
897
+
898
+ Install with `npm`:
899
+
900
+ ``` bash
901
+ $ npm install https-proxy-agent
902
+ ```
903
+
904
+
905
+ Examples
906
+ --------
907
+
908
+ #### `https` module example
909
+
910
+ ``` js
911
+ var url = require('url');
912
+ var https = require('https');
913
+ var HttpsProxyAgent = require('https-proxy-agent');
914
+
915
+ // HTTP/HTTPS proxy to connect to
916
+ var proxy = process.env.http_proxy || 'http://168.63.76.32:3128';
917
+ console.log('using proxy server %j', proxy);
918
+
919
+ // HTTPS endpoint for the proxy to connect to
920
+ var endpoint = process.argv[2] || 'https://graph.facebook.com/tootallnate';
921
+ console.log('attempting to GET %j', endpoint);
922
+ var options = url.parse(endpoint);
923
+
924
+ // create an instance of the `HttpsProxyAgent` class with the proxy server information
925
+ var agent = new HttpsProxyAgent(proxy);
926
+ options.agent = agent;
927
+
928
+ https.get(options, function (res) {
929
+ console.log('"response" event!', res.headers);
930
+ res.pipe(process.stdout);
931
+ });
932
+ ```
933
+
934
+ #### `ws` WebSocket connection example
935
+
936
+ ``` js
937
+ var url = require('url');
938
+ var WebSocket = require('ws');
939
+ var HttpsProxyAgent = require('https-proxy-agent');
940
+
941
+ // HTTP/HTTPS proxy to connect to
942
+ var proxy = process.env.http_proxy || 'http://168.63.76.32:3128';
943
+ console.log('using proxy server %j', proxy);
944
+
945
+ // WebSocket endpoint for the proxy to connect to
946
+ var endpoint = process.argv[2] || 'ws://echo.websocket.org';
947
+ var parsed = url.parse(endpoint);
948
+ console.log('attempting to connect to WebSocket %j', endpoint);
949
+
950
+ // create an instance of the `HttpsProxyAgent` class with the proxy server information
951
+ var options = url.parse(proxy);
952
+
953
+ var agent = new HttpsProxyAgent(options);
954
+
955
+ // finally, initiate the WebSocket connection
956
+ var socket = new WebSocket(endpoint, { agent: agent });
957
+
958
+ socket.on('open', function () {
959
+ console.log('"open" event!');
960
+ socket.send('hello world');
961
+ });
962
+
963
+ socket.on('message', function (data, flags) {
964
+ console.log('"message" event! %j %j', data, flags);
965
+ socket.close();
966
+ });
967
+ ```
968
+
969
+ API
970
+ ---
971
+
972
+ ### new HttpsProxyAgent(Object options)
973
+
974
+ The `HttpsProxyAgent` class implements an `http.Agent` subclass that connects
975
+ to the specified "HTTP(s) proxy server" in order to proxy HTTPS and/or WebSocket
976
+ requests. This is achieved by using the [HTTP `CONNECT` method][CONNECT].
977
+
978
+ The `options` argument may either be a string URI of the proxy server to use, or an
979
+ "options" object with more specific properties:
980
+
981
+ * `host` - String - Proxy host to connect to (may use `hostname` as well). Required.
982
+ * `port` - Number - Proxy port to connect to. Required.
983
+ * `protocol` - String - If `https:`, then use TLS to connect to the proxy.
984
+ * `headers` - Object - Additional HTTP headers to be sent on the HTTP CONNECT method.
985
+ * Any other options given are passed to the `net.connect()`/`tls.connect()` functions.
986
+
987
+
988
+ License
989
+ -------
990
+
991
+ (The MIT License)
992
+
993
+ Copyright (c) 2013 Nathan Rajlich &lt;nathan@tootallnate.net&gt;
994
+
995
+ Permission is hereby granted, free of charge, to any person obtaining
996
+ a copy of this software and associated documentation files (the
997
+ 'Software'), to deal in the Software without restriction, including
998
+ without limitation the rights to use, copy, modify, merge, publish,
999
+ distribute, sublicense, and/or sell copies of the Software, and to
1000
+ permit persons to whom the Software is furnished to do so, subject to
1001
+ the following conditions:
1002
+
1003
+ The above copyright notice and this permission notice shall be
1004
+ included in all copies or substantial portions of the Software.
1005
+
1006
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
1007
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
1008
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
1009
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
1010
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
1011
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
1012
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1013
+
1014
+ [CONNECT]: http://en.wikipedia.org/wiki/HTTP_tunnel#HTTP_CONNECT_Tunneling
1015
+
1016
+ ---
1017
+
348
1018
  immediate@3.0.6 by undefined (https://github.com/calvinmetcalf/immediate)
349
1019
  License: MIT
350
1020
 
@@ -617,6 +1287,33 @@ License: Apache-2.0
617
1287
 
618
1288
  ---
619
1289
 
1290
+ math-intrinsics@1.1.0 by Jordan Harband (https://github.com/es-shims/math-intrinsics)
1291
+ License: MIT
1292
+
1293
+ MIT License
1294
+
1295
+ Copyright (c) 2024 ECMAScript Shims
1296
+
1297
+ Permission is hereby granted, free of charge, to any person obtaining a copy
1298
+ of this software and associated documentation files (the "Software"), to deal
1299
+ in the Software without restriction, including without limitation the rights
1300
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1301
+ copies of the Software, and to permit persons to whom the Software is
1302
+ furnished to do so, subject to the following conditions:
1303
+
1304
+ The above copyright notice and this permission notice shall be included in all
1305
+ copies or substantial portions of the Software.
1306
+
1307
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1308
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1309
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1310
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1311
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1312
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1313
+ SOFTWARE.
1314
+
1315
+ ---
1316
+
620
1317
  mime-db@1.52.0 by undefined (https://github.com/jshttp/mime-db)
621
1318
  License: MIT
622
1319
 
@@ -675,7 +1372,34 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
675
1372
 
676
1373
  ---
677
1374
 
678
- proxy-from-env@1.1.0 by Rob Wu (https://github.com/Rob--W/proxy-from-env)
1375
+ ms@2.1.3 by undefined (https://github.com/vercel/ms)
1376
+ License: MIT
1377
+
1378
+ The MIT License (MIT)
1379
+
1380
+ Copyright (c) 2020 Vercel, Inc.
1381
+
1382
+ Permission is hereby granted, free of charge, to any person obtaining a copy
1383
+ of this software and associated documentation files (the "Software"), to deal
1384
+ in the Software without restriction, including without limitation the rights
1385
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1386
+ copies of the Software, and to permit persons to whom the Software is
1387
+ furnished to do so, subject to the following conditions:
1388
+
1389
+ The above copyright notice and this permission notice shall be included in all
1390
+ copies or substantial portions of the Software.
1391
+
1392
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1393
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1394
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1395
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1396
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1397
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1398
+ SOFTWARE.
1399
+
1400
+ ---
1401
+
1402
+ proxy-from-env@2.1.0 by Rob Wu (https://github.com/Rob--W/proxy-from-env)
679
1403
  License: MIT
680
1404
 
681
1405
  The MIT License
@@ -701,7 +1425,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
701
1425
 
702
1426
  ---
703
1427
 
704
- uuid@13.0.0 by undefined (https://github.com/uuidjs/uuid)
1428
+ uuid@14.0.0 by undefined (https://github.com/uuidjs/uuid)
705
1429
  License: MIT
706
1430
 
707
1431
  The MIT License (MIT)