Upgrade glob-stream to ~8.0
glob-stream ~7.0 produces 2 deprecation warnings when installing:
npm WARN deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
Both of these can be solved by upgrading to glob-stream ~8.0. glob-stream is a rewrite that no longer uses glob. Instead, it uses its own scanning logic based on anymatch (which is a wrapper around picomatch, which is the matcher we prefer to use).
The API is slightly different in that it no longer puts directories into a cache. Thus, the cache check needs to be removed. (Unfortunately, to check if a match is a directory requires the stat check, which is necessary anyway to create the file object).