vscode-proxy-agent
Advanced tools
Comparing version 0.2.0 to 0.3.0
# Change Log | ||
Notable changes will be documented here. | ||
## [0.3.0] | ||
- Forward request and options to `resolveProxy`. | ||
## [0.2.0] | ||
@@ -5,0 +8,0 @@ - Fix missing servername for SNI ([#27](https://github.com/Microsoft/vscode/issues/64133)). |
@@ -6,6 +6,6 @@ /*--------------------------------------------------------------------------------------------- | ||
import { Agent } from 'http'; | ||
import { Agent, ClientRequest, RequestOptions } from 'http'; | ||
export declare interface ProxyAgentOptions { | ||
resolveProxy(url: string, callback: (proxy: string) => void): void; | ||
resolveProxy(req: ClientRequest, opts: RequestOptions, url: string, callback: (proxy: string) => void): void; | ||
} | ||
@@ -12,0 +12,0 @@ |
@@ -24,3 +24,3 @@ | ||
* options : { | ||
* resolveProxy(url, callback) | ||
* resolveProxy(req, opts, url, callback) | ||
* } | ||
@@ -73,3 +73,3 @@ * | ||
debug('url: %o', url); | ||
self.session.resolveProxy(url, onproxy); | ||
self.session.resolveProxy(req, opts, url, onproxy); | ||
@@ -76,0 +76,0 @@ // `resolveProxy()` callback function |
{ | ||
"name": "vscode-proxy-agent", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"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
7118