Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

proxy-chain

Package Overview
Dependencies
Maintainers
10
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

proxy-chain - npm Package Compare versions

Comparing version 2.0.1-beta.12 to 2.0.1-beta.13

4

dist/server.d.ts

@@ -176,2 +176,6 @@ /// <reference types="node" />

/**
* Forcibly close a specific pending proxy connection.
*/
closeConnection(connectionId: number): void;
/**
* Forcibly closes pending proxy connections.

@@ -178,0 +182,0 @@ */

@@ -486,2 +486,13 @@ "use strict";

/**
* Forcibly close a specific pending proxy connection.
*/
closeConnection(connectionId) {
this.log(null, 'Closing pending socket');
const socket = this.connections.get(connectionId);
if (!socket)
return;
socket.destroy();
this.log(null, `Destroyed pending socket`);
}
/**
* Forcibly closes pending proxy connections.

@@ -488,0 +499,0 @@ */

2

package.json
{
"name": "proxy-chain",
"version": "2.0.1-beta.12",
"version": "2.0.1-beta.13",
"description": "Node.js implementation of a proxy server (think Squid) with support for SSL, authentication, upstream proxy chaining, and protocol tunneling.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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