Socket
Socket
Sign inDemoInstall

websocket-driver

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

websocket-driver - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

5

CHANGELOG.md

@@ -0,1 +1,6 @@

### 0.2.1 / 2013-05-17
* Export the isSecureRequest() method since faye-websocket relies on it
* Queue sent messages in the client's initial state
### 0.2.0 / 2013-05-12

@@ -2,0 +7,0 @@

4

lib/websocket/driver.js

@@ -27,2 +27,6 @@ // Protocol references:

isSecureRequest: function(request) {
return Server.isSecureRequest(request);
},
isWebSocket: function(request) {

@@ -29,0 +33,0 @@ if (request.method !== 'GET') return false;

2

lib/websocket/driver/hybi.js

@@ -132,3 +132,3 @@ var crypto = require('crypto'),

frame: function(data, type, code) {
if (this.readyState === 0) return this._queue([data, type, code]);
if (this.readyState <= 0) return this._queue([data, type, code]);
if (this.readyState !== 1) return false;

@@ -135,0 +135,0 @@

@@ -7,3 +7,3 @@ { "name" : "websocket-driver"

, "version" : "0.2.0"
, "version" : "0.2.1"
, "engines" : {"node": ">=0.4.0"}

@@ -10,0 +10,0 @@ , "main" : "./lib/websocket/driver"

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc