fs: implement glob natively - #65392
Open
avivkeller wants to merge 1 commit into
Open
Conversation
Collaborator
|
Review requested:
|
Member
Author
|
cc @isaacs @nodejs/fs |
Signed-off-by: avivkeller <me@aviv.sh>
avivkeller
force-pushed
the
native-glob
branch
from
August 19, 2026 02:18
f172fce to
8bedc81
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #65392 +/- ##
==========================================
- Coverage 91.85% 90.01% -1.84%
==========================================
Files 400 754 +354
Lines 178855 253323 +74468
Branches 27319 47817 +20498
==========================================
+ Hits 164283 228024 +63741
- Misses 14243 16400 +2157
- Partials 329 8899 +8570
🚀 New features to boost your workflow:
|
Contributor
I would feel more comfortable adopting one of those instead of having to maintain our own, have you explored that route? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Ref: https://openjs-foundation.slack.com/archives/C019Y2T6STH/p1787069174254509
(AI assistance used to help port minimatch to C++ and take improvements from other implementations, e.g. Rust's fast-glob [oxc] and picomatch, etc).
I'd love some pretty pedantic reviews since this is substantial. It's 1:1 with the existing glob, so it's non-breaking, but please tear this apart just in case.
Benchmarks below (major speedup, yay!):
AI-Assisted-By: Claude Fable 5