gulp-bootlint
Advanced tools
Comparing version 0.8.1 to 0.9.0
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", |
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
13162
4
1
159
6
4
+ Addedansi-colors@^1.1.0
+ Addedplugin-error@^1.0.1
+ Addedansi-colors@1.1.0(transitive)
+ Addedarr-diff@4.0.0(transitive)
+ Addedarr-union@3.1.0(transitive)
+ Addedassign-symbols@1.0.0(transitive)
+ Addedextend-shallow@3.0.2(transitive)
+ Addedis-extendable@1.0.1(transitive)
+ Addedis-plain-object@2.0.4(transitive)
+ Addedisobject@3.0.1(transitive)
+ Addedplugin-error@1.0.1(transitive)
- Removedgulp-util@^3.0.8
- Removedansi-gray@0.1.1(transitive)
- Removedarray-differ@1.0.0(transitive)
- Removedarray-uniq@1.0.3(transitive)
- Removedbeeper@1.1.1(transitive)
- Removedclone@1.0.4(transitive)
- Removedclone-stats@0.0.1(transitive)
- Removedcolor-support@1.1.3(transitive)
- Removeddateformat@2.2.0(transitive)
- Removedduplexer2@0.0.2(transitive)
- Removedfancy-log@1.3.3(transitive)
- Removedglogg@1.0.2(transitive)
- Removedgulp-util@3.0.8(transitive)
- Removedgulplog@1.0.0(transitive)
- Removedhas-gulplog@0.1.0(transitive)
- Removedlodash._basecopy@3.0.1(transitive)
- Removedlodash._basetostring@3.0.1(transitive)
- Removedlodash._basevalues@3.0.0(transitive)
- Removedlodash._getnative@3.9.1(transitive)
- Removedlodash._isiterateecall@3.0.9(transitive)
- Removedlodash._reescape@3.0.0(transitive)
- Removedlodash._reevaluate@3.0.0(transitive)
- Removedlodash._reinterpolate@3.0.0(transitive)
- Removedlodash._root@3.0.1(transitive)
- Removedlodash.escape@3.2.0(transitive)
- Removedlodash.isarguments@3.1.0(transitive)
- Removedlodash.isarray@3.0.4(transitive)
- Removedlodash.keys@3.1.2(transitive)
- Removedlodash.restparam@3.6.1(transitive)
- Removedlodash.template@3.6.2(transitive)
- Removedlodash.templatesettings@3.1.1(transitive)
- Removedminimist@1.2.8(transitive)
- Removedmultipipe@0.1.2(transitive)
- Removedobject-assign@3.0.0(transitive)
- Removedparse-node-version@1.0.1(transitive)
- Removedreplace-ext@0.0.1(transitive)
- Removedsparkles@1.0.1(transitive)
- Removedtime-stamp@1.1.0(transitive)
- Removedvinyl@0.5.3(transitive)