Socket
Socket
Sign inDemoInstall

http2-proxy

Package Overview
Dependencies
0
Maintainers
1
Versions
193
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.33 to 5.0.34

16

index.js

@@ -206,13 +206,13 @@ const net = require('net')

function deferToConnect () {
const onSocket = (socket) => {
if (!socket.connecting) {
onProxyConnect.call(this)
} else {
socket.once('connect', onProxyConnect.bind(this))
}
function onSocket (socket) {
if (!socket.connecting) {
onProxyConnect.call(this)
} else {
socket.once('connect', onProxyConnect.bind(this))
}
}
function deferToConnect () {
if (this.socket) {
onSocket(this.socket)
onSocket.call(this, this.socket)
} else {

@@ -219,0 +219,0 @@ this.once('socket', onSocket)

{
"name": "http2-proxy",
"version": "5.0.33",
"version": "5.0.34",
"scripts": {

@@ -5,0 +5,0 @@ "dev": "nodemon --inspect=9308 src"

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