vnu-jar 22.9.29 → 23.4.10
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 +11 -5
- package/build/dist/vnu.jar +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# The Nu Html Checker (v.Nu) [![Chat room][1]][2] [![Download latest][3]][4]
|
|
2
2
|
|
|
3
|
-
[1]:
|
|
3
|
+
[1]: resources/matrix-chat.svg
|
|
4
4
|
[2]: https://matrix.to/#/#validator_validator:gitter.im
|
|
5
|
-
[3]:
|
|
5
|
+
[3]: resources/download-latest.svg
|
|
6
6
|
[4]: https://github.com/validator/validator/releases/latest
|
|
7
7
|
|
|
8
8
|
The Nu Html Checker (v.Nu) helps you [catch unintended mistakes in your HTML,
|
|
@@ -17,6 +17,7 @@ code][10].
|
|
|
17
17
|
[7]: https://validator.github.io/validator/#standalone
|
|
18
18
|
[8]: https://validator.w3.org/nu/
|
|
19
19
|
[9]: https://github.com/validator/validator
|
|
20
|
+
|
|
20
21
|
[10]: https://validator.github.io/validator/#build-instructions
|
|
21
22
|
|
|
22
23
|
`vnu.jar` is a packaged version of the Nu Html Checker for batch-checking
|
|
@@ -57,8 +58,7 @@ execFile('java', ['-jar', `"${vnu}"`, '--version'], { shell: true }, (error, std
|
|
|
57
58
|
console.log(stdout);
|
|
58
59
|
});
|
|
59
60
|
```
|
|
60
|
-
##
|
|
61
|
-
Run the checker with one of the following invocations:
|
|
61
|
+
## UsageRun the checker with one of the following invocations:
|
|
62
62
|
|
|
63
63
|
• `vnu-runtime-image/bin/vnu OPTIONS FILES` (Linux or macOS)
|
|
64
64
|
|
|
@@ -72,7 +72,7 @@ the following options:
|
|
|
72
72
|
--errors-only --Werror --exit-zero-always --stdout --asciiquotes
|
|
73
73
|
--user-agent USER_AGENT --no-langdetect --no-stream --filterfile FILENAME
|
|
74
74
|
--filterpattern PATTERN --css --skip-non-css --also-check-css --svg
|
|
75
|
-
--skip-non-svg --also-check-svg --html --skip-non-html
|
|
75
|
+
--skip-non-svg --also-check-svg --xml --html --skip-non-html
|
|
76
76
|
--format gnu|xml|json|text --help --verbose --version
|
|
77
77
|
|
|
78
78
|
The [Options][27] section below provides details on each option, and the rest of
|
|
@@ -280,6 +280,12 @@ provides the following options:
|
|
|
280
280
|
|
|
281
281
|
default: [unset; XML parser is used for *.xhtml and *.xht documents]
|
|
282
282
|
|
|
283
|
+
#### --xml
|
|
284
|
+
|
|
285
|
+
Forces any *.html documents to be parsed using the XML parser.
|
|
286
|
+
|
|
287
|
+
default: [unset; HTML parser is used for *.html documents]
|
|
288
|
+
|
|
283
289
|
#### --also-check-css
|
|
284
290
|
|
|
285
291
|
Check CSS documents (in addition to checking HTML documents).
|
package/build/dist/vnu.jar
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name": "vnu-jar", "version": "
|
|
1
|
+
{"name": "vnu-jar", "version": "23.4.10", "description": "Provides the Nu Html Checker \u00abvnu.jar\u00bb file", "main": "vnu-jar.js", "author": "Michael[tm] Smith <mike@w3.org>", "engines": {"node": ">=0.10"}, "repository": {"type": "git", "url": "git+https://github.com/validator/validator.git"}, "license": "MIT", "bugs": {"url": "https://github.com/validator/validator/issues"}, "homepage": "https://github.com/validator/validator#readme", "keywords": ["checker", "html", "lint", "linter", "jar", "nu", "validator", "vnu", "w3c"], "files": ["build/dist/vnu.jar", "vnu-jar.js"]}
|