Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulp-task-listing

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-task-listing - npm Package Compare versions

Comparing version 0.3.0 to 1.0.0

35

index.js

@@ -10,3 +10,3 @@ /*jshint node:true */

var DEFAULT_SUBTASK_REGEX = /[-_:]/,
filter = function(inc, subtaskFilter) {

@@ -26,3 +26,3 @@ return function(n) {

return function(t) {
return t.search(rfn) !== -1;
return t.search(rfn) !== -1;
};

@@ -32,7 +32,7 @@ }

},
help = function(subtaskFilter, excludeFilter) {
subtaskFilter = regexFunc(subtaskFilter || DEFAULT_SUBTASK_REGEX);
excludeFilter = regexFunc(excludeFilter);
return function(cb) {

@@ -45,17 +45,21 @@ var tasks = Object.keys(gulp.tasks).sort();

}
header('Main Tasks');
tasks.filter(filter(false, subtaskFilter)).forEach(function(name) {
console.log(' '+colors.cyan(name));
console.log(' ' + colors.cyan(name));
});
header('Sub Tasks');
tasks.filter(filter(true, subtaskFilter)).forEach(function(name) {
console.log(' '+name);
});
var subtasks = tasks.filter(filter(true, subtaskFilter));
if(subtasks.length) {
header('Sub Tasks');
subtasks.forEach(function(name) {
console.log(' ' + name);
});
}
console.log('');
// we're synchronous

@@ -71,2 +75,1 @@ cb && cb();

};
{
"name": "gulp-task-listing",
"description": "Adds the ability to provide a task listing for your gulpfile",
"version": "0.3.0",
"version": "1.0.0",
"homepage": "https://github.com/OverZealous/gulp-task-listing",

@@ -6,0 +6,0 @@ "repository": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc