Releases: sindresorhus/locate-path
Releases · sindresorhus/locate-path
v6.0.0
Breaking
Breaking for TypeScript users
- Only use a CommonJS export for the TypeScript definition (reason)
You need to change import locatePath from 'locate-path';
to import locatePath = require('locate-path');
v5.0.0...v6.0.0
v5.0.0
Breaking:
- Only find files by default (#4) 66c3567
Previously it would find both files and directories.
Enhancements:
- Add
type
and allowSymlinks
options (#4) 66c3567
v4.0.0...v5.0.0