This repository was archived by the owner on Apr 28, 2020. It is now read-only.
fix(deps): update dependency fast-glob to v3 #39
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.
This PR contains the following updates:
^2.2.6->^3.0.0Release Notes
mrmlnc/fast-glob
v3.2.2Compare Source
🐛 Bug fixes
./…or.\\…) (#257)v3.2.1Compare Source
💬 Common
v3.2.0Compare Source
💬 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-globis 2 times slower thannode-globin this scenario.We will work on this in the future.
🎉 Thanks
scanmethod inpicomatchthat returns parts of the pattern.v3.1.1Compare Source
🐛 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).
v3.1.0Compare Source
💬 Common
isDynamicPatternas an alternative toglob.hasMagic(#105)escapePathfor escaping parts of the paths of the pattern (#158)📖 Documentation
generateTaskshelper.dotoption.🐛 Bug Fixes
.in{dot: false}mode (#226)⚙️ Infrastructure
v3.0.4Compare Source
onlyFilesoption in the documentation (thanks, @garyking)strictSlashesoption (internal) for the micromatch package. Related to micromatch/picomatch#21.v3.0.3Compare Source
💬
🐛 Bug fixes
markDirectoriesoption adds extra slashes for every directory in the path with the asynchronous API (#214)v3.0.2Compare Source
4 000 0004.1GBof RAM (37s)0.8GBof RAM (25s)Explanation
In short, we called 2x
replaceandstartsWithon every entry. Together, that's 12 million calls.v3.0.1Compare Source
💬 Common
importissue (#206, thanks @zkochan).v3.0.0Compare Source
🌮 Thanks
withFileTypesoption in thefs.readdirmethod.📑 Summary
This release aims to fix architectural issues, increase performance and reduce size of package.
💣 Breaking changes
Since this is a major release, we are introducing a few breaking changes:
fast-glob@2is ending.README.mdfile.nobrace,noglobstar,noext,nocase,transform.extension→extglobfollowSymlinkedDirectories→followSymbolicLinkscase→caseSensitiveMatchbrace→braceExpansionmatchBase→baseNameMatchdeepoption now accepts onlynumbertype and default value now isInfinityinstead oftrue.asyncmethod was removed. Usefg(/* … */)instead.statsoption is enabled is completely changed.🐛 Bug fixes
micromatch@3tomicromatch@4:baseNameMatchoption never worked (#199).🚀 Improvements
💬 Common
2.47MB→0.42MB.requiretime decreased:534ms→78ms.🌪️ Speed
Wow! The new version is very fast. At least twice as fast as the previous version. Probably this is the fastest solution in the Node.js world. And that's not all! We will work on performance issues in the future 🐢.
Look at the benchmarks section in the
README.mdfile.⚙️ Flexibility
Also in this release we have worked on simplifying some scenarios.
concurrencyfssuppressErrorsthrowErrorOnBrokenSymbolicLinkobjectMode🤕 Known issues in this update
Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.