gulp-htmlhint
Advanced tools
Comparing version 1.0.0 to 2.0.0
@@ -0,2 +1,6 @@ | ||
2.0.0 / 2018-01-23 | ||
================== | ||
* Drop node <6 support | ||
1.0.0 / 2017-10-26 | ||
@@ -3,0 +7,0 @@ ================== |
15
index.js
const fs = require('fs'); | ||
const os = require('os'); | ||
const beep = require('beeper'); | ||
const c = require('ansi-colors'); | ||
const flog = require('fancy-log'); | ||
const through2 = require('through2'); | ||
const gutil = require('gulp-util'); | ||
const PluginError = require('plugin-error'); | ||
const stripJsonComments = require('strip-json-comments'); | ||
const PluginError = require('gulp-util').PluginError; | ||
const HTMLHint = require('htmlhint').HTMLHint; | ||
const beep = gutil.beep; | ||
const c = gutil.colors; | ||
const formatOutput = function (report, file, options) { | ||
@@ -133,7 +132,7 @@ 'use strict'; | ||
gutil.log(c.cyan(errorCount) + ' error' + plural + ' found in ' + c.magenta(file.path)); | ||
flog(c.cyan(errorCount) + ' error' + plural + ' found in ' + c.magenta(file.path)); | ||
getMessagesForFile(file).forEach(data => { | ||
gutil.log(data.message); | ||
gutil.log(data.evidence); | ||
flog(data.message); | ||
flog(data.evidence); | ||
}); | ||
@@ -140,0 +139,0 @@ }; |
{ | ||
"name": "gulp-htmlhint", | ||
"version": "1.0.0", | ||
"version": "2.0.0", | ||
"description": "A plugin for Gulp", | ||
@@ -23,6 +23,11 @@ "keywords": [ | ||
"dependencies": { | ||
"gulp-util": "^3.0.0", | ||
"htmlhint": "^0.9.5", | ||
"strip-json-comments": "^2.0.0", | ||
"through2": "^2.0.0" | ||
"ansi-colors": "^1.0.1", | ||
"beeper": "^1.1.1", | ||
"fancy-log": "^1.3.2", | ||
"htmlhint": "^0.9.13", | ||
"plugin-error": "1.0.0", | ||
"strip-ansi": "^4.0.0", | ||
"strip-json-comments": "^2.0.1", | ||
"through2": "^2.0.3", | ||
"vinyl": "^2.1.0" | ||
}, | ||
@@ -32,7 +37,7 @@ "devDependencies": { | ||
"htmlhint-stylish": "^1.0.3", | ||
"mocha": "4.0.1", | ||
"nsp": "^2.8.1", | ||
"nyc": "^11.2.1", | ||
"should": "13.1.2", | ||
"vinyl-fs": "^2.3.1", | ||
"mocha": "5.0.0", | ||
"nsp": "^3.1.0", | ||
"nyc": "^11.4.1", | ||
"should": "13.2.1", | ||
"vinyl-fs": "^3.0.1", | ||
"xo": "0.18.2" | ||
@@ -44,3 +49,3 @@ }, | ||
"engines": { | ||
"node": ">=4" | ||
"node": ">=6" | ||
}, | ||
@@ -47,0 +52,0 @@ "licenses": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
155671
30
565
9
3
+ Addedansi-colors@^1.0.1
+ Addedbeeper@^1.1.1
+ Addedfancy-log@^1.3.2
+ Addedplugin-error@1.0.0
+ Addedstrip-ansi@^4.0.0
+ Addedvinyl@^2.1.0
+ Addedansi-colors@1.1.0(transitive)
+ Addedansi-regex@3.0.1(transitive)
+ Addedarr-diff@4.0.0(transitive)
+ Addedarr-union@3.1.0(transitive)
+ Addedassign-symbols@1.0.0(transitive)
+ Addedclone@2.1.2(transitive)
+ Addedclone-buffer@1.0.0(transitive)
+ Addedclone-stats@1.0.0(transitive)
+ Addedcloneable-readable@1.1.3(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.0(transitive)
+ Addedremove-trailing-separator@1.1.0(transitive)
+ Addedreplace-ext@1.0.1(transitive)
+ Addedstrip-ansi@4.0.0(transitive)
+ Addedvinyl@2.2.1(transitive)
- Removedgulp-util@^3.0.0
- Removedansi-regex@2.1.1(transitive)
- Removedansi-styles@2.2.1(transitive)
- Removedarray-differ@1.0.0(transitive)
- Removedarray-uniq@1.0.3(transitive)
- Removedchalk@1.1.3(transitive)
- Removedclone@1.0.4(transitive)
- Removedclone-stats@0.0.1(transitive)
- Removeddateformat@2.2.0(transitive)
- Removedduplexer2@0.0.2(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
- Removedglogg@1.0.2(transitive)
- Removedgulp-util@3.0.8(transitive)
- Removedgulplog@1.0.0(transitive)
- Removedhas-ansi@2.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)
- Removedreplace-ext@0.0.1(transitive)
- Removedsparkles@1.0.1(transitive)
- Removedstrip-ansi@3.0.1(transitive)
- Removedsupports-color@2.0.0(transitive)
- Removedvinyl@0.5.3(transitive)
Updatedhtmlhint@^0.9.13
Updatedstrip-json-comments@^2.0.1
Updatedthrough2@^2.0.3