thecodrr / fdir

⚡ The fastest directory crawler & globbing library for NodeJS. Crawls 1m files in < 1s
https://thecodrr.github.io/fdir/
MIT License
1.51k stars 58 forks source link

Bug: Module '"picomatch"' has no exported member 'PicomatchOptions'. #94

Closed balupton closed 1 year ago

balupton commented 1 year ago

My typescript project fails to compile with the following error:

node_modules/fdir/dist/src/builder/index.d.ts:4:15 - error TS2305: Module '"picomatch"' has no exported member 'PicomatchOptions'.

4 import type { PicomatchOptions } from "picomatch";
                ~~~~~~~~~~~~~~~~

Found 1 error in node_modules/fdir/dist/src/builder/index.d.ts:4
> jq -r '.version' node_modules/picomatch/package.json
2.3.1
> jq -r '.version' node_modules/fdir/package.json
6.1.0

Seems picomatch is now on version 3.0.1, perhaps upgrading to that will fix it: https://github.com/micromatch/picomatch

thecodrr commented 1 year ago

Fixed.