Add aliases for methods. glob.sync, glob.stream,
glob.stream.sync, etc.
9.2
Support using a custom fs object, which is passed to PathScurry
add maxDepth option
add stat option
add custom Ignore support
9.1
Bring back the root option, albeit with slightly different
semantics than in v8 and before.
Support { absolute:false } option to explicitly always return
relative paths. An unset absolute setting will still return
absolute or relative paths based on whether the pattern is
absolute.
Add magicalBraces option to treat brace expansion as "magic"
in the hasMagic function.
Add dotRelative option
Add escape() and unescape() methods
9.0
This is a full rewrite, with significant API and algorithm
changes.
High-Level Feature and API Surface Changes
Only support node 16 and higher.
Promise API instead of callbacks.
Exported function names have changed, as have the methods on
the Glob class. See API documentation for details.
Accept pattern as string or array of strings.
Hybrid module distribution.
Full TypeScript support.
Exported Glob class is no longer an event emitter.
Exported Glob class has walk(), walkSync(), stream(),
streamSync(), iterate(), iterateSync() methods, and is
both an async and sync Generator.
First class support for UNC paths and drive letters on Windows.
Note that glob patterns must still use / as a path
separator, unless the windowsPathsNoEscape option is set, in
which case glob patterns cannot be escaped with \.
Paths are returned in the canonical formatting for the platform
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps glob from 8.1.0 to 9.3.0.
Changelog
Sourced from glob's changelog.
... (truncated)
Commits
db4504c
9.3.09e56c7a
bring back the other aliases589df96
Update globSync documentation to match signaturefa8ed5e
Improve changelog headingc8b3316
9.2.1e85032b
bug in readme example code6dcdd41
9.2.08acfa52
changelog 9.2cdfde4b
add custom Ignore supporta2fb688
remove maxDepth test snapshotsDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)