- Raise error if
options.cwd
is specified, and not a directory
- Remove comment and negation pattern support
- Ignore patterns are always in
dot:true
mode
- Deprecate comment and negation patterns
- Fix regression in
mark
andnodir
options from making all cache keys absolute path. - Abort if
fs.readdir
returns an error that's unexpected - Don't emit
match
events for ignored items - Treat ENOTSUP like ENOTDIR in readdir
- Add
options.follow
to always follow directory symlinks in globstar - Add
options.realpath
to callfs.realpath
on all results - Always cache based on absolute path
- Add
options.ignore
- Fix handling of broken symlinks
- Bump minimatch to 2.x
- Pass all tests on Windows
- Add
glob.hasMagic
function - Add
options.nodir
flag
- Refactor sync and async implementations for performance
- Throw if callback provided to sync glob function
- Treat symbolic links in globstar results the same as Bash 4.3
- Use
^
for dependency versions (bumped major because this breaks older npm versions) - Ensure callbacks are only ever called once
- switch to ISC license
- Rewrite in JavaScript
- Add support for setting root, cwd, and windows support
- Cache many fs calls
- Add globstar support
- emit match events
- Use
glob.h
andfnmatch.h
from NetBSD
glob.h
static binding.