node-worker-nodes
node-worker-nodes copied to clipboard
msgpack-lite changes undefined properties to null
const msg = require('msgpack-lite');
msg.decode(msg.encode({a:undefined})); // { a: null }
See related issue in msgpack-lite repo
Please consider changing the packing library to msgpack-js as the same issue exists in msgpack, where both undefined and null are casted to the same type.