
Product
Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
gulp-filename-hint
Advanced tools
A gulp plugin for linting filenames.
npm install --save-dev gulp-filename-hint
var gulp = require('gulp');
var filenameHint = require('gulp-filename-hint');
gulp.task('test', function () {
return gulp.src('src/*.js')
.pipe(filenameHint());
});
Type: RegExp
Default: undefined
Only RegExp's with begin (^
) and end ($
) boundaries should be used.
gulp.task('test', function () {
return gulp.src('src/*.js')
.pipe(filenameHint({regExp: /^\w*$/}));
});
Type: Array
Default: []
An array with allowed filenames. All names here will be automatically interpreted as valid ones.
gulp.task('test', function () {
return gulp.src('src/*.js')
.pipe(filenameHint({
regExp: /^\w*$/,
whiteList: ['README.md']
}));
});
caiogondim.com · GitHub @caiogondim · Twitter @caio_gondim
FAQs
A gulp plugin for linting filenames
We found that gulp-filename-hint 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.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.