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

gulp-watch 5.0.1

Watch, that actually is an endless stream
Package summary
Share
10
issues
8
high severity
vulnerability
1
meta
7
2
low severity
vulnerability
2
4
licenses
154
MIT
8
ISC
1
(MIT OR Apache-2.0)
1
BSD-3-Clause
Package created
4 Jan 2014
Version published
23 Jul 2018
Maintainers
2
Total deps
164
Direct deps
12
License
MIT

Issues

10

8 high severity issues

high
Recommendation: Upgrade to version 5.1.2 or later
via: anymatch@1.3.2 & others
via: chokidar@2.1.8
via: chokidar@2.1.8
via: chokidar@2.1.8
via: chokidar@2.1.8
via: chokidar@2.1.8
via: chokidar@2.1.8
via: chokidar@2.1.8
Collapse
Expand

2 low severity issues

low
Recommendation: Upgrade to version 2.3.1 or later
via: anymatch@1.3.2
Recommendation: Upgrade to version 2.3.1 or later
via: anymatch@1.3.2
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
154 Packages, Including:
ansi-colors@1.1.0
ansi-gray@0.1.1
ansi-wrap@0.1.0
arr-diff@2.0.0
arr-diff@4.0.0
arr-flatten@1.1.0
arr-union@3.1.0
array-unique@0.2.1
array-unique@0.3.2
assign-symbols@1.0.0
async-each@1.0.6
base@0.11.2
binary-extensions@1.13.1
bindings@1.5.0
braces@1.8.5
braces@2.3.2
cache-base@1.0.1
chokidar@2.1.8
class-utils@0.3.6
clone-buffer@1.0.0
clone-stats@0.0.1
clone-stats@1.0.0
clone@1.0.4
clone@2.1.2
cloneable-readable@1.1.3
collection-visit@1.0.0
component-emitter@1.3.1
copy-descriptor@0.1.1
core-util-is@1.0.3
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@0.1.5
expand-brackets@2.1.4
expand-range@1.8.2
extend-shallow@2.0.1
extend-shallow@3.0.2
extglob@0.3.2
extglob@2.0.4
fancy-log@1.3.2
file-uri-to-path@1.0.0
filename-regex@2.0.1
fill-range@2.2.4
fill-range@4.0.0
first-chunk-stream@2.0.0
for-in@1.0.2
for-own@0.1.5
fragment-cache@0.2.1

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
8 Packages, Including:
anymatch@1.3.2
anymatch@2.0.0
color-support@1.1.3
glob-parent@2.0.0
glob-parent@3.1.0
graceful-fs@4.2.11
inherits@2.0.4
remove-trailing-separator@1.1.0

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

12
All Dependencies CSV
β“˜ This is a list of gulp-watch 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
ansi-colors1.1.04.35 kBMIT
prod
anymatch1.3.23.31 kBISC
prod
1
2
chokidar2.1.824.74 kBMIT
prod
8
fancy-log1.3.22.02 kBMIT
prod
glob-parent3.1.02.78 kBISC
prod
1
object-assign4.1.12.61 kBMIT
prod
path-is-absolute1.0.11.84 kBMIT
prod
plugin-error1.0.14.3 kBMIT
prod
readable-stream2.3.825.14 kBMIT
prod
slash1.0.01020 BMIT
prod
vinyl-file2.0.02.14 kBMIT
prod
vinyl2.2.17.4 kBMIT
prod

Visualizations

Frequently Asked Questions

What does gulp-watch do?

In the dynamic world of web development, 'gulp-watch' serves as an unending stream file watcher that makes use of the supremely speedy chokidar while emitting vinyl objects. It keeps a keen eye on files provided by a specific pattern or 'glob' and emits an event every time the file is added, changed, or removed.

How do you use gulp-watch?

To get things working with 'gulp-watch', you'll need to follow a few straightforward steps. First, install the package through npm by running npm install --save-dev gulp-watch in your terminal. You'll then require both 'gulp' and 'gulp-watch' in your script file. Define gulp tasks that return the 'gulp-watch' function, providing it with the path of the files you want to watch as the first argument, and specifying a function of what to do whenever a change is detected.

Here's a simple code example:

var gulp = require('gulp'),
    watch = require('gulp-watch');

gulp.task('stream', function () {
    // Endless stream mode
    return watch('css/**/*.css', { ignoreInitial: false })
        .pipe(gulp.dest('build'));
});

gulp.task('callback', function () {
    // Callback mode
    return watch('css/**/*.css', function () {
        gulp.src('css/**/*.css')
            .pipe(gulp.dest('build'));
    });
});

Notice there are two modes of utilization: 'stream' mode which creates an endless stream, and 'callback' mode that is particularly practical if any plugin in the pipeline depends on the end/flush event.

Where are the gulp-watch docs?

Looking to dig deeper? The detailed documentation of 'gulp-watch' is conveniently available in the readme.md file located in the package's 'docs' directory on GitHub. Explore an array of tips, instructions, and examples to get the most out of this powerful tool.