w3c-html-validator 1.5.0 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -77,8 +77,8 @@ Examples:
77
77
  - `html-validator docs '--ignore=/^Duplicate ID|^Section lacks|^Element .blockquote. not allowed/'`<br>
78
78
  Use a regex with "or" operators (`|`) to skip multiple HTML validation messages.
79
79
 
80
- - `html-validator docs --ignore-config=config/regex-patterns.txt`<br>
81
- Similar to the pervious command but regex patterns are stored in a configuration file (see the _Ignore Configuration File_ section below).
80
+ - `html-validator docs --ignore-config=spec/ignore-config.txt`<br>
81
+ Similar to the pervious command but strings and regexes are stored in a configuration file (see the _Ignore Configuration File_ section below).
82
82
 
83
83
  - `html-validator --quiet`<br>
84
84
  Suppress "pass" status messages.
@@ -1,4 +1,4 @@
1
- //! w3c-html-validator v1.5.0 ~~ https://github.com/center-key/w3c-html-validator ~~ MIT License
1
+ //! w3c-html-validator v1.5.1 ~~ https://github.com/center-key/w3c-html-validator ~~ MIT License
2
2
 
3
3
  export type ValidatorSettings = {
4
4
  html: string;
@@ -1,11 +1,11 @@
1
- //! w3c-html-validator v1.5.0 ~~ https://github.com/center-key/w3c-html-validator ~~ MIT License
1
+ //! w3c-html-validator v1.5.1 ~~ https://github.com/center-key/w3c-html-validator ~~ MIT License
2
2
 
3
3
  import chalk from 'chalk';
4
4
  import fs from 'fs';
5
5
  import log from 'fancy-log';
6
6
  import request from 'superagent';
7
7
  const w3cHtmlValidator = {
8
- version: '1.5.0',
8
+ version: '1.5.1',
9
9
  validate(options) {
10
10
  const defaults = {
11
11
  checkUrl: 'https://validator.w3.org/nu/',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "w3c-html-validator",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "Check the markup validity of HTML files using the W3C validator",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -20,7 +20,10 @@
20
20
  "html-validator": "bin/cli.js",
21
21
  "w3c-html-validator": "bin/cli.js"
22
22
  },
23
- "repository": "github:center-key/w3c-html-validator",
23
+ "repository": {
24
+ "type": "git",
25
+ "url": "git+https://github.com/center-key/w3c-html-validator.git"
26
+ },
24
27
  "homepage": "https://github.com/center-key/w3c-html-validator",
25
28
  "bugs": "https://github.com/center-key/w3c-html-validator/issues",
26
29
  "docs": "https://github.com/center-key/w3c-html-validator#readme",
@@ -82,7 +85,7 @@
82
85
  "chalk": "~5.3",
83
86
  "cli-argv-util": "~1.2",
84
87
  "fancy-log": "~2.0",
85
- "glob": "~10.3",
88
+ "glob": "10.3.6",
86
89
  "superagent": "~8.1"
87
90
  },
88
91
  "devDependencies": {
@@ -96,7 +99,7 @@
96
99
  "assert-deep-strict-equal": "~1.1",
97
100
  "copy-file-util": "~1.1",
98
101
  "copy-folder-util": "~1.1",
99
- "eslint": "~8.49",
102
+ "eslint": "~8.50",
100
103
  "jshint": "~2.13",
101
104
  "merge-stream": "~2.0",
102
105
  "mocha": "~10.2",