Socket
Socket
Sign inDemoInstall

ws-events-and-middlewares

Package Overview
Dependencies
1
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.20 to 1.0.21

9

index.js

@@ -72,3 +72,2 @@ const Emitter = require('component-emitter')

onopenHandlers = [] // Limpiamos los eventos pendientes
clients[sock.id] = sock
listeners.emit('open')

@@ -191,5 +190,11 @@ }

events.toAll = toAll
events.clients = clients
events.clients =
// Guarados el nuevo cliente
if (sock.id) {
clients[sock.id] = sock
}
return events
}
{
"name": "ws-events-and-middlewares",
"version": "1.0.20",
"version": "1.0.21",
"description": "ws module wrapper to provide events",

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

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