Socket
Socket
Sign inDemoInstall

vscode-proxy-agent

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vscode-proxy-agent - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

3

CHANGELOG.md
# 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)).

4

index.d.ts

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc