vscode-proxy-agent
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -121,3 +121,10 @@ | ||
} else { | ||
throw new Error('Unknown proxy type: ' + type); | ||
// direct connection to the destination endpoint | ||
var socket; | ||
if (secure) { | ||
socket = tls.connect(opts); | ||
} else { | ||
socket = net.connect(opts); | ||
} | ||
return fn(null, socket); | ||
} | ||
@@ -124,0 +131,0 @@ if (agent) agent.callback(req, opts, fn); |
{ | ||
"name": "vscode-proxy-agent", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "NodeJS http(s) agent implementation for VS Code", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6305
124