npm fast-glob 2.2.3

latest releases: 3.3.2, 3.3.1, 3.3.0...
5 years ago

🐛 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 

Don't miss a new fast-glob release

NewReleases is sending notifications on new releases.