π 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)