fast-glob
3.3.3 · 5 Jan 2025MIT203.4M / weekRepositoryHomepagenpmAtom feed
Your version
2.2.7 is the newest release of 2.x.
Release note
Bug Fixes
Fix incorrect grouping of negative patterns to tasks (#118)
Thanks @DudaGod for fix it 🎉
Prior to this fix, not all negative patterns could be applied to tasks. For example:
fg('fixtures/first/**/*.md', {ignore: ['fixtures/**/*.md']}).then(console.log);Give a task:
{ base: 'fixtures/first',
dynamic: true,
patterns: [ 'fixtures/first/**/*.md' ],
positive: [ 'fixtures/first/**/*.md' ],
negative: [] } // Here must be a negative pattern