Packages

fast-glob

3.3.3 · 5 Jan 2025MIT203.4M / weekRepositoryHomepagenpmAtom feed

Your version

3.2.6

27 Jun 2021Where it was published

3.3.3 is the newest release of 3.x.

In short

1 security1 fixed6 internal

  • security

    The glob-parent package has been updated to fix vulnerabilities.

Release note

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'.

Infrastructure

  • security

    The glob-parent package has been updated to fix vulnerabilities.