Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on May 5, 2024 via pnpm

fast-glob 2.2.7

Is a faster `node-glob` alternative
Package summary
Share
7
issues
6
high severity
vulnerability
1
license
1
meta
4
1
low severity
license
1
5
licenses
88
MIT
1
(MIT OR Apache-2.0)
1
ISC
2
other licenses
BSD
1
BSD-3-Clause
1
Package created
28 Dec 2016
Version published
18 May 2019
Maintainers
1
Total deps
92
Direct deps
6
License
MIT

Issues

7

6 high severity issues

high
Recommendation: Upgrade to version 5.1.2 or later
via: glob-parent@3.1.0
Recommendation: Validate that the package complies with your license policy
via: @mrmlnc/readdir-enhanced@2.2.1
via: micromatch@3.1.10
via: micromatch@3.1.10
via: micromatch@3.1.10
via: micromatch@3.1.10
Collapse
Expand

1 low severity issue

low
Recommendation: Read and validate the license terms
via: @mrmlnc/readdir-enhanced@2.2.1
Collapse
Expand

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
88 Packages, Including:
@mrmlnc/readdir-enhanced@2.2.1
@nodelib/fs.stat@1.1.3
arr-diff@4.0.0
arr-flatten@1.1.0
arr-union@3.1.0
array-unique@0.3.2
assign-symbols@1.0.0
base@0.11.2
braces@2.3.2
cache-base@1.0.1
call-me-maybe@1.0.2
class-utils@0.3.6
collection-visit@1.0.0
component-emitter@1.3.1
copy-descriptor@0.1.1
debug@2.6.9
decode-uri-component@0.2.2
define-property@0.2.5
define-property@1.0.0
define-property@2.0.2
expand-brackets@2.1.4
extend-shallow@2.0.1
extend-shallow@3.0.2
extglob@2.0.4
fast-glob@2.2.7
fill-range@4.0.0
for-in@1.0.2
fragment-cache@0.2.1
function-bind@1.1.2
get-value@2.0.6
has-value@0.3.1
has-value@1.0.0
has-values@0.1.4
has-values@1.0.0
hasown@2.0.2
is-accessor-descriptor@1.0.1
is-buffer@1.1.6
is-data-descriptor@1.0.1
is-descriptor@0.1.7
is-descriptor@1.0.3
is-extendable@0.1.1
is-extendable@1.0.1
is-extglob@2.1.1
is-glob@3.1.0
is-glob@4.0.3
is-number@3.0.0
is-plain-object@2.0.4
is-windows@1.0.2
isarray@1.0.0
isobject@2.1.0

(MIT OR Apache-2.0)

Permissive
1 Packages, Including:
atob@2.1.2

ISC License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
glob-parent@3.1.0

BSD

Invalid
Not OSI Approved
1 Packages, Including:
glob-to-regexp@0.3.0

BSD 3-Clause "New" or "Revised" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
source-map@0.5.7
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

6
All Dependencies CSV
β“˜ This is a list of fast-glob 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
@mrmlnc/readdir-enhanced2.2.114.07 kBMIT
prod
1
1
@nodelib/fs.stat1.1.32.85 kBMIT
prod
glob-parent3.1.02.78 kBISC
prod
1
is-glob4.0.34.16 kBMIT
prod
merge21.4.13.33 kBMIT
prod
micromatch3.1.1018.81 kBMIT
prod
4

Visualizations

Frequently Asked Questions

What does fast-glob do?

Fast-glob is a rapid and effective glob library for Node.js. This software provides methods to traverse the file system, returning pathnames that conform to a specified set of patterns, which are based on the rules utilized by Unix Bash shell with some simplifications. The package's results are delivered in an arbitrary order, striking a balance between speed, simplicity, and effectiveness.

How do you use fast-glob?

To use Fast-glob, you typically start by installing it via the npm package manager using the following command in your terminal:

npm install fast-glob

Afterwards, you can integrate this library into your Node.js application. Here are a few examples of how Fast-glob can be used:

Asynchronous mode:

const fg = require('fast-glob');
const entries = await fg(['.editorconfig', '**/index.js'], { dot: true });
// ['.editorconfig', 'services/index.js']

Synchronous mode:

const fg = require('fast-glob');
const entries = fg.sync(['.editorconfig', '**/index.js'], { dot: true });
// ['.editorconfig', 'services/index.js']

Stream mode:

const fg = require('fast-glob');
const stream = fg.stream(['.editorconfig', '**/index.js'], { dot: true });
for await (const entry of stream) {
  console.log(entry);
  // .editorconfig
  // services/index.js
}

These examples depict different ways you can use Fast-glob to peruse through the file system.

Where are the fast-glob docs?

You can access Fast-glob's comprehensive documentation directly from the project's GitHub page. The documentation includes a highlight of the package's features, details on how to install and use the package, and information about pattern syntax used by the package. Other sections found in the documentation include the API Guide, Options, Helpers, FAQ, Benchmarks, Changelog, and License. Please visit Fast-glob GitHub Documentation for further information about the package.