vnu-jar 19.6.7 → 19.9.4
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/CHANGELOG.md +6 -1
- package/README.md.GOOD +14 -1
- package/build/dist/vnu.jar +0 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,12 +5,17 @@ changes to any options/interfaces the checker exposes for developers.
|
|
|
5
5
|
# N.N.N
|
|
6
6
|
NN XXX NNNN
|
|
7
7
|
- Disallow `accept-charset` values other than `UTF-8`
|
|
8
|
+
- Disallow object[typemustmatch]
|
|
8
9
|
- Allow `rel=modulepreload` for the `link` element
|
|
10
|
+
- Allow `integrity` attribute on link[rel=preload|modulepreload]
|
|
11
|
+
- Allow `autofocus` as a global attribute
|
|
12
|
+
- Allow `inputmode` as a global attribute
|
|
9
13
|
- Allow negated media features in `media` and `sizes` attributes
|
|
10
14
|
- CSS: Improve support for color values
|
|
11
15
|
- ARIA: Allow implicit roles to satisfy owned-by requirements
|
|
12
16
|
- Add option to specify additional script for Web-based checker
|
|
13
|
-
-
|
|
17
|
+
- CLI: Make --errors-only option take precedence over --Werror
|
|
18
|
+
- CLI: Enable checking standard input as SVG or CSS
|
|
14
19
|
- Include binary runtime images in release (alternative to jar/war)
|
|
15
20
|
- Dockerfile: Switch to using binary runtime image rather than jar
|
|
16
21
|
- Add checker.py script to repo (for building/testing/running checker)
|
package/README.md.GOOD
CHANGED
|
@@ -476,7 +476,7 @@ To check documents locally using the packaged HTTP client, do this:
|
|
|
476
476
|
|
|
477
477
|
java -cp ~/vnu.jar nu.validator.client.HttpClient FILE.html...
|
|
478
478
|
|
|
479
|
-
vnu-runtime-image/bin/
|
|
479
|
+
vnu-runtime-image/bin/java nu.validator.client.HttpClient FILE.html...
|
|
480
480
|
|
|
481
481
|
To send documents to an instance of the checker on the Web, such as
|
|
482
482
|
[html5.validator.nu/][36], use the nu.validator.client.host and
|
|
@@ -635,6 +635,11 @@ the `17.11.1` version:
|
|
|
635
635
|
|
|
636
636
|
docker run -it --rm -p 8888:8888 validator/validator:17.11.1
|
|
637
637
|
|
|
638
|
+
To bind the checker to a specific address (rather than have it listening on all
|
|
639
|
+
interfaces):
|
|
640
|
+
|
|
641
|
+
docker run -it --rm -p 128.30.52.73:8888:8888 validator/validator:latest
|
|
642
|
+
|
|
638
643
|
To make the checker run with a connection timeout and socket timeout different
|
|
639
644
|
than the default 5 seconds, use the `CONNECTION_TIMEOUT_SECONDS` and
|
|
640
645
|
`SOCKET_TIMEOUT_SECONDS` environment variables:
|
|
@@ -645,6 +650,14 @@ than the default 5 seconds, use the `CONNECTION_TIMEOUT_SECONDS` and
|
|
|
645
650
|
-p 8888:8888 \
|
|
646
651
|
validator/validator
|
|
647
652
|
|
|
653
|
+
To make the checker run with particular Java system properties set, use the
|
|
654
|
+
`JAVA_TOOL_OPTIONS` environment variable:
|
|
655
|
+
|
|
656
|
+
docker run -it --rm \
|
|
657
|
+
-e JAVA_TOOL_OPTIONS=-Dnu.validator.client.asciiquotes=yes \
|
|
658
|
+
-p 8888:8888 \
|
|
659
|
+
validator/validator
|
|
660
|
+
|
|
648
661
|
To define a service named `vnu` for use with `docker compose`, create a Compose
|
|
649
662
|
file named `docker-compose.yml` (for example), with contents such as the
|
|
650
663
|
following:
|
package/build/dist/vnu.jar
CHANGED
|
Binary file
|