
Security News
Open Source Maintainers Demand Ability to Block Copilot-Generated Issues and PRs
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
gulp-runner
Advanced tools
Simple module for running gulp tasks programattically, since gulp.run
is deprecated.
var GulpRunner = require('gulp-runner');
// Runs path.resolve, but probably a good idea
// to hand this a full filepath
var gulp = new GulpRunner('gulpfile.js');
gulp.run('task', function(err) {
// complete if no error
})
/* optional cli arguments (camelcased) */
var opts = {
require: ['coffeescript', 'some-lib'],
tasksSimple: true,
production: true // also accepts arbitrary flags
// for use within your tasks
};
// equivalent of calling
// gulp task1 task2 --require 'coffeescript' --require 'some-lib' --tasks-simple --production
gulp.run(['task1', 'task2'], opts, function(err) {
// complete!
})
Note: You can call run()
many times with the same instance,
but there will be no distinction between events.
Best to use a new instance, or just pass an array of tasks.
// Need to bind your events before calling run()
gulp.on('start', function() {
console.log('gulp starting...')
})
gulp.on('complete', function() {
console.log('complete!')
})
gulp.on('log', function(data: Buffer) {
// console.log(data.toString())
// works better to
process.stdout.write(data);
})
gulp.on('error', function(err: Buffer) {
process.stderr.write(err);
})
gulp.run('default')
FAQs
Programmatic API for running gulp tasks.
The npm package gulp-runner receives a total of 1,838 weekly downloads. As such, gulp-runner popularity was classified as popular.
We found that gulp-runner demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
Research
Security News
Malicious Koishi plugin silently exfiltrates messages with hex strings to a hardcoded QQ account, exposing secrets in chatbots across platforms.
Research
Security News
Malicious PyPI checkers validate stolen emails against TikTok and Instagram APIs, enabling targeted account attacks and dark web credential sales.