Comparing version
@@ -12,3 +12,5 @@ 'use strict'; | ||
var isMatch = typeOf(pattern) === 'regexp' | ||
? isnt(pattern) | ||
? function (fp) { | ||
return !pattern.test(fp); | ||
} | ||
: mm.matcher(pattern, opts); | ||
@@ -15,0 +17,0 @@ |
@@ -12,3 +12,5 @@ 'use strict'; | ||
var isMatch = typeOf(pattern) === 'regexp' | ||
? is(pattern) | ||
? function (fp) { | ||
return pattern.test(fp); | ||
} | ||
: mm.matcher(pattern, opts); | ||
@@ -15,0 +17,0 @@ |
{ | ||
"name": "glob-fs", | ||
"description": "file globbing for node.js. speedy and powerful alternative to node-glob.", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"homepage": "https://github.com/jonschlinkert/glob-fs", | ||
@@ -6,0 +6,0 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", |
38176
0.21%960
0.42%