fstream
Advanced tools
Comparing version 0.1.13 to 0.1.14
@@ -126,2 +126,5 @@ // It is expected that, when .add() returns false, the consumer | ||
// if i have a filter, the child should inherit it. | ||
props.filter = me.filter | ||
// all the rest of the stuff, copy over from the source. | ||
@@ -128,0 +131,0 @@ Object.keys(entry.props).forEach(function (k) { |
@@ -62,2 +62,5 @@ // A reader for when we don't yet know what kind of thing | ||
, "entry" | ||
, "entryEnd" | ||
, "child" | ||
, "childEnd" | ||
, "warn" | ||
@@ -64,0 +67,0 @@ ].forEach(function (ev) { |
@@ -101,2 +101,4 @@ | ||
me.filter = typeof props.filter === "function" ? props.filter: null | ||
// start the ball rolling. | ||
@@ -130,2 +132,9 @@ // this checks what's there already, and then calls | ||
function statCb (er, current) { | ||
if (me.filter && !me.filter.call(me._proxy || me, current)) { | ||
me._aborted = true | ||
me.emit("end") | ||
me.emit("close") | ||
return | ||
} | ||
// if it's not there, great. We'll just create it. | ||
@@ -132,0 +141,0 @@ // if it is there, then we'll need to change whatever differs |
@@ -5,3 +5,3 @@ { | ||
"description": "Advanced file system stream things", | ||
"version": "0.1.13", | ||
"version": "0.1.14", | ||
"repository": { | ||
@@ -13,3 +13,3 @@ "type": "git", | ||
"engines": { | ||
"node": "0.5 || 0.6 || 0.7" | ||
"node": ">=0.6" | ||
}, | ||
@@ -23,7 +23,8 @@ "dependencies": { | ||
"devDependencies": { | ||
"tap": "0.1" | ||
"tap": "" | ||
}, | ||
"scripts": { | ||
"test": "tap examples/*.js" | ||
} | ||
}, | ||
"license": "BSD" | ||
} |
Sorry, the diff of this file is not supported yet
SPDX disjunction
LicenseSPDX disjunction for an artifact's license information
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found
Found 1 instance in 1 package
SPDX disjunction
LicenseSPDX disjunction for an artifact's license information
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found
Found 1 instance in 1 package
3
60164
24
1749