Socket
Socket
Sign inDemoInstall

faye-websocket

Package Overview
Dependencies
4
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.9.3 to 0.9.4

4

CHANGELOG.md

@@ -0,1 +1,5 @@

### 0.9.4 / 2015-03-08
* Don't send input to the driver before `start()` is called
### 0.9.3 / 2015-02-19

@@ -2,0 +6,0 @@

2

examples/autobahn_client.js

@@ -28,3 +28,3 @@ var WebSocket = require('../lib/faye/websocket'),

url = host + '/runCase?case=' + n + '&agent=' + agent;
socket = new WebSocket.Client(url, null, options);
socket = new WebSocket.Client(url, [], options);
socket.pipe(socket);

@@ -31,0 +31,0 @@

@@ -8,3 +8,3 @@ var WebSocket = require('../lib/faye/websocket'),

proxy = {origin: process.argv[3], headers: {'User-Agent': 'Echo'}, tls: {ca: ca}},
ws = new WebSocket.Client(url, null, {headers: headers, proxy: proxy, tls: {ca: ca}});
ws = new WebSocket.Client(url, [], {headers: headers, proxy: proxy, tls: {ca: ca}});

@@ -11,0 +11,0 @@ ws.onopen = function() {

@@ -24,3 +24,2 @@ // API references:

this._driver.io.write(body);
API.call(this, options);

@@ -30,2 +29,3 @@

self._driver.start();
self._driver.io.write(body);
});

@@ -32,0 +32,0 @@ };

@@ -8,3 +8,3 @@ { "name" : "faye-websocket"

, "version" : "0.9.3"
, "version" : "0.9.4"
, "engines" : {"node": ">=0.4.0"}

@@ -11,0 +11,0 @@ , "main" : "./lib/faye/websocket"

@@ -123,3 +123,3 @@ # faye-websocket

```js
var ws = new WebSocket.Client('ws://www.example.com/', null, {
var ws = new WebSocket.Client('ws://www.example.com/', [], {
proxy: {

@@ -171,3 +171,3 @@ origin: 'http://username:password@proxy.example.com',

var ws = new WebSocket(request, socket, body, null, {extensions: [deflate]});
var ws = new WebSocket(request, socket, body, [], {extensions: [deflate]});
```

@@ -174,0 +174,0 @@

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