gulp-ignore
Advanced tools
Comparing version 2.0.2 to 3.0.0
{ | ||
"name": "gulp-ignore", | ||
"description": "Include or exclude gulp files from the stream based on a condition", | ||
"version": "2.0.2", | ||
"version": "3.0.0", | ||
"homepage": "https://github.com/robrich/gulp-ignore", | ||
@@ -18,9 +18,9 @@ "repository": "git://github.com/robrich/gulp-ignore.git", | ||
"dependencies": { | ||
"through2": "^2.0.1", | ||
"gulp-match": "^1.0.3" | ||
"through2": "^3.0.1", | ||
"gulp-match": "^1.1.0" | ||
}, | ||
"devDependencies": { | ||
"jshint": "^2.9.4", | ||
"mocha": "^3.1.2", | ||
"should": "^11.1.1" | ||
"jshint": "^2.10.2", | ||
"mocha": "^6.1.4", | ||
"should": "^13.2.3" | ||
}, | ||
@@ -30,6 +30,3 @@ "scripts": { | ||
}, | ||
"engines": { | ||
"node": ">= 0.10.0" | ||
}, | ||
"license": "MIT" | ||
} |
@@ -87,3 +87,6 @@ gulp-ignore ![status](https://secure.travis-ci.org/robrich/gulp-ignore.png?branch=master) | ||
var condition = true; // TODO: add business logic | ||
var condition = function(file) { | ||
// Only files whose contents match a pattern | ||
return /a pattern/g.test(String(file.contents)); | ||
}; | ||
@@ -90,0 +93,0 @@ gulp.task('task', function() { |
Sorry, the diff of this file is not supported yet
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
156
53314
12
+ Addedreadable-stream@3.6.2(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedstring_decoder@1.3.0(transitive)
+ Addedthrough2@3.0.2(transitive)
- Removedcore-util-is@1.0.3(transitive)
- Removedisarray@1.0.0(transitive)
- Removedprocess-nextick-args@2.0.1(transitive)
- Removedreadable-stream@2.3.8(transitive)
- Removedsafe-buffer@5.1.2(transitive)
- Removedstring_decoder@1.1.1(transitive)
- Removedthrough2@2.0.5(transitive)
- Removedxtend@4.0.2(transitive)
Updatedgulp-match@^1.1.0
Updatedthrough2@^3.0.1