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.12 to 1.0.13

4

index.js

@@ -148,7 +148,7 @@ const Emitter = require('component-emitter')

emit: function () {
const args = arguments
const args = Array.from(arguments)
if (!Array.isArray(rooms[room])) { return }
rooms[room].map(socketId => {
console.log('Emitiendo mensaje el socket ' + socketId + ' por estar en la sala ' + room)
clients[socketId].emit(args)
clients[socketId].emit.apply(clients[socketId], args)
})

@@ -155,0 +155,0 @@ }

{
"name": "ws-events-and-middlewares",
"version": "1.0.12",
"version": "1.0.13",
"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