anymatch
Advanced tools
Comparing version 3.1.2 to 3.1.3
@@ -13,2 +13,3 @@ type AnymatchFn = (testString: string) => boolean; | ||
(matchers: AnymatchMatcher): AnymatchTester; | ||
(matchers: AnymatchMatcher, testString: null, returnIndex: true | PicomatchOptions): AnymatchTester; | ||
(matchers: AnymatchMatcher, testString: string|any[], returnIndex: true | PicomatchOptions): number; | ||
@@ -15,0 +16,0 @@ (matchers: AnymatchMatcher, testString: string|any[]): boolean; |
@@ -50,3 +50,3 @@ 'use strict'; | ||
} | ||
const path = normalizePath(_path); | ||
const path = normalizePath(_path, false); | ||
@@ -53,0 +53,0 @@ for (let index = 0; index < negPatterns.length; index++) { |
{ | ||
"name": "anymatch", | ||
"version": "3.1.2", | ||
"version": "3.1.3", | ||
"description": "Matches strings against configurable strings, globs, regular expressions, and/or functions", | ||
@@ -5,0 +5,0 @@ "files": [ |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
9654
108
1