Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulp-ignore

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-ignore - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

8

index.js

@@ -6,5 +6,5 @@ "use strict";

var include = function(condition){
var include = function(condition, minimatchOptions){
return through.obj(function (file, enc, callback) {
if (gulpmatch(file,condition)) {
if (gulpmatch(file, condition, minimatchOptions)) {
this.push(file);

@@ -16,5 +16,5 @@ }

var exclude = function(condition){
var exclude = function(condition, minimatchOptions){
return through.obj(function (file, enc, callback) {
if (!gulpmatch(file,condition)) {
if (!gulpmatch(file, condition, minimatchOptions)) {
this.push(file);

@@ -21,0 +21,0 @@ }

{
"name": "gulp-ignore",
"description": "Include or exclude gulp files from the stream based on a condition",
"version": "2.0.0",
"version": "2.0.1",
"homepage": "https://github.com/robrich/gulp-ignore",

@@ -6,0 +6,0 @@ "repository": "git://github.com/robrich/gulp-ignore.git",

@@ -101,7 +101,7 @@ gulp-ignore ![status](https://secure.travis-ci.org/robrich/gulp-ignore.png?branch=master)

### exclude(condition)
### exclude(condition [, minimatchOptions])
Exclude files whose `file.path` matches, include everything else
### include(condition)
### include(condition [, minimatchOptions])

@@ -118,3 +118,7 @@ Include files whose `file.path` matches, exclude everything else

##### minimatchOptions
Optional, if it's a glob condition, these options are passed to [https://github.com/isaacs/minimatch](minimatch).
LICENSE

@@ -121,0 +125,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