New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gulp-exec

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-exec - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

15

index.js

@@ -16,12 +16,13 @@ /*jshint node:true */

if (!opt) {
opt = {
silent: false
};
opt = {};
}
if (typeof opt.silent === 'undefined') {
opt.silent = false;
}
return es.map(function (file, cb){
opt.file = file;
var cmd = gutil.template(command, opt);
var cmd = gutil.template(command, {file: file, options: opt});
exec(cmd, function (error, stdout, stderr) {
if (stderr) {
if (!opt.silent && stderr) {
gutil.log(stderr);

@@ -32,3 +33,3 @@ }

}
if (stdout) {
if (!opt.silent && stdout) {
gutil.log(stdout);

@@ -35,0 +36,0 @@ }

{
"name": "gulp-exec",
"description": "exec plugin for gulp",
"version": "1.0.0",
"version": "1.0.1",
"homepage": "https://github.com/robrich/gulp-exec",

@@ -20,2 +20,6 @@ "repository": "git://github.com/robrich/gulp-exec.git",

},
"peerDependencies": {
"gulp": "~3.0.0"
},
"scripts": {

@@ -22,0 +26,0 @@ "test": "mocha"

@@ -15,3 +15,8 @@ ![status](https://secure.travis-ci.org/robrich/gulp-exec.png?branch=master)

gulp.task('reset', function() {
gulp.src('./**/**').pipe(exec('git checkout <%= file.path %>'));
var options = {
silent: true,
customTemplatingThing: "test"
};
gulp.src('./**/**')
.pipe(exec('git checkout <%= file.path %> <%= options.customTemplatingThing %>', options));
});

@@ -18,0 +23,0 @@ ```

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