Add optimizationLevel configuration option, and revert the
default back to the 6.2 style minimal optimizations, making the
advanced transforms introduced in 7.0 opt-in. Also, process
provided file paths in the same way in optimizationLevel:2
mode, so most things that matched with optimizationLevel 1 or
0 should match with level 2 as well. However, level 1 is the
default, out of an abundance of caution.
7.0
Preprocess patterns to simplify complicated patterns and reduce
out .. pattern portions where possible. Note that this means
a pattern like a/b/../* will be equivalent to a/*, and will
not match the string a/b/../c. If this causes problems, it
can be addressed in a patch release by resolving .. portions
in the test string.
6.2
Add nocaseMagicOnly flag
6.1
Handle UNC paths on Windows
This adds some slightly modified behavior when a pattern or path starts
with // on Windows.
In the case of //?/<drive letter>:/..., the ? is treated as a
literal character, rather than a wildcard. That is, //?/c: will
not match //x/c:.
UNC patterns starting with //?/<drive letter>:/ will match file paths
starting with <drive letter>: if the drive letters match
case-insensitively.
File paths starting with //?/<drive letter>:/ will match file
patterns starting with <drive letter>: if the drive letters match
case-insensitively.
Add {preserveMultipleSlashes:true} option to suppress the
behavior where multiple consecutive / characters would be
effectively coerced into a single path portion separator.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps minimatch from 3.1.2 to 7.2.0.
Changelog
Sourced from minimatch's changelog.
... (truncated)
Commits
be2394f
7.2.0559b9ad
add windowsNoMagicRootf050a22
7.1.4695d5da
fix: need two parts following a **/.. to optimize77e1438
7.1.31fcaa81
lie to typescript about cjs polyfill types36c50b7
7.1.258917fe
allow platform to be set with an option5f3438d
7.1.1448980f
tweaks for level 2 optimizationsDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)