Skip to content
This repository was archived by the owner on Jul 19, 2023. It is now read-only.

Commit 1c20369

Browse files
committed
Release v5.1.4
1 parent 0219878 commit 1c20369

File tree

7 files changed

+18
-17
lines changed

7 files changed

+18
-17
lines changed

dist/html-validator.d.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
//! gulp-w3c-html-validator v5.1.3 ~~ https://github.com/center-key/gulp-w3c-html-validator ~~ MIT License
1+
//! gulp-w3c-html-validator v5.1.4 ~~ https://github.com/center-key/gulp-w3c-html-validator ~~ MIT License
22

3-
export declare type AnalyzerOptions = ValidatorOptions;
4-
export declare type ReporterOptions = {
5-
maxMessageLen?: number;
6-
throwErrors?: boolean;
3+
export type AnalyzerOptions = ValidatorOptions;
4+
export type ReporterSettings = {
5+
maxMessageLen: number;
6+
throwErrors: boolean;
77
};
8+
export type ReporterOptions = Partial<ReporterSettings>;
89
import { Transform } from 'stream';
910
import { ValidatorOptions } from 'w3c-html-validator';
1011
declare const htmlValidator: {

dist/html-validator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! gulp-w3c-html-validator v5.1.3 ~~ https://github.com/center-key/gulp-w3c-html-validator ~~ MIT License
1+
//! gulp-w3c-html-validator v5.1.4 ~~ https://github.com/center-key/gulp-w3c-html-validator ~~ MIT License
22

33
import { w3cHtmlValidator } from 'w3c-html-validator';
44
import PluginError from 'plugin-error';

dist/html-validator.umd.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! gulp-w3c-html-validator v5.1.3 ~~ https://github.com/center-key/gulp-w3c-html-validator ~~ MIT License
1+
//! gulp-w3c-html-validator v5.1.4 ~~ https://github.com/center-key/gulp-w3c-html-validator ~~ MIT License
22

33
var __importDefault = (this && this.__importDefault) || function (mod) {
44
return (mod && mod.__esModule) ? mod : { "default": mod };

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gulp-w3c-html-validator",
3-
"version": "5.1.3",
3+
"version": "5.1.4",
44
"description": "Gulp plugin to validate HTML using the W3C Markup Validation Service",
55
"license": "MIT",
66
"type": "module",
@@ -91,19 +91,19 @@
9191
"devDependencies": {
9292
"@types/node": "~18.11",
9393
"@types/through2": "~2.0",
94-
"@typescript-eslint/eslint-plugin": "~5.40",
95-
"@typescript-eslint/parser": "~5.40",
94+
"@typescript-eslint/eslint-plugin": "~5.43",
95+
"@typescript-eslint/parser": "~5.43",
9696
"add-dist-header": "~0.3",
9797
"assert-deep-strict-equal": "~1.0",
9898
"copy-file-util": "~0.1",
9999
"copy-folder-util": "~0.2",
100-
"eslint": "~8.26",
100+
"eslint": "~8.28",
101101
"jshint": "~2.13",
102102
"mocha": "~10.1",
103103
"rimraf": "~3.0",
104104
"run-scripts-util": "~0.1",
105105
"sinon": "~14.0",
106106
"slash": "~5.0",
107-
"typescript": "~4.8"
107+
"typescript": "~4.9"
108108
}
109109
}

spec/mocha.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const analyzedFiles = { valid: [], invalid: [] };
1313
console.log(' Input HTML files for validation:');
1414
fs.readdirSync('spec/html').forEach(file => console.log(' spec/html/' + file));
1515

16-
////////////////////////////////////////////////////////////////////////////////////////////////////
16+
////////////////////////////////////////////////////////////////////////////////
1717
describe('The gulp-w3c-html-validator analyzer()', () => {
1818

1919
it('passes a valid HTML file', (done) => {
@@ -89,7 +89,7 @@ describe('The gulp-w3c-html-validator analyzer()', () => {
8989

9090
});
9191

92-
////////////////////////////////////////////////////////////////////////////////////////////////////
92+
////////////////////////////////////////////////////////////////////////////////
9393
describe('The analyzer() ignoreMessages option', () => {
9494

9595
it('allows a RegEx to skip unwanted messages', (done) => {
@@ -126,7 +126,7 @@ describe('The analyzer() ignoreMessages option', () => {
126126

127127
});
128128

129-
////////////////////////////////////////////////////////////////////////////////////////////////////
129+
////////////////////////////////////////////////////////////////////////////////
130130
describe('The gulp-w3c-html-validator reporter()', () => {
131131

132132
it('passes an HTML file', (done) => {

task-runner.sh.command

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ setupTools() {
2323
which node || { echo "Need to install Node.js: https://nodejs.org"; exit; }
2424
node --version
2525
npm install --no-fund
26-
npm update
26+
npm update --no-fund
2727
npm outdated
2828
echo
2929
}

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"target": "ES2015",
3+
"target": "ES2016",
44
"module": "ES2020",
55
"moduleResolution": "node",
66
"declaration": true,

0 commit comments

Comments
 (0)