Socket
Socket
Sign inDemoInstall

websocket-driver

Package Overview
Dependencies
1
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.6.3 to 0.6.4

CODE_OF_CONDUCT.md

4

CHANGELOG.md

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

### 0.6.4 / 2016-01-07
* If a number is given as input for a frame payload, send it as a string
### 0.6.3 / 2015-11-06

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

@@ -86,2 +86,4 @@ 'use strict';

if (typeof buffer !== 'string') buffer = buffer.toString();
var payload = new Buffer(buffer, 'utf8'),

@@ -88,0 +90,0 @@ frame = new Buffer(payload.length + 2);

3

lib/websocket/driver/hybi.js

@@ -195,3 +195,4 @@ 'use strict';

if (buffer instanceof Array) buffer = new Buffer(buffer);
if (buffer instanceof Array) buffer = new Buffer(buffer);
if (typeof buffer === 'number') buffer = buffer.toString();

@@ -198,0 +199,0 @@ var message = new Message(),

{ "name" : "websocket-driver"
, "description" : "WebSocket protocol handler with pluggable I/O"
, "homepage" : "http://github.com/faye/websocket-driver-node"
, "homepage" : "https://github.com/faye/websocket-driver-node"
, "author" : "James Coglan <jcoglan@gmail.com> (http://jcoglan.com/)"

@@ -8,3 +8,3 @@ , "keywords" : ["websocket"]

, "version" : "0.6.3"
, "version" : "0.6.4"
, "engines" : {"node": ">=0.6.0"}

@@ -21,3 +21,3 @@ , "main" : "./lib/websocket/driver"

, "bugs" : "http://github.com/faye/websocket-driver-node/issues"
, "bugs" : "https://github.com/faye/websocket-driver-node/issues"
}

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

Copyright (c) 2010-2015 James Coglan
Copyright (c) 2010-2016 James Coglan

@@ -369,0 +369,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of

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