Socket
Socket
Sign inDemoInstall

gulp-bootlint

Package Overview
Dependencies
120
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.8.1 to 0.9.0

README.md

14

index.js

@@ -10,4 +10,4 @@ /*

'use strict';
var gutil = require('gulp-util');
var PluginError = gutil.PluginError;
var colors = require('ansi-colors');
var PluginError = require('plugin-error');
var through = require('through2');

@@ -36,3 +36,3 @@ var Log = require('log');

var defaultReportFn = function(file, lint, isError, isWarning, errorLocation) {
var lintId = (isError) ? gutil.colors.bgRed.white(lint.id) : gutil.colors.bgYellow.white(lint.id);
var lintId = (isError) ? colors.bgred(colors.white(lint.id)) : colors.bgyellow(colors.white(lint.id));
var message = '';

@@ -63,3 +63,3 @@ if (errorLocation) {

if (errorCount > 0) {
message += gutil.colors.red(errorCount + ' lint ' + (errorCount === 1 ? 'error' : 'errors'));
message += colors.red(errorCount + ' lint ' + (errorCount === 1 ? 'error' : 'errors'));
}

@@ -71,3 +71,3 @@

}
message += gutil.colors.yellow(warningCount + ' lint ' + (warningCount === 1 ? 'warning' : 'warnings'));
message += colors.yellow(warningCount + ' lint ' + (warningCount === 1 ? 'warning' : 'warnings'));
}

@@ -77,3 +77,3 @@ message += ' found in file ' + file.path;

} else {
log.info(gutil.colors.green(file.path + ' is lint free!'));
log.info(colors.green(file.path + ' is lint free!'));
}

@@ -136,3 +136,3 @@ };

log.info(gutil.colors.gray('Linting file ' + file.path));
log.info(colors.gray('Linting file ' + file.path));
bootlint.lintHtml(file.contents.toString(), reporter, options.disabledIds);

@@ -139,0 +139,0 @@

{
"name": "gulp-bootlint",
"version": "0.8.1",
"version": "0.9.0",
"description": "A gulp wrapper for Bootlint, the HTML linter for Bootstrap projects",

@@ -39,12 +39,14 @@ "license": "MIT",

"dependencies": {
"ansi-colors": "^1.1.0",
"bootlint": "^0.14.2",
"gulp-util": "^3.0.8",
"log": "^1.4.0",
"merge": "^1.2.0",
"plugin-error": "^1.0.1",
"through2": "^2.0.3"
},
"devDependencies": {
"eslint": "^3.14.1",
"mocha": "^3.2.0",
"should": "^11.2.0"
"eslint": "^4.19.1",
"mocha": "^5.1.1",
"should": "^13.2.1",
"vinyl": "^2.1.0"
},

@@ -51,0 +53,0 @@ "readmeFilename": "README.md",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc