🐛 Bug fixes
// 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 thepicomatch
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 thefiles
field in thepackage.json
file. (#321)