Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Wulp allows you to define Gulp tasks that can be run directly, and also via a watch
task.
Wulp tasks don't do anything on their own; you must first register them with gulp via wulp.register
:
// Registers all wulp tasks as gulp tasks, and creates a task called `watch`
// that watches for changes.
wulp.register(gulp, 'watch');
var eslint = require('gulp-eslint');
var gulp = require('gulp');
var wulp = require('wulp');
// A wulp task is defined similarly to regular gulp tasks, except it is _given_
// the files it should execute over.
//
// When being run directly, this is whatever files match the glob. When being
// run via the watch task, it is whatever matching files have changed.
wulp.task('test:style', ['{src,test}/**/*.js'], (srcs) => {
return srcs
.pipe(eslint())
.pipe(eslint.format())
.pipe(eslint.failAfterError());
});
Wulp tasks support additional configuration via a third argument:
wulp.task('test:style', ['{src,test}/**/*.js'], {runAll: ['.eslintrc*']}, (srcs) => {
The supported options are:
runAll
: Accepts an array of glob expressions. When a file matching that expression changes, the task will be run with all files matching the primary glob. Great for re-running all tests after changing test configuration, for example.
This project is covered under the Apache License, version 2.0.
FAQs
Gulp tasks that can be run directly or as part of a watch task.
The npm package wulp receives a total of 0 weekly downloads. As such, wulp popularity was classified as not popular.
We found that wulp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.