Packages

ws

8.23.0 · 12 Nov 2026MIT428.4M / weekRepositorynpmAtom feed

Your version

8.7.0

26 May 2022Where it was published

8.23.0 is the newest release of 8.x.

In short

1 new2 fixed

Security

3 advisories affect 8.7.0; 8.21.0 fixes them

Release note

Features

  • Added the ability to inspect the invalid handshake requests and respond to
    them with a custom HTTP response. (6e5a5ce).

Bug fixes

  • The handshake is now aborted if the Upgrade header field value in the HTTP
    response is not a case-insensitive match for the value "websocket" (0fdcc0a).

  • The Authorization and Cookie headers are no longer sent when following an
    insecure redirect (wss: to ws:) to the same host (d68ba9e).

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.