fix(deps): replace noisy deprecated glob@8 with tinyglobby
Summary
Installing netlify-cli prints a deprecation warning. Fixes https://github.com/netlify/cli/issues/7029.
I was going to upgrade glob, but then I remembered it's a fairly large library, so why not use this as an opportunity to replace it? See
https://github.com/es-tooling/module-replacements/blob/main/docs/modules/glob.md.
Compare the APIs:
- https://github.com/isaacs/node-glob#readme
- https://github.com/SuperchupuDev/tinyglobby?tab=readme-ov-file#api
The only differences are option names and option defaults, which I've updated.
Our uses either hardcode patterns or enforce precisely documented user patterns, so we won't hit any of the limitations of tinyglobby.
... Then I also saw we're using fast-glob too, so I replaced that as well.
Related
See also alternative PR upgrading glob instead: https://github.com/netlify/build/pull/6143.