Skip to content
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

glob #50

Open
benmccann opened this issue Jun 27, 2024 · 3 comments
Open

glob #50

benmccann opened this issue Jun 27, 2024 · 3 comments

Comments

@benmccann
Copy link
Contributor

here's an example: rollup/plugins#1741

@43081j
Copy link
Contributor

43081j commented Jun 28, 2024

im unsure of this one for now

glob is still a fairly useful package, though it could be good to list the alternatives somewhere still

i wonder if for glob, we add the docs for alternatives but we don't yet add it to the preferred manifest. maybe it belongs in some other manifest in future for "lighter dependencies" or something (as the packages being replaced are not necessarily "bad", we just want to make alternatives known)

@benmccann
Copy link
Contributor Author

Different glob libraries do have slightly different functionality. new fdir().glob() which I linked in the example does do globbing. Any differences I'm aware of are pretty minimal, but it would be nice to highlight if there are major differences

@valadaptive
Copy link
Contributor

I think fdir's behavior around directories is different enough to highlight. new fdir().glob() isn't equivalent to glob because it doesn't include directories by default, and doesn't match directory paths unless they end in a trailing slash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants