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

Comparing version 0.7.1 to 0.7.3

11

CHANGELOG.md

@@ -0,1 +1,11 @@

### 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
### 0.7.2 / 2019-06-13
(This version was pulled due to an error when publishing)
### 0.7.1 / 2019-06-10

@@ -10,2 +20,3 @@

- Handle errors encountered while handling malformed draft-76 requests
- Change license from MIT to Apache 2.0

@@ -12,0 +23,0 @@ ### 0.7.0 / 2017-09-11

2

lib/websocket/driver.js
'use strict';
// Protocol references:
//
//
// * http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol-75

@@ -6,0 +6,0 @@ // * http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol-76

@@ -11,3 +11,3 @@ 'use strict';

var PORTS = {'ws:': 80, 'wss:': 443};
var PORTS = { 'ws:': 80, 'wss:': 443 };

@@ -14,0 +14,0 @@ var Proxy = function(client, origin, options) {

@@ -10,3 +10,3 @@ {

"license": "Apache-2.0",
"version": "0.7.1",
"version": "0.7.3",
"engines": {

@@ -20,4 +20,4 @@ "node": ">=0.8.0"

"dependencies": {
"http-parser-js": ">=0.4.0",
"safe-buffer": ">=5.1.1",
"http-parser-js": ">=0.4.0 <0.4.11",
"safe-buffer": ">=5.1.0",
"websocket-extensions": ">=0.1.1"

@@ -24,0 +24,0 @@ },

@@ -180,3 +180,3 @@ # websocket-driver [![Build Status](https://travis-ci.org/faye/websocket-driver-node.svg)](https://travis-ci.org/faye/websocket-driver-node)

tcp.pipe(proxy).pipe(tcp, {end: false});
tcp.pipe(proxy).pipe(tcp, { end: false });

@@ -183,0 +183,0 @@ tcp.on('connect', function() {

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