The previous release (3.2.6) introduced a regression, thanks to which negative patterns were not applied to patterns outside the current directory.
This release fixes the issue.
3.2.6
π Bug fixes
Now you can use patterns related to the parent directory along with the regular ones. (#310, #316)
// Patterns inside current directory β ['*', './*.js']
// Patterns outside current directory β ['../*', './../*.js']
// Previously you could specify a patterns outside current directory.
fg.sync(['../*.txt']) β ['../file.txt']
// But when the pattern inside current directory was added to them, the behavior broke down.
fg.sync(['.md', '../.txt']) β ['file.md'] // The '../file.txt' file exists
// After this fix you can mix both kinds of patterns.
fg.sync(['.md', '../.txt']) β ['file.md', '../file.txt']
// Right now we do not support patterns like '{.,..}/*.md'.
π Documentation
Added clarifications for the followSymbolicLinks option.
βοΈ Infrastructure
The glob-parent package has been updated to fix vulnerabilities. (#304)
The micromatch package has been updated to eliminate dependency on the picomatch package from this package. (#256)
Node.js 16 has been added to the CI configuration to run tests and benchmarks. Now benchmarks will run only on this version. (#311)
The tiny-glob package has been added to the synchronous product benchmarks. (#323)
The fdir package has been added to synchronous and asynchronous product benchmarks. The latest launch. (#322)
The .npmignore file has been replaced by the files field in the package.json file. (#321)
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 fast-glob from 3.2.5 to 3.2.7.
Release notes
Sourced from fast-glob's releases.
Commits
676bbd6
3.2.7c64bb1e
Merge pull request #326 from mrmlnc/ISSUE-325_fix_relative_ignore_patterns8a3e6d6
fix: do not ignore negative patterns for patterns outside cwdd22afc5
3.2.6a7a6556
Merge pull request #324 from mrmlnc/ISSUE-300_update_documentation1a28354
docs: clarification forfollowSymbolicLinks
option190e6bf
Merge pull request #323 from mrmlnc/TRIVIAL_update_tiny-glob_benchmark0ed6291
build: addtiny-glob
to product synchronous benchmark6257af0
Merge pull request #322 from mrmlnc/TRIVIAL_fdir_benchmark9bcc78f
Merge pull request #321 from mrmlnc/TRIVIAL_drop_npmignoreDependabot 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)