micromatch
4.0.8 · 23 Aug 2024MIT222.4M / weekRepositorynpmAtom feed
4.0.8 is the newest release of 4.x.
In short
8 breaking3 new
- Breaking
Require Node.js >= 8.6
- Breaking
Removed support for passing an array of brace patterns to
micromatch.braces(). - Breaking
To strictly enforce closing brackets (for
{,[, and(), you must now usestrictBrackets=trueinstead ofstrictErrors. - Breaking
cache- caching and all related options and methods have been removed - Breaking
options.unixifywas renamed tooptions.windows - Breaking
options.nodupesWas removed. Duplicates are always removed by default. You can override this with custom behavior by using theonMatch,onResultandonIgnorefunctions. - Breaking
options.snapdragonwas removed, as snapdragon is no longer used. - Breaking
options.sourcemapwas removed, as snapdragon is no longer used, which provided sourcemap support.
Security
1 advisory affects 4.0.0; 4.0.8 fixes them
- ModerateRegular Expression Denial of Service (ReDoS) in micromatchGHSA-952p-6rrq-rcjv · 14 May 2024Fixed in 4.0.8
Release note
Added
Adds support for
options.onMatch. See the readme for detailsAdds support for
options.onIgnore. See the readme for detailsAdds support for
options.onResult. See the readme for details
Breaking changes
- Breaking
Require Node.js >= 8.6
- Breaking
Removed support for passing an array of brace patterns to
micromatch.braces(). - Breaking
To strictly enforce closing brackets (for
{,[, and(), you must now usestrictBrackets=trueinstead ofstrictErrors. - Breaking
cache- caching and all related options and methods have been removed - Breaking
options.unixifywas renamed tooptions.windows - Breaking
options.nodupesWas removed. Duplicates are always removed by default. You can override this with custom behavior by using theonMatch,onResultandonIgnorefunctions. - Breaking
options.snapdragonwas removed, as snapdragon is no longer used. - Breaking
options.sourcemapwas removed, as snapdragon is no longer used, which provided sourcemap support.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.