mcp-web-validator 1.3.55 → 1.3.56
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 +11 -0
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/presentation.d.ts +2 -2
- package/dist/presentation.js +19 -8
- package/dist/presentation.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,17 @@ All notable changes to this project are documented here. The project follows [Se
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [1.3.56] - 2026-11-23
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- Correctly attribute offline Stylelint CSS diagnostics and local Nu HTML
|
|
12
|
+
Checker results instead of misleadingly describing them as responses from
|
|
13
|
+
the external W3C validator. Preserve legacy W3C text for remote checks.
|
|
14
|
+
- Supply an isolated empty SiteOne configuration file to avoid accidentally
|
|
15
|
+
inheriting a user's global crawler credentials or unrelated crawler options.
|
|
16
|
+
- Document Unlighthouse v1 beta's separate Node.js 24.13.1+ requirement.
|
|
17
|
+
|
|
7
18
|
## [1.3.55] - 2026-11-23
|
|
8
19
|
|
|
9
20
|
### Reliability and optional engines
|
package/dist/index.js
CHANGED
|
@@ -1854,7 +1854,7 @@ export function createServer() {
|
|
|
1854
1854
|
const messages = boundedMcpArray(validation.messages);
|
|
1855
1855
|
const truncated = validation.truncated || messages.length < validation.messages.length;
|
|
1856
1856
|
return result({ errors: messages, totalMessages: validation.total, truncated,
|
|
1857
|
-
checker: validation.checker ?? "w3c_remote" }, htmlValidationContent(messages, undefined, validation.total, validation.counts));
|
|
1857
|
+
checker: validation.checker ?? "w3c_remote" }, htmlValidationContent(messages, undefined, validation.total, validation.counts, validation.checker ?? "w3c_remote"));
|
|
1858
1858
|
}
|
|
1859
1859
|
catch (cause) {
|
|
1860
1860
|
const error = getErrorMessage(cause);
|
|
@@ -1908,7 +1908,7 @@ export function createServer() {
|
|
|
1908
1908
|
truncated,
|
|
1909
1909
|
fetchedUrl: fetched.url,
|
|
1910
1910
|
checker: validation.checker ?? "w3c_remote",
|
|
1911
|
-
}, htmlValidationContent(messages, fetched.url, validation.total, validation.counts));
|
|
1911
|
+
}, htmlValidationContent(messages, fetched.url, validation.total, validation.counts, validation.checker ?? "w3c_remote"));
|
|
1912
1912
|
}
|
|
1913
1913
|
catch (cause) {
|
|
1914
1914
|
const error = getErrorMessage(cause);
|
|
@@ -1946,7 +1946,7 @@ export function createServer() {
|
|
|
1946
1946
|
totalMessages: validation.total,
|
|
1947
1947
|
truncated,
|
|
1948
1948
|
checker: checker === "stylelint" ? "stylelint_local" : "w3c_remote",
|
|
1949
|
-
}, cssValidationContent(messages, validation.total, validation.counts)
|
|
1949
|
+
}, cssValidationContent(messages, validation.total, validation.counts, checker === "stylelint" ? "stylelint_local" : "w3c_remote")
|
|
1950
1950
|
+ (checker === "stylelint" ? "\n\nOffline lint rules only; this does not establish W3C CSS conformance." : ""));
|
|
1951
1951
|
}
|
|
1952
1952
|
catch (cause) {
|