You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@hoobs/express-ws

Package Overview
Dependencies
Maintainers
3
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hoobs/express-ws - npm Package Compare versions

Comparing version

to
6.0.1

2

package.json
{
"name": "@hoobs/express-ws",
"version": "6.0.0",
"version": "6.0.1",
"description": "WebSocket endpoints for Express applications (require version)",

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

@@ -36,2 +36,9 @@ /* This module does a lot of monkeypatching, but unfortunately that appears to be the only way to

return wsServer;
},
getClients: function getClients(route) {
if (route && route !== "") {
return wsServer.clients.filter(client => url.parse(client.upgradeReq.url, true).pathname == route);
} else {
return wsServer.clients;
}
},

@@ -38,0 +45,0 @@ applyTo: function applyTo(router) {

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.