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 16, 2024 via pnpm

vinyl-fs 0.3.13

Vinyl adapter for the file system
Package summary
Share
19
issues
2
critical severity
vulnerability
1
license
1
11
high severity
vulnerability
4
license
3
meta
4
3
moderate severity
vulnerability
3
3
low severity
license
3
4
licenses
29
MIT
10
ISC
3
BSD
1
N/A
Package created
16 Jan 2014
Version published
13 Nov 2014
Maintainers
2
Total deps
43
Direct deps
8
License
UNKNOWN

Issues

19

2 critical severity issues

critical
Recommendation: Upgrade to version 4.17.12 or later
via: glob-watcher@0.0.6
Recommendation: Check the package code and files for license information
via: glob-watcher@0.0.6
Collapse
Expand

11 high severity issues

high
Recommendation: Upgrade to version 3.0.2 or later
via: glob-stream@3.1.18 & others
Recommendation: Upgrade to version 4.17.11 or later
via: glob-watcher@0.0.6
Recommendation: Upgrade to version 3.0.5 or later
via: glob-stream@3.1.18 & others
Recommendation: Upgrade to version 4.17.21 or later
via: glob-watcher@0.0.6
Recommendation: Validate that the package complies with your license policy
via: glob-watcher@0.0.6
Recommendation: Validate that the package complies with your license policy
via: glob-watcher@0.0.6
Recommendation: Validate that the package complies with your license policy
via: glob-stream@3.1.18
via: glob-watcher@0.0.6
via: glob-watcher@0.0.6
via: glob-stream@3.1.18
via: graceful-fs@3.0.12
Collapse
Expand

3 moderate severity issues

moderate
Recommendation: Upgrade to version 4.17.11 or later
via: glob-watcher@0.0.6
Recommendation: Upgrade to version 4.17.21 or later
via: glob-watcher@0.0.6
Recommendation: Upgrade to version 4.17.5 or later
via: glob-watcher@0.0.6
Collapse
Expand

3 low severity issues

low
Recommendation: Read and validate the license terms
via: glob-watcher@0.0.6
Recommendation: Read and validate the license terms
via: glob-watcher@0.0.6
Recommendation: Read and validate the license terms
via: glob-stream@3.1.18
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
29 Packages, Including:
balanced-match@1.0.2
brace-expansion@1.1.11
clone-stats@0.0.1
clone@0.2.0
clone@1.0.4
concat-map@0.0.1
core-util-is@1.0.3
defaults@1.0.4
find-index@0.1.1
first-chunk-stream@1.0.0
gaze@0.5.2
glob-stream@3.1.18
glob-watcher@0.0.6
glob2base@0.0.12
globule@0.1.0
is-utf8@0.2.1
isarray@0.0.1
lodash@1.0.2
minimatch@0.2.14
minimist@1.2.8
mkdirp@0.5.6
ordered-read-streams@0.1.0
readable-stream@1.0.34
string_decoder@0.10.31
strip-bom@1.0.0
through2@0.6.5
vinyl-fs@0.3.13
vinyl@0.4.6
xtend@4.0.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
10 Packages, Including:
glob@4.5.3
graceful-fs@3.0.12
inflight@1.0.6
inherits@2.0.4
lru-cache@2.7.3
minimatch@2.0.10
natives@1.1.6
once@1.4.0
sigmund@1.0.1
wrappy@1.0.2

BSD

Invalid
Not OSI Approved
3 Packages, Including:
glob@3.1.21
graceful-fs@1.2.3
unique-stream@1.0.0

N/A

N/A
1 Packages, Including:
inherits@1.0.2
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

8
All Dependencies CSV
β“˜ This is a list of vinyl-fs 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
defaults1.0.41.93 kBMIT
prod
glob-stream3.1.183.14 kBMIT
prod
4
1
glob-watcher0.0.62.71 kBMIT
prod
2
8
3
2
graceful-fs3.0.126.56 kBISC
prod
1
mkdirp0.5.62.95 kBMIT
prod
strip-bom1.0.01.52 kBMIT
prod
through20.6.54.28 kBMIT
prod
vinyl0.4.63.89 kBMIT
prod

Visualizations

Frequently Asked Questions

What does vinyl-fs do?

Vinyl-fs is a powerful Vinyl adapter for the file system. Not only does it handle file metadata seamlessly, but it provides an effective means of accessing and interacting with these files across diverse sources, which can range from your computer's file system to cloud-based services like S3, Dropbox, etc. It achieves this by exposing methods such as src(globs), dest(folder) and symlink that respectively produce, consume, and create symbolic representation of Vinyl objects. More so, Vinyl-fs provides extra methods specific to the input/output medium of these file sources.

How do you use vinyl-fs?

To use Vinyl-fs, it's essential to install the required dependencies first, as shown below:

var map = require('map-stream');
var vfs = require('vinyl-fs');

Then, create a function, log, that logs the file path and also sets up a simple pipeline that reads JS files (excluding those in the vendor directory) and writes them to an output directory:

var log = function (file, cb) {
  console.log(file.path);
  cb(null, file);
};

vfs
  .src(['./js/**/*.js', '!./js/vendor/*.js'])
  .pipe(map(log))
  .pipe(vfs.dest('./output'));

To utilize the full potential of Vinyl-fs, there are other configurable options available such as UTF-8 BOM removal, buffering and reading file contents, handling file modification dates, managing globs, defining actions for symbolic links and more.

Where are the vinyl-fs docs?

For detailed documentation on using Vinyl-fs including its API details, options and more examples, refer to the official GitHub page here. Here you can find further insights into Glob-related options, instructions on how to handle symbolic links on Windows, information on error handling, as well as licensing details. The README on the GitHub repository is the most comprehensive resource for Vinyl-fs documentation.