gulp-match
Advanced tools
Comparing version
@@ -19,3 +19,2 @@ 'use strict'; | ||
if (typeof condition === 'string' && condition.match(/^\*\.[a-z\.]+$/)) { | ||
console.log('swapping to regex: '+condition); | ||
var newCond = condition.substring(1).replace(/\./g,'\\.')+'$'; | ||
@@ -22,0 +21,0 @@ condition = new RegExp(newCond); |
{ | ||
"name": "gulp-match", | ||
"description": "Does a vinyl file match a condition?", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"homepage": "https://github.com/robrich/gulp-match", | ||
@@ -16,8 +16,8 @@ "repository": "git://github.com/robrich/gulp-match.git", | ||
"dependencies": { | ||
"minimatch": "^0.2.14" | ||
"minimatch": "^0.3.0" | ||
}, | ||
"devDependencies": { | ||
"jshint": "^2.5.0", | ||
"mocha": "^1.18.2", | ||
"should": "^3.3.1" | ||
"mocha": "^1.20.0", | ||
"should": "^4.0.0" | ||
}, | ||
@@ -24,0 +24,0 @@ "scripts": { |
8044
-0.62%57
-1.72%+ Added
- Removed
Updated