Packages

micromatch

4.0.8 · 23 Aug 2024MIT222.4M / weekRepositorynpmAtom feed

Your version

4.0.0

major10 Apr 2019Where it was published

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 use strictBrackets=true instead of strictErrors.

  • Breaking

    cache - caching and all related options and methods have been removed

  • Breaking

    options.unixify was renamed to options.windows

  • Breaking

    options.nodupes Was removed. Duplicates are always removed by default. You can override this with custom behavior by using the onMatch, onResult and onIgnore functions.

  • Breaking

    options.snapdragon was removed, as snapdragon is no longer used.

  • Breaking

    options.sourcemap was removed, as snapdragon is no longer used, which provided sourcemap support.

Security

1 advisory affects 4.0.0; 4.0.8 fixes them

Release note

Added

  • Adds support for options.onMatch. See the readme for details

  • Adds support for options.onIgnore. See the readme for details

  • Adds 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 use strictBrackets=true instead of strictErrors.

  • Breaking

    cache - caching and all related options and methods have been removed

  • Breaking

    options.unixify was renamed to options.windows

  • Breaking

    options.nodupes Was removed. Duplicates are always removed by default. You can override this with custom behavior by using the onMatch, onResult and onIgnore functions.

  • Breaking

    options.snapdragon was removed, as snapdragon is no longer used.

  • Breaking

    options.sourcemap was 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.