Socket
Socket
Sign inDemoInstall

engine.io

Package Overview
Dependencies
19
Maintainers
2
Versions
147
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.1.2 to 3.1.3

6

lib/socket.js

@@ -34,3 +34,7 @@ /**

// Cache IP since it might not be in the req later
this.remoteAddress = req.connection.remoteAddress;
if (req.websocket && req.websocket._socket) {
this.remoteAddress = req.websocket._socket.remoteAddress;
} else {
this.remoteAddress = req.connection.remoteAddress;
}

@@ -37,0 +41,0 @@ this.checkIntervalTimer = null;

4

package.json
{
"name": "engine.io",
"version": "3.1.2",
"version": "3.1.3",
"description": "The realtime engine behind Socket.IO. Provides the foundation of a bidirectional connection between client and server",

@@ -30,3 +30,3 @@ "main": "lib/engine.io",

"base64id": "1.0.0",
"debug": "~2.6.4",
"debug": "~2.6.9",
"engine.io-parser": "~2.1.0",

@@ -33,0 +33,0 @@ "ws": "~2.3.1",

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