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

gulp-rb-validate-html

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-rb-validate-html - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

2

index.js

@@ -254,3 +254,3 @@ /*jslint node: true*/

if (!str) {
validationError('', 'File is empty or null', 'WARNING', false);
validationError('', 'File is empty or null', 'CI-FE-WARNING', false);
} else {

@@ -257,0 +257,0 @@

{
"name": "gulp-rb-validate-html",
"version": "0.0.6",
"version": "0.0.7",
"description": "Gulp plugin to validate HTML files according to Web Frontend Guidelines",

@@ -14,3 +14,12 @@ "main": "index.js",

],
"author": "Diana Salsa",
"contributors": [
{
"name": "Diana Salsa",
"email": "fixed-term.Diana.Salsa@de.bosch.com"
},
{
"name": "Luis Amoroso",
"email": "luis.amoroso@de.bosch.com"
}
],
"license": "LicenseRef-LICENSE",

@@ -17,0 +26,0 @@ "dependencies": {

@@ -22,2 +22,16 @@ #Installation

#### Multiple Filepath Patterns
```js
var rbhtml = require('gulp-rb-validate-html');
gulp.task('rb-validate', function () {
gulp.src(['./src/*.html', './src/app/**/*.html'],
{ base: './src/' })
.pipe(rbhtml());
});
```
#### With Parameter

@@ -32,3 +46,3 @@

.pipe(rbhtml({
abortOnError: true,
exitOnError: true,
indent: '\t',

@@ -44,3 +58,3 @@ checkremote: false,

#### abortOnError: Boolean (Default: false)
#### exitOnError: Boolean (Default: false)

@@ -47,0 +61,0 @@ This will cause the plugin to abort with exit code 1 as soon as an error with obligation level red is found

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