Comparing version 0.1.7 to 0.1.8
@@ -118,4 +118,12 @@ // A thing that emits "entry" events with Reader objects | ||
me.emit("entry", entry) | ||
me.emit("child", entry) | ||
// skip over sockets. they can't be piped around properly, | ||
// so there's really no sense even acknowledging them. | ||
// if someone really wants to see them, they can listen to | ||
// the "socket" events. | ||
if (entry.type === "Socket") { | ||
me.emit("socket", entry) | ||
} else { | ||
me.emit("entry", entry) | ||
me.emit("child", entry) | ||
} | ||
}) | ||
@@ -122,0 +130,0 @@ |
@@ -233,4 +233,4 @@ | ||
Reader.prototype._read = function () { | ||
this.warn("Cannot read unknown type: "+this.type) | ||
this.error("Cannot read unknown type: "+this.type) | ||
} | ||
@@ -5,3 +5,3 @@ { | ||
"description": "Advanced file system stream things", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "type": "git", |
106750
43
3183