node_modules: update (#340)

Co-authored-by: dawidd6 <9713907+dawidd6@users.noreply.github.com>
This commit is contained in:
Dawid Dziurlaanddawidd6 authored and GitHub committed 2026-10-03 22:21:10 +02:00
1 parent 791f27c1e4
commit 0635835dfc
50 files changed
+835 -266

No files matched your search

+11 -3
View File
@@ -21,13 +21,21 @@ export type HttpProxyClientCallback = Callback<net.Socket>;
* socket.write("GET / HTTP/1.0\r\n\r\n");
* });
*
* @param proxyUrl proxy configuration, etg "http://proxy.host:3128/"
* @param proxyUrl proxy configuration, e.g. "http://proxy.host:3128/"
* @param destinationPort Port to open in destination host
* @param destinationHost Destination hostname
* @param [tlsOptions] Optional TLS options for an HTTPS proxy (e.g. { rejectUnauthorized: false })
* @param callback Callback to run with the rocket object once connection is established
* @param callback Callback to run with the socket object once connection is established
*/
declare function httpProxyClient(proxyUrl: string, destinationPort: number | string, destinationHost: string, callback: HttpProxyClientCallback): void;
/**
* Establishes proxied connection to destinationPort through an HTTPS proxy
*
* @param proxyUrl proxy configuration, e.g. "https://proxy.host:3128/"
* @param destinationPort Port to open in destination host
* @param destinationHost Destination hostname
* @param tlsOptions TLS options for the proxy connection (e.g. { rejectUnauthorized: false })
* @param callback Callback to run with the socket object once connection is established
*/
declare function httpProxyClient(proxyUrl: string, destinationPort: number | string, destinationHost: string, tlsOptions: HttpProxyClientOptions | undefined, callback: HttpProxyClientCallback): void;
/**
* Socket timeout in milliseconds while the CONNECT handshake is in progress, defaults to 30 seconds.