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

gulp-htmlhint

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-htmlhint - npm Package Compare versions

Comparing version 1.0.0 to 2.0.0

test/fixtures/invalid.html

4

Changelog.md

@@ -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

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