Permalink
Browse files

[chore] Replace msgpack with msgpack-lite (#156)

Emitting messages with external processes trigger errors on msgpack
decoding of UInt64: "TypeError: Object #<Object> has no method
'readUInt64BE'".
  • Loading branch information...
1 parent 73ce3ea commit cdddf36ea736c5467d015c3fe3a9a8d10beeedfd @CarsonF CarsonF committed with darrachequesne Dec 8, 2016
Showing with 2 additions and 2 deletions.
  1. +1 −1 index.js
  2. +1 −1 package.json
View
@@ -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');
View
@@ -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"

0 comments on commit cdddf36

Please sign in to comment.