Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ws-events-and-middlewares

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ws-events-and-middlewares - npm Package Compare versions

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc