Anymatch Versions Save

:bangbang: Matches strings against configurable strings, globs, regular expressions, and/or functions

v3.1.3

1 year ago

Fixes:

  • Keep trailing slash on paths
  • Add TypeScript overload for test string being null

3.1.2

3 years ago

Bugfixes

2.0.0

6 years ago
  • (Breaking) Bump micromatch to ^3
  • Move to micromatch organization

1.3.2

6 years ago
  • Fix a compatibility issue with older versions of IE
  • Normalize backslashes in paths before testing against user-defined function matchers

1.3.0

9 years ago
  • Support for negated globs (starts with a !) in an array of matchers
  • On Windows, matching of paths using backslash as the path separator against string, glob and regex matchers that are expecting forward slashes. Not applied to function matchers in order to avoid side effects resulting from extra calls to the functions.

1.2.1

9 years ago
  • Fix a bug occurring when passing the test string as the first member of an array to a curried matching function bound to a single function matcher

1.2.0

9 years ago
  • Switch to micromatch for better glob matching performance

1.1.0

9 years ago
  • Add the ability to pass test string as the first member of an array, with the rest applied as additional arguments for function matchers

1.0.0

9 years ago
  • Replace .matcher() method with simple currying on primary function

0.2.0

10 years ago
  • Add startIndex and endIndex optional params for subsetting a matcher array