Socket
Socket
Sign inDemoInstall

tcp-proxy.js

Package Overview
Dependencies
10
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

6

index.js

@@ -76,2 +76,3 @@ 'use strict';

_server.pipe(client);
this.emit('connection', _client, _server);
});

@@ -90,3 +91,2 @@

client.once('error', onClose);
this.emit('connection');
})

@@ -108,2 +108,6 @@ .listen(proxyPort);

end() {
if (!this.server) {
return Promise.resolve();
}
return new Promise(resolve => {

@@ -110,0 +114,0 @@ this.server.close(resolve);

2

package.json
{
"name": "tcp-proxy.js",
"version": "1.0.1",
"version": "1.0.2",
"description": "simple tcp proxy",

@@ -5,0 +5,0 @@ "dependencies": {

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc