websocket-driver
WebSocket protocol handler with pluggable I/O
0.7.5
124M downloads/mo
#1555 most downloaded on npm
faye/websocket-driver-node
What this package is like to depend on
Last release 2 months ago
04 Jun 2026
Ships unpredictably
gaps range from 9 days to 6.0 years
This project publishes no release notes
the list below is its commits, not an announcement
Nothing withdrawn
no release was ever pulled
13 years old
28 releases · first in 2013
1 release in the last 12 months
see the full history below
Release timeline
28 releases · May 2013 to Jun 2026Releases
latest 28-
0.7.504 Jun 2026Commits, not release notes
This project publishes no release notes. Between
0.7.4and0.7.5there were 7 commits, 6 of them substantive:- Travis update: cache npm modules, remove sudo, run on Node 15
- Switch from Travis CI to GitHub Actions
- Test on recent versions of Node
- Test on Node v22, v24, and v26
- Close a draft-75/76 connection if a length header grows to exceed the configured max length
- Fail the connection if a message is larger than the configured max length after extension processing
-
0.7.422 May 2020Commits, not release notes
This project publishes no release notes. Between
0.7.3and0.7.4there were 5 commits, 4 of them substantive:- handling match in empty string
- Emit ping and pong events from the Server driver
- Add Node versions 13 and 14 on Travis
- Pin http-parser-js to version that fixes https://github.com/creationix/http-parser-js/issues/63
-
0.7.313 Jun 2019Commits, not release notes
This project publishes no release notes. Between
0.7.1and0.7.3there were 5 commits, 4 of them substantive:- Formatting change: {...} should have spaces inside the braces
- Cap http-parser-js at version 0.4.10 until https://github.com/creationix/http-parser-js/issues/63 is fixed
- Mention license change in the changelog
- Fix syntax of dependency versions and bump version to 0.7.3
-
0.7.110 Jun 2019Commits, not release notes
This project publishes no release notes. Between
0.7.0and0.7.1there were 18 commits, 15 of them substantive:- Remove redundant request method check from isWebSocket().
- If any driver fails to generate a handshake response, then send a 400. This means the initial http() method to select a driver doesn't need to contain all the validation logic for all the details of each protocol version, but protocol errors still result in a failed connection.
- Test on Node v9.
- If the request headers contain any of the necessary values for Hybi, then use it. i.e. if Sec-WebSocket-Key is present but not Sec-WebSocket-Version, we should still interpret it as a Hybi connection.
- Bake the isWebSocket() check into the start() method so that if somebody constructs a driver without making that check, the driver will send a 400 response.
- Handle errors in the draft76 handshake by throwing an error that Base.start() will catch, triggering a 400 response.
- Regex empty match fix
- Avoid using deprecated Buffer API
- Switch license to Apache 2.0.
- Update Travis target versions.
- Ignore package-lock.json.
- Use Buffer.write() instead of Buffer.copy() to write strings into buffers.
- Make the HTTP parser load correctly if process.version is not set, and remove some code that's supporting Node from before v0.6.
- Change markdown formatting of docs.
- Let npm reformat package.json
-
0.7.011 Sep 2017Commits, not release notes
This project publishes no release notes. Between
0.6.5and0.7.0there were 13 commits, 12 of them substantive:- Correct the HTTP parser magic numbers. The numbers we had were correct for Node 0.12 but not for releases since then.
- Replace the built-in Node HTTP parser with the http-parser-js package.
- Test on Node 7 and 8.
- Install a ^-compatible npm on Node 0.8.
- Drop Node 0.6 support; it's no longer possible to make it work on Travis because installing a working version of npm is impossible since it depends on osenv, which doesn't work on 0.6.
- Formatting tweaks to package.json.
- Drop testing for io.js releases, which barely anybody is still using.
- Add ping/pong events to the API.
- Rename tcp_server.js to net_server.js.
- Extract the license into its own file.
- Add an example of using the client driver with the net module.
- Use package.json rather than .npmignore to list files in the package.
-
0.6.520 May 2016Commits, not release notes
This project publishes no release notes. Between
0.6.4and0.6.5there were 3 commits, 2 of them substantive:- Apply masking to messages once the payload has been placed in the frame buffer rather than mutating the original message.
- Test on Node 6.0.
-
0.6.407 Jan 2016Commits, not release notes
This project publishes no release notes. Between
0.6.3and0.6.4there were 4 commits, 3 of them substantive:- Create CODE_OF_CONDUCT.md.
- Convert numbers to strings when sending frames.
- In draft-75/76, convert all non-string values to strings before sending.
-
0.6.306 Nov 2015Commits, not release notes
This project publishes no release notes. Between
0.6.2and0.6.3there were 6 commits, 5 of them substantive:- Close the connection if a draft-76 client sends a Sec-WebSocket-Key header where the numeric value is a non-integer multiple of the number of spaces.
- Use the modulo operator rather than Math.floor() to check whether the draft-76 keys are legit.
- Run tests on major versions of iojs and node 4.
- Throw a more helpful error if a client driver is created with an invalid URL.
- Test on Node 5.
-
0.6.218 Jul 2015Commits, not release notes
This project publishes no release notes. Between
0.6.1and0.6.2there were 3 commits, 2 of them substantive:- Emit close code 1000 if the closing frame does not contain one.
- Emit a protocol error when a closing frame has a 1-byte payload.
-
0.6.113 Jul 2015Nothing published for this version
-
0.6.008 Jul 2015Nothing published for this version
-
0.5.429 Mar 2015Nothing published for this version
-
0.5.322 Feb 2015Nothing published for this version
-
0.5.219 Feb 2015Nothing published for this version
-
0.5.118 Dec 2014Nothing published for this version
-
0.5.013 Dec 2014Nothing published for this version
-
0.4.008 Nov 2014Nothing published for this version
-
0.3.604 Oct 2014Nothing published for this version
-
0.3.506 Jul 2014Nothing published for this version
-
0.3.408 May 2014Nothing published for this version
-
0.3.324 Apr 2014Nothing published for this version
-
0.3.229 Dec 2013Nothing published for this version
-
0.3.103 Dec 2013Nothing published for this version
-
0.3.009 Sep 2013Nothing published for this version
-
0.2.205 Jul 2013Nothing published for this version
-
0.2.117 May 2013Nothing published for this version
-
0.2.012 May 2013Nothing published for this version
-
0.1.004 May 2013Nothing published for this version