diff --git a/.snyk b/.snyk index 9784396be1..6cc119d39a 100644 --- a/.snyk +++ b/.snyk @@ -25,4 +25,3 @@ exclude: - test/** - scripts/upgrade-snyk-go-dependencies.go - release-scripts/write-ls-protocol-version.go - - src/cli/args.ts diff --git a/cliv2/go.mod b/cliv2/go.mod index 6406c78672..f6ff1f24fe 100644 --- a/cliv2/go.mod +++ b/cliv2/go.mod @@ -5,7 +5,7 @@ go 1.23 toolchain go1.23.4 require ( - github.com/elazarl/goproxy v1.3.0 + github.com/elazarl/goproxy v1.5.0 github.com/elazarl/goproxy/ext v0.0.0-20230808193330-2592e75ae04a github.com/gofrs/flock v0.12.1 github.com/golang/mock v1.6.0 diff --git a/cliv2/go.sum b/cliv2/go.sum index 54d9ed1d8a..4fc3766071 100644 --- a/cliv2/go.sum +++ b/cliv2/go.sum @@ -318,6 +318,8 @@ github.com/dustin/go-humanize v1.0.0 h1:VSnTsYCnlFHaM2/igO1h6X3HA71jcobQuxemgkq4 github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= github.com/elazarl/goproxy v1.3.0 h1:hpDH1r1qJgM3eusz7lP+BiMPnLiWPa6hDjIFF5WVCjE= github.com/elazarl/goproxy v1.3.0/go.mod h1:X/5W/t+gzDyLfHW4DrMdpjqYjpXsURlBt9lpBDxZZZQ= +github.com/elazarl/goproxy v1.5.0 h1:YU2DM2E1piA2lvHx/Wv7AgxoE0MoYnPyKOnZhiNsopc= +github.com/elazarl/goproxy v1.5.0/go.mod h1:X/5W/t+gzDyLfHW4DrMdpjqYjpXsURlBt9lpBDxZZZQ= github.com/elazarl/goproxy/ext v0.0.0-20230808193330-2592e75ae04a h1:6hp3+W5oJSkbk/m2XquFdhih2H4wxxR0Nl6GfPL8kss= github.com/elazarl/goproxy/ext v0.0.0-20230808193330-2592e75ae04a/go.mod h1:gNh8nYJoAm43RfaxurUnxr+N1PwuFV3ZMl/efxlIlY8= github.com/emicklei/proto v1.13.2 h1:z/etSFO3uyXeuEsVPzfl56WNgzcvIr42aQazXaQmFZY= diff --git a/src/cli/args.ts b/src/cli/args.ts index 9fc4a0f3ce..19697c5063 100644 --- a/src/cli/args.ts +++ b/src/cli/args.ts @@ -271,7 +271,6 @@ export function args(rawArgv: string[]): Args { if (argv.insecure) { global.ignoreUnknownCA = true; - process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0'; } debug(command, obfuscateArgs(argv));