w3c-html-validator 1.8.2 → 1.8.3
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/LICENSE.txt +1 -1
- package/README.md +1 -1
- package/dist/w3c-html-validator.d.ts +1 -1
- package/dist/w3c-html-validator.js +2 -2
- package/package.json +9 -9
package/LICENSE.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2021-
|
|
3
|
+
Copyright (c) 2021-2025 Individual contributors to w3c-html-validator
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/README.md
CHANGED
|
@@ -158,7 +158,7 @@ Setting `ignoreLevel` to `'warning'` skips both `'warning'` level and `'info'` l
|
|
|
158
158
|
|
|
159
159
|
### 3. TypeScript declarations
|
|
160
160
|
See the TypeScript declarations at the top of the
|
|
161
|
-
[w3c-html-validator.ts](w3c-html-validator.ts) file.
|
|
161
|
+
[w3c-html-validator.ts](src/w3c-html-validator.ts) file.
|
|
162
162
|
|
|
163
163
|
The output of the `w3cHtmlValidator.validate(options: ValidatorOptions)` function is a **promise**
|
|
164
164
|
for a `ValidatorResults` object:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//! w3c-html-validator v1.8.
|
|
1
|
+
//! w3c-html-validator v1.8.3 ~~ https://github.com/center-key/w3c-html-validator ~~ MIT License
|
|
2
2
|
|
|
3
3
|
import chalk from 'chalk';
|
|
4
4
|
import fs from 'fs';
|
|
@@ -6,7 +6,7 @@ import log from 'fancy-log';
|
|
|
6
6
|
import request from 'superagent';
|
|
7
7
|
import slash from 'slash';
|
|
8
8
|
const w3cHtmlValidator = {
|
|
9
|
-
version: '1.8.
|
|
9
|
+
version: '1.8.3',
|
|
10
10
|
validate(options) {
|
|
11
11
|
const defaults = {
|
|
12
12
|
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.8.
|
|
3
|
+
"version": "1.8.3",
|
|
4
4
|
"description": "Check the markup validity of HTML files using the W3C validator",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -57,29 +57,29 @@
|
|
|
57
57
|
"examples": "node examples.js"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"chalk": "~5.
|
|
60
|
+
"chalk": "~5.4",
|
|
61
61
|
"cli-argv-util": "~1.2",
|
|
62
62
|
"fancy-log": "~2.0",
|
|
63
63
|
"glob": "~11.0",
|
|
64
64
|
"slash": "~5.1",
|
|
65
|
-
"superagent": "~
|
|
65
|
+
"superagent": "~10.1"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@eslint/js": "~9.
|
|
68
|
+
"@eslint/js": "~9.21",
|
|
69
69
|
"@types/fancy-log": "~2.0",
|
|
70
|
-
"@types/node": "~22.
|
|
70
|
+
"@types/node": "~22.13",
|
|
71
71
|
"@types/superagent": "~8.1",
|
|
72
72
|
"add-dist-header": "~1.4",
|
|
73
73
|
"assert-deep-strict-equal": "~1.2",
|
|
74
74
|
"copy-file-util": "~1.2",
|
|
75
75
|
"copy-folder-util": "~1.1",
|
|
76
|
-
"eslint": "~9.
|
|
76
|
+
"eslint": "~9.21",
|
|
77
77
|
"jshint": "~2.13",
|
|
78
78
|
"merge-stream": "~2.0",
|
|
79
|
-
"mocha": "~
|
|
79
|
+
"mocha": "~11.1",
|
|
80
80
|
"rimraf": "~6.0",
|
|
81
81
|
"run-scripts-util": "~1.3",
|
|
82
|
-
"typescript": "~5.
|
|
83
|
-
"typescript-eslint": "~8.
|
|
82
|
+
"typescript": "~5.8",
|
|
83
|
+
"typescript-eslint": "~8.26"
|
|
84
84
|
}
|
|
85
85
|
}
|