Bump @types/http-proxy from 1.17.7 to 1.17.8 (#5126)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
dependabot[bot]andSebastian Malton authored and GitHub committed 2022-03-29 15:20:30 -04:00
1 parent 5ce0ef31c4
commit 93069e8600
3 files changed
+3 -10

No files matched your search

+2 -2
View File
@@ -3,7 +3,7 @@
* Licensed under MIT License. See LICENSE in root directory for more information.
*/
import type net from "net";
import net from "net";
import type http from "http";
import spdy from "spdy";
import type httpProxy from "http-proxy";
@@ -188,7 +188,7 @@ export class LensProxy extends Singleton {
});
proxy.on("error", (error, req, res, target) => {
if (this.closed) {
if (this.closed || res instanceof net.Socket) {
return;
}