Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulp-rb-validate-css

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.0.2 to 0.0.3

43

index.js

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

if (abort) {
gutil.log('[' + guideline + '] ' + gutil.colors.white(tag + ": ") + gutil.colors.red(mistake));
gutil.log('[' + guideline + '] ' + gutil.colors.white(tag + ": ") + gutil.colors.red(mistake) + " [FAIL]");
errorBreak = true;

@@ -352,25 +352,30 @@ } else {

var nocomments = removeSingleComments(stripCssComments(str, {
preserve: false
})),
nosinglecomments = removeSingleComments(str);
if (!str) {
validationError('', 'File is empty or null', 'WARNING', false);
} else {
checkNames(nocomments);
checkLineWidth(nosinglecomments, options.linewidth);
checkSingleStatement(nocomments);
var nocomments = removeSingleComments(stripCssComments(str, {
preserve: false
})),
nosinglecomments = removeSingleComments(str);
if (options.checkremote) {
checkRemote(nocomments);
}
checkNames(nocomments);
checkLineWidth(nosinglecomments, options.linewidth);
checkSingleStatement(nocomments);
if (options.checkimportant) {
checkImportant(nocomments);
}
if (options.checkremote) {
checkRemote(nocomments);
}
if (options.forcerem) {
checkEmFonts(nocomments);
}
if (options.checkimportant) {
checkImportant(nocomments);
}
if (options.checkindent) {
checkIndentation(str, options.indent);
if (options.forcerem) {
checkEmFonts(nocomments);
}
if (options.checkindent) {
checkIndentation(str, options.indent);
}
}

@@ -377,0 +382,0 @@

{
"name": "gulp-rb-validate-css",
"version": "0.0.2",
"version": "0.0.3",
"description": "Gulp plugin to validate css files according to web frontend guidelines",

@@ -5,0 +5,0 @@ "main": "index.js",

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