Comparing version 3.4.0 to 3.4.1
@@ -24,2 +24,8 @@ 'use strict'; | ||
md.on('_data', function (data) { | ||
if(!(Array.isArray(data) | ||
&& 'string' === typeof data[0] | ||
&& '__proto__' !== data[0] | ||
&& 'string' === typeof data[1] | ||
&& '__proto__' !== data[1] | ||
)) return | ||
var id = data.shift() | ||
@@ -26,0 +32,0 @@ var event = data[0] |
{ | ||
"name": "mux-demux", | ||
"version": "3.4.0", | ||
"version": "3.4.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "homepage": "http://github.com/dominictarr/mux-demux", |
25022
759