msgpack / msgpack-node

MessagePack implementation for Node.js
Other
311 stars 72 forks source link

Stream: unpacking '0' doesn't trigger 'msg' emit #44

Open llint opened 6 years ago

llint commented 6 years ago

msgpack.js: line 73, it should be if (msg == null), instead of if (!msg) - if msg as unpacked correctly as 0, would silent the 'msg' emission. Please fix.

ps: is this project dead already? if there is no maintainer anymore, please consider transferring the repo ownership, so the community can hopefully keep it alive. Thanks!