Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
gulp-rb-validate-html
Advanced tools
Gulp plugin to check HTML files according to web frontend guidelines
#Installation
Install package with NPM and add it to your development dependencies:
npm install gulp-rb-validate-html --save-dev
#Usage
var rbhtml = require('gulp-rb-validate-html');
gulp.task('rb-validate', function () {
gulp.src('./src/**/*.html')
.pipe(rbhtml());
});
var rbhtml = require('gulp-rb-validate-html');
gulp.task('rb-validate', function () {
gulp.src(['./src/*.html', './src/app/**/*.html'],
{ base: './src/' })
.pipe(rbhtml());
});
var rbhtml = require('gulp-rb-validate-html');
gulp.task('rb-validate', function () {
gulp.src('./src/**/*.html')
.pipe(rbhtml({
exitOnError: true,
indentPattern: '\t',
checkRemoteUrl: false,
checkViewport: false
});
});
#Parameters
Exit with code 1 if an error with obligation level red is found.
Define the indentation pattern.
Set to false to deactivate indentation check.
Set to true to activate indentation checks inside HTML tags (between < and >).
Set to false to deactivate check of remote resource URLs.
Set to false if the application does not use responsive web design.
FAQs
Gulp plugin to check HTML files according to web frontend guidelines
The npm package gulp-rb-validate-html receives a total of 0 weekly downloads. As such, gulp-rb-validate-html popularity was classified as not popular.
We found that gulp-rb-validate-html 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.