Currently, fast-glob has two dependencies that can extract the base static directory from patterns.
Right now we are using glob-parent for this, which has not had new versions released for a long time and has several bugs (gulpjs/glob-parent#63 , gulpjs/glob-parent#60 ).
The purpose of the issue is to make a decision:
Switch to picomatch.scan instead of glob-parent without losing accuracy.
Take the time to fix the issues of the glob-parent package.
Related issues on the fast-glob side:
fastGlob("?/*") fails to match #380 , cannot be fixed without changes in the glob-parent package.
Strange behavior at Windows root dir like D:/ #375 , can be fixed on your side with hacks.
Inconsistent behavior with escaped single quotes & brace expansion #480 , the second part of the issue involves removing escape characters from the pattern's base static part. A useful option is unescape', which is not present in the glob-parent` package.
Escaping paths with backslashes in dir names #262 , the base directory can be . for a\\/*.
Currently,
fast-globhas two dependencies that can extract the base static directory from patterns.Right now we are using
glob-parentfor this, which has not had new versions released for a long time and has several bugs (gulpjs/glob-parent#63, gulpjs/glob-parent#60).The purpose of the issue is to make a decision:
picomatch.scaninstead ofglob-parentwithout losing accuracy.glob-parentpackage.Related issues on the
fast-globside:glob-parentpackage.unescape', which is not present in theglob-parent` package..fora\\/*.