🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

wulp

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wulp - npm Package Compare versions

Comparing version

to
0.1.3

2

package.json
{
"name": "wulp",
"version": "0.1.2",
"version": "0.1.3",
"description": "Gulp tasks that can be run directly or as part of a watch task.",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

@@ -89,6 +89,6 @@ var debug = require('debug')('wulp');

if (micromatch.any(file.relative, task.runAll, MICROMATCH_OPTIONS)) {
if (micromatch(file.relative, task.runAll, MICROMATCH_OPTIONS).length) {
tasksToRun.push(taskName);
this._enqueueTask(taskName, true);
} else if (micromatch.any(file.relative, task.globs, MICROMATCH_OPTIONS)) {
} else if (micromatch(file.relative, task.globs, MICROMATCH_OPTIONS).length) {
tasksToRun.push(taskName);

@@ -149,5 +149,10 @@ this._enqueueTask(taskName, file);

var inputStream = Array.isArray(files)
? streamArray(files)
: this._gulp.src(task.globs, {base: process.cwd()});
var inputStream;
if (Array.isArray(files)) {
debug('_runTask', taskName, 'with files:', files.map(function(f) { return f.relative; }));
inputStream = streamArray(files);
} else {
debug('_runTask', taskName, 'with globs:', task.globs);
inputStream = this._gulp.src(task.globs, {base: process.cwd()});
}
var outputStream = task.runner(inputStream);

@@ -154,0 +159,0 @@