Socket
Socket
Sign inDemoInstall

websocket-driver

Package Overview
Dependencies
3
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
23Next

0.7.4

Diff

jcoglan
published 0.7.3 •

Changelog

Source

0.7.3 / 2019-06-13

  • Cap version of http-parser-js below 0.4.11, which introduced a bug that prevents us from handling messages that are part of the same input buffer as the handshake response if chunked encoding is specified
jcoglan
published 0.7.1 •

Changelog

Source

0.7.1 / 2019-06-10

  • Catch any exceptions produced while generating a handshake response and send a 400 Bad Request response to the client
  • Pick the RFC-6455 protocol version if the request contains any of the headers used by that version
  • Use the Buffer.alloc() and Buffer.from() functions instead of the unsafe Buffer() constructor
  • Handle errors encountered while handling malformed draft-76 requests
  • Change license from MIT to Apache 2.0
jcoglan
published 0.7.0 •

jcoglan
published 0.6.5 •

Changelog

Source

0.6.5 / 2016-05-20

  • Don't mutate buffers passed in by the application when masking
jcoglan
published 0.6.4 •

Changelog

Source

0.6.4 / 2016-01-07

  • If a number is given as input for a frame payload, send it as a string
jcoglan
published 0.6.3 •

Changelog

Source

0.6.3 / 2015-11-06

  • Reject draft-76 handshakes if their Sec-WebSocket-Key headers are invalid
  • Throw a more helpful error if a client is created with an invalid URL
jcoglan
published 0.6.2 •

Changelog

Source

0.6.2 / 2015-07-18

  • When the peer sends a close frame with no error code, emit 1000
jcoglan
published 0.6.1 •

Changelog

Source

0.6.1 / 2015-07-13

  • Use the buffer.{read,write}UInt{16,32}BE methods for reading/writing numbers to buffers rather than including duplicate logic for this
jcoglan
published 0.6.0 •

Changelog

Source

0.6.0 / 2015-07-08

  • Allow the parser to recover cleanly if event listeners raise an error
  • Add a pong method for sending unsolicited pong frames
23Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc