-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhancement: replace fast-glob
with tinyglobby
#10533
Comments
I'm not a maintainer, but I think replacing Just a thought, it may be worth-while to use I'd also be willing to work on a PR for this, please let me know if you're interested. |
We cannot do that until our minimum version is v22 - which won't happen until v20 is out of LTS |
Thanks for the quick reply. It looks like Node v20 is out of active LTS (as of Oct. 2024) and will be in maintenance until April 2026. It was trivial for me to make the change to using the built-in I'll look into switching to |
I'm mildly 👍 on this. It's a fine idea. I see no downside now that the library is widely depended-upon. |
I like this idea, having less dependencies is always nice. However, I think it may take some time for From what I can see, |
Oof, yeah, good call @ronami. I think we should wait a few months for this to all settle down. |
It looks like the problems referenced by @ronami have either been resolved or don't affect this project, since all of the tests in the draft PR passed. |
True, but the fact that there were problems in the first place shakes confidence in the project. This isn't a pressing issue IMO. It's nice to reduce dependency sizes, but given how many projects are still using |
I think waiting a few months is fair as I will say that the Btw, Anyway, I think it makes sense for a project as large as this one to be more conservative and wait for any issues to shake out with other consumers first. Let's check back in a few months from now and see if everything has been quiet with others adopting the library. |
Before You File a Proposal Please Confirm You Have Done The Following...
Relevant Package
typescript-estree
My proposal is suitable for this project
Description
fast-glob
has 17 dependencies with 12 people having publish access to those libraries and takes 505kb after installationhttps://npmgraph.js.org/?q=fast-glob
https://pkg-size.dev/fast-glob
tinyglobby
has only 2 dependencies with 6 people having publish access to those libraries and takes 155kb after installationhttps://npmgraph.js.org/?q=tinyglobby
https://pkg-size.dev/tinyglobby
I would be happy to send a PR for this
Additional Info
This was discussed a bit in #9453, but I thought it would be a good time to revisit as
tinyglobby
usage has grown 30x since that time having been adopted by projects likevite
,nx
, andnuxt
.tinyglobby
is likely to dedupe in user projects now. E.g. this repo already pulls intinyglobby
multiple times (vianx
andcspell
). And other projects in the eslint ecosystem likeeslint-import-resolver-typescript
(downloaded 10m times per week) depend ontinyglobby
already. Whilefast-glob
is still downloaded more frequently, 80% of those downloads come from this project, so whatever library this project uses will end up being the most used.The text was updated successfully, but these errors were encountered: