-
-
Notifications
You must be signed in to change notification settings - Fork 586
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
feat: move from braces to brace-expansion #1302
Conversation
This replaces `braces` with `brace-expansion`, a much leaner and more actively maintained package.
What's there to maintain? It's probably much slower. |
happy to find out if you like! i'll have a look this evening if i can the leanness is more the reason to move. i do agree there's not much to maintain once this works, other than any security updates, etc. |
Leanness is:
Started in #1195, but never finished. |
do you want any help? braces is small fish but still responsible for dependency bloat either way. if we can solve that by dropping globbing altogether though, i'm happy to go in whatever direction it is you want you were right though, brace-expansion in particular is slightly slower than braces. so i'll go open a PR in brace-expansion to fix that whether we use it here or not 👍 |
Yes, if anyone can help on the rewrite, it would be highly appreciated. Non-trivial task. |
sure no worries, i'll take a look at it. non trivial esm/ts conversions are my kind of thing 👀 |
for anyone curious, i've opened a perf fix in juliangruber/brace-expansion#64 which makes it out-perform braces by a fair amount |
368cb02
to
7c50e25
Compare
Hi there! I came across this PR while looking to see if there was chatter about upgrading braces to Happy to file a separate issue if that's preferred! |
@hellobontempo learn how version ranges work |
@paulmillr - I missed the tilda when I skimmed the package. No need to be rude. Have a great day! |
@hellobontempo you can tell this to other 10 people who've opened same pull requests https://github.com/paulmillr/chokidar/pulls?q=is%3Apr+is%3Aclosed |
@paulmillr learn how to educate people respectfully. Kindness and respect are fundamental skills. Do better. |
@j-crowe i don't think this is constructive. paul's messages aren't so helpful either, i understand, but hes been dealing with the burden of a lot of these issues lately so it is understandable if you can solve the problem with version ranges, please do share what you used in the end so others can do the same meanwhile, v4 is being worked on which will drop the dependency |
@j-crowe kindness, respect and documentation updates wouldn't help me to not get another 10 pull requests replacing |
@43081j nothing that was said warranted the response from @paulmillr. These responses, especially from an author, taint projects and communities supporting them. @paulmillr I understand the frustration, but you can still educate people respectfully. Hostile comments only reflect poorly on your own character and the projects you're dedicating yourself to. Good luck. I appreciate your contributions. |
This replaces
braces
withbrace-expansion
, a much leaner and more actively maintained package.