Skip to content

Commit

Permalink
[chore] Replace msgpack with msgpack-lite (#156)
Browse files Browse the repository at this point in the history
Emitting messages with external processes trigger errors on msgpack
decoding of UInt64: "TypeError: Object #<Object> has no method
'readUInt64BE'".
  • Loading branch information
CarsonF authored and darrachequesne committed Dec 8, 2016
1 parent 73ce3ea commit cdddf36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -5,7 +5,7 @@

var uid2 = require('uid2');
var redis = require('redis').createClient;
var msgpack = require('msgpack-js');
var msgpack = require('msgpack-lite');
var Adapter = require('socket.io-adapter');
var debug = require('debug')('socket.io-redis');
var async = require('async');
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -16,7 +16,7 @@
"dependencies": {
"async": "2.1.4",
"debug": "2.3.3",
"msgpack-js": "0.3.0",
"msgpack-lite": "0.1.26",
"redis": "2.6.3",
"socket.io-adapter": "0.5.0",
"uid2": "0.0.3"
Expand Down

0 comments on commit cdddf36

Please sign in to comment.