[Snyk] Upgrade fast-glob from 3.0.4 to 3.2.0 #3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade fast-glob from 3.0.4 to 3.2.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.Release notes
Package name: fast-glob
💬 Common
🚀 Improvements
In the #156 issue we've redesigned the deep filter, which controls the reading of directories in depth.
Previously, this filter did not use positive patterns directly (only their maximum depth). The example below shows how many extra directories we read:
Now we apply positive patterns.
Synthetic benchmark
More benchmarks can be found here.
{fixtures,out}/{first,second}/*
{fixtures,out}/**
Real world benchmark
{blocks-*,construct}/**/*.styl
(a very large project) 13s → 0.16sKnown issues
{a..z}
(or similar) may introduce some slowdown.fast-glob
is 2 times slower thannode-glob
in this scenario.We will work on this in the future.
🎉 Thanks
scan
method inpicomatch
that returns parts of the pattern.🐛 Bug fixes
Stream is not closed when the receiver is closed (#239)
Previously, we read directories in the stream, even after the receiver is closed. Now we stop reading after closing the receiver by
.emit('end')
,.destroy()
orfor await...of
.Most likely, in future releases, we will improve integration with streams (#243).
💬 Common
isDynamicPattern
as an alternative toglob.hasMagic
(#105)escapePath
for escaping parts of the paths of the pattern (#158)📖 Documentation
generateTasks
helper.dot
option.🐛 Bug Fixes
.
in{dot: false}
mode (#226)⚙️ Infrastructure
💬 Common
onlyFiles
option in the documentation (thanks, @garyking)strictSlashes
option (internal) for the micromatch package. Related to micromatch/picomatch#21.Commit messages
Package name: fast-glob
Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs