npm fast-glob 3.2.6

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

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

Don't miss a new fast-glob release

NewReleases is sending notifications on new releases.