max-mapper / websocket-stream

websockets with the node stream API
BSD 2-Clause "Simplified" License
667 stars 114 forks source link

fix(security): Bump ws to latest supportable version #166

Open essjayhch opened 1 month ago

essjayhch commented 1 month ago

CVE-2024-37890 was located in the ws package. They have patched this in the head of ws package, and backported it into the 7.x version list.

This PR Bumps ws to 7.5.10, which is the newest version of 7.x. Upon testing using npm test, 8.x versions were found to not work as there are breaking changes in the interface. However 7.5.10 passes the test suite.

Ref: issue #165