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

vinyl-fs 2.4.0

Vinyl adapter for the file system
Package summary
Share
7
issues
5
high severity
vulnerability
1
meta
4
2
low severity
vulnerability
2
4
licenses
100
MIT
11
ISC
1
(MIT OR Apache-2.0)
1
BSD-3-Clause
Package created
16 Jan 2014
Version published
2 Mar 2016
Maintainers
2
Total deps
113
Direct deps
17
License
MIT

Issues

7

5 high severity issues

high
Recommendation: Upgrade to version 5.1.2 or later
via: glob-stream@5.3.5
via: gulp-sourcemaps@1.12.1
via: gulp-sourcemaps@1.12.1
via: gulp-sourcemaps@1.12.1
via: gulp-sourcemaps@1.12.1
Collapse
Expand

2 low severity issues

low
Recommendation: Upgrade to version 2.3.1 or later
via: glob-stream@5.3.5
Recommendation: Upgrade to version 2.3.1 or later
via: glob-stream@5.3.5
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
100 Packages, Including:
@gulp-sourcemaps/map-sources@1.0.0
acorn@4.0.13
arr-diff@2.0.0
arr-flatten@1.1.0
array-unique@0.2.1
balanced-match@1.0.2
brace-expansion@1.1.11
braces@1.8.5
clone-stats@0.0.1
clone@1.0.4
concat-map@0.0.1
convert-source-map@1.9.0
core-util-is@1.0.3
css@2.2.4
debug-fabulous@0.0.4
debug@2.6.9
decode-uri-component@0.2.2
detect-newline@2.1.0
duplexify@3.7.1
end-of-stream@1.4.4
expand-brackets@0.1.5
expand-range@1.8.2
extend-shallow@2.0.1
extend@3.0.2
extglob@0.3.2
filename-regex@2.0.1
fill-range@2.2.4
first-chunk-stream@1.0.0
for-in@1.0.2
for-own@0.1.5
glob-base@0.3.0
glob-stream@5.3.5
is-buffer@1.1.6
is-dotfile@1.0.3
is-equal-shallow@0.1.3
is-extendable@0.1.1
is-extglob@1.0.0
is-extglob@2.1.1
is-glob@2.0.1
is-glob@3.1.0
is-number@2.1.0
is-number@4.0.0
is-posix-bracket@0.1.1
is-primitive@2.0.0
is-stream@1.1.0
is-utf8@0.2.1
is-valid-glob@0.3.0
isarray@0.0.1
isarray@1.0.0
isobject@2.1.0

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
11 Packages, Including:
glob-parent@2.0.0
glob-parent@3.1.0
glob@5.0.15
graceful-fs@4.2.11
gulp-sourcemaps@1.12.1
inflight@1.0.6
inherits@2.0.4
minimatch@3.1.2
once@1.4.0
remove-trailing-separator@1.1.0
wrappy@1.0.2

(MIT OR Apache-2.0)

Permissive
1 Packages, Including:
atob@2.1.2

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.6.1
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

17
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
duplexify3.7.14.92 kBMIT
prod
glob-stream5.3.54.04 kBMIT
prod
1
2
graceful-fs4.2.119.57 kBISC
prod
gulp-sourcemaps1.12.19.11 kBISC
prod
4
is-valid-glob0.3.02.39 kBMIT
prod
lazystream1.0.14.74 kBMIT
prod
lodash.isequal4.5.012.02 kBMIT
prod
merge-stream1.0.12 kBMIT
prod
mkdirp0.5.62.95 kBMIT
prod
object-assign4.1.12.61 kBMIT
prod
readable-stream2.3.825.14 kBMIT
prod
strip-bom-stream1.0.01.72 kBMIT
prod
strip-bom2.0.01.75 kBMIT
prod
through2-filter2.0.01.77 kBMIT
prod
through22.0.53.96 kBMIT
prod
vali-date1.0.01.46 kBMIT
prod
vinyl1.2.010.72 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.