Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@mutagen-d/node-proxy-server

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mutagen-d/node-proxy-server - npm Package Compare versions

Comparing version
1.1.0
to
1.1.1
+1
-1
package.json
{
"name": "@mutagen-d/node-proxy-server",
"version": "1.1.0",
"version": "1.1.1",
"description": "Http and socks proxy server",

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

@@ -120,2 +120,3 @@ const net = require('net')

socket.on('close', () => conn.destroy())
conn.on('close', () => socket.destroy())
conn.on('error', onProxyError)

@@ -164,2 +165,3 @@ } catch (e) {

socket.on('close', () => conn.destroy())
conn.on('close', () => socket.destroy())
conn.on('error', onProxyError)

@@ -250,2 +252,3 @@ } catch (e) {

socket.on('close', () => conn.destroy())
conn.on('close', () => socket.destroy())
} catch (e) {

@@ -311,6 +314,6 @@ server.emit('error', e)

if (isAuth) {
socket.write(socks5ResponseData(0x00)) // SUCCESS
socket.write(Buffer.from([0x01, 0x00])) // SUCCESS
socket.once('data', onSocks5Connection)
} else {
socket.end(socks5ResponseData(0x01)) // FAILED
socket.end(Buffer.from([0x01, 0x01])) // FAILED
}

@@ -317,0 +320,0 @@ }), socket)