gulp-filter
Advanced tools
Comparing version 2.0.0 to 2.0.1
14
index.js
@@ -5,2 +5,4 @@ 'use strict'; | ||
var multimatch = require('multimatch'); | ||
var plexer = require('plexer'); | ||
var streamqueue = require('streamqueue'); | ||
@@ -27,3 +29,3 @@ module.exports = function (pattern, options) { | ||
restoreStream.write(file); | ||
cb(); | ||
cb(); | ||
}, function (cb) { | ||
@@ -35,2 +37,4 @@ restoreStream.end(); | ||
stream.restore = function (options) { | ||
var tmpStream; | ||
options = options || {}; | ||
@@ -42,3 +46,9 @@ | ||
return restoreStream.pipe(through.obj(), {end: false}); | ||
tmpStream = through.obj(); | ||
return plexer( | ||
{objectMode: true}, | ||
tmpStream, | ||
streamqueue({objectMode: true}, restoreStream, tmpStream) | ||
); | ||
}; | ||
@@ -45,0 +55,0 @@ |
{ | ||
"name": "gulp-filter", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Filter files in a vinyl stream", | ||
@@ -35,2 +35,4 @@ "license": "MIT", | ||
"multimatch": "^2.0.0", | ||
"plexer": "0.0.3", | ||
"streamqueue": "^0.1.1", | ||
"through2": "^0.6.1" | ||
@@ -37,0 +39,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6415
4
41
5
+ Addedplexer@0.0.3
+ Addedstreamqueue@^0.1.1
+ Addedisstream@0.1.2(transitive)
+ Addedplexer@0.0.3(transitive)
+ Addedstreamqueue@0.1.3(transitive)