Socket
Socket
Sign inDemoInstall

gulp-filter

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-filter - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

license

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 @@

4

package.json
{
"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 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc