You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We could consolidate to a single solution to reduce the number of dependencies. Glob is the only one of the 3 that seems actively maintained. It seems to support all the advanced features Thumbsup uses (filtering, early pruning, etc). We would need to carefully assess performance and memory usage.
Node.js also added recursive functionality to fs.readdirSync recently, but it requires a recent version (> 18.17) and doesn't offer all the required features. It could still be a replacement for the last 2 use cases once it's stabilized.
The text was updated successfully, but these errors were encountered:
Thumbsup uses 3 packages for reading the file system:
We could consolidate to a single solution to reduce the number of dependencies. Glob is the only one of the 3 that seems actively maintained. It seems to support all the advanced features Thumbsup uses (filtering, early pruning, etc). We would need to carefully assess performance and memory usage.
Node.js also added recursive functionality to
fs.readdirSync
recently, but it requires a recent version (> 18.17) and doesn't offer all the required features. It could still be a replacement for the last 2 use cases once it's stabilized.The text was updated successfully, but these errors were encountered: