Packages

ws

8.22.2 · 8 Nov 2026MIT400.1M / weekRepositorynpmAtom feed

Your version

Where each line stands

Plan an upgrade
  • 8.x8.22.2Safe from 8.21.0Latest line
  • 7.x7.5.13Safe from 7.5.11To 8.22.2
  • 6.x6.2.6Safe from 6.2.4To 8.22.2
  • 5.x5.2.7Safe from 5.2.5To 8.22.2
  • 4.x and older4.1.025 open advisories, worst high · last release Feb 2018, no longer updatedTo 8.22.2

Latest releases

All 186 releases
  1. 8.x · latest line
  2. 8.22.2

    8 Nov 2026
    • The userinfo of the URL is now percent-decoded (#2352).

    • The WebSocket constructor no longer mutates http: or https: url.URL
      objects (#2353).

  3. 8.22.1

    31 Oct 2026
  4. 8.22.0

    26 Sep 2026
    • Introduced the protocols option (8b918b0).

    • Calling websocket.close() with invalid arguments no longer transitions the
      state to WebSocket.CLOSING (#2337).

Dependency tracking · free for 3 projects

Know when your own dependencies move

ws had 2 security advisories in the last 12 months. inlinr emails you the day one touches a project of yours, with the version that fixes it.

  • Advisories reach you

    An email when a critical or high advisory affects a project, before the next install.

  • Upgrades checked first

    Peer ranges, Node, ESM-only and types changes read before you bump.

  • Only what matters

    Majors and breaking notes stay; patches and sibling bumps fold into one line.

How dependency tracking works

Reading releases, release notes and advisories…

Registry facts last checked 11 Nov 2026. Releases and advisories last read 11 Nov 2026.