anymatch
Advanced tools
Comparing version 3.1.1 to 3.1.2
@@ -89,3 +89,5 @@ 'use strict'; | ||
.map(item => picomatch(item, opts)); | ||
const patterns = mtchers.map(matcher => createPattern(matcher, opts)); | ||
const patterns = mtchers | ||
.filter(item => typeof item !== 'string' || (typeof item === 'string' && item.charAt(0) !== BANG)) | ||
.map(matcher => createPattern(matcher, opts)); | ||
@@ -92,0 +94,0 @@ if (testString == null) { |
{ | ||
"name": "anymatch", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"description": "Matches strings against configurable strings, globs, regular expressions, and/or functions", | ||
@@ -5,0 +5,0 @@ "files": [ |
9544
107