pagetrace 0.8.0 → 0.8.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/CHANGELOG.md +8 -0
- package/dist/cli.cjs +3 -2
- package/dist/cli.js +3 -2
- package/dist/index.cjs +2 -1
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
While the version is below 1.0.0, breaking changes ship in a minor release.
|
|
8
8
|
|
|
9
|
+
## [0.8.1] - 2026-09-06
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- The report summary said "1 findings across 13 pages". Both counts are now
|
|
14
|
+
pluralised properly.
|
|
15
|
+
|
|
9
16
|
## [0.8.0] - 2026-09-06
|
|
10
17
|
|
|
11
18
|
### Fixed
|
|
@@ -249,6 +256,7 @@ Initial release. `snapshot`, `check` and `audit` commands; filesystem and HTTP
|
|
|
249
256
|
crawling; diff classified by transition; absolute, cross-page and hreflang audit
|
|
250
257
|
rules; pretty, JSON, markdown, GitHub and HTML reporters.
|
|
251
258
|
|
|
259
|
+
[0.8.1]: https://github.com/shyamexe/pagetrace/compare/v0.8.0...v0.8.1
|
|
252
260
|
[0.8.0]: https://github.com/shyamexe/pagetrace/compare/v0.7.0...v0.8.0
|
|
253
261
|
[0.7.0]: https://github.com/shyamexe/pagetrace/compare/v0.6.0...v0.7.0
|
|
254
262
|
[0.6.0]: https://github.com/shyamexe/pagetrace/compare/v0.5.0...v0.6.0
|
package/dist/cli.cjs
CHANGED
|
@@ -1030,9 +1030,10 @@ function formatAuditPretty(groups, meta, columns = 80) {
|
|
|
1030
1030
|
const counted = ["error", "warn", "info"].filter((s) => issues[s] > 0).map((s) => BADGE[s](`${issues[s]} ${issues[s] === 1 ? SINGULAR[s] : PLURAL[s]}`)).join(import_picocolors.default.dim(" \xB7 "));
|
|
1031
1031
|
lines.push(import_picocolors.default.dim("\u2500".repeat(width)));
|
|
1032
1032
|
lines.push(`${import_picocolors.default.bold(`${total} issue${total === 1 ? "" : "s"}`)} ${counted}`);
|
|
1033
|
+
const found = instances.error + instances.warn + instances.info;
|
|
1033
1034
|
lines.push(
|
|
1034
1035
|
import_picocolors.default.dim(
|
|
1035
|
-
`${
|
|
1036
|
+
`${found} finding${found === 1 ? "" : "s"} across ${meta.pageCount} page${meta.pageCount === 1 ? "" : "s"}`
|
|
1036
1037
|
)
|
|
1037
1038
|
);
|
|
1038
1039
|
lines.push("");
|
|
@@ -1645,7 +1646,7 @@ cli.command("audit", "Audit a site as it stands, with explanations and fixes").o
|
|
|
1645
1646
|
}
|
|
1646
1647
|
});
|
|
1647
1648
|
cli.help();
|
|
1648
|
-
cli.version("0.8.
|
|
1649
|
+
cli.version("0.8.1");
|
|
1649
1650
|
async function main() {
|
|
1650
1651
|
try {
|
|
1651
1652
|
cli.parse(process.argv, { run: false });
|
package/dist/cli.js
CHANGED
|
@@ -1007,9 +1007,10 @@ function formatAuditPretty(groups, meta, columns = 80) {
|
|
|
1007
1007
|
const counted = ["error", "warn", "info"].filter((s) => issues[s] > 0).map((s) => BADGE[s](`${issues[s]} ${issues[s] === 1 ? SINGULAR[s] : PLURAL[s]}`)).join(pc.dim(" \xB7 "));
|
|
1008
1008
|
lines.push(pc.dim("\u2500".repeat(width)));
|
|
1009
1009
|
lines.push(`${pc.bold(`${total} issue${total === 1 ? "" : "s"}`)} ${counted}`);
|
|
1010
|
+
const found = instances.error + instances.warn + instances.info;
|
|
1010
1011
|
lines.push(
|
|
1011
1012
|
pc.dim(
|
|
1012
|
-
`${
|
|
1013
|
+
`${found} finding${found === 1 ? "" : "s"} across ${meta.pageCount} page${meta.pageCount === 1 ? "" : "s"}`
|
|
1013
1014
|
)
|
|
1014
1015
|
);
|
|
1015
1016
|
lines.push("");
|
|
@@ -1622,7 +1623,7 @@ cli.command("audit", "Audit a site as it stands, with explanations and fixes").o
|
|
|
1622
1623
|
}
|
|
1623
1624
|
});
|
|
1624
1625
|
cli.help();
|
|
1625
|
-
cli.version("0.8.
|
|
1626
|
+
cli.version("0.8.1");
|
|
1626
1627
|
async function main() {
|
|
1627
1628
|
try {
|
|
1628
1629
|
cli.parse(process.argv, { run: false });
|
package/dist/index.cjs
CHANGED
|
@@ -1275,9 +1275,10 @@ function formatAuditPretty(groups, meta, columns = 80) {
|
|
|
1275
1275
|
const counted = ["error", "warn", "info"].filter((s) => issues[s] > 0).map((s) => BADGE[s](`${issues[s]} ${issues[s] === 1 ? SINGULAR[s] : PLURAL[s]}`)).join(import_picocolors.default.dim(" \xB7 "));
|
|
1276
1276
|
lines.push(import_picocolors.default.dim("\u2500".repeat(width)));
|
|
1277
1277
|
lines.push(`${import_picocolors.default.bold(`${total} issue${total === 1 ? "" : "s"}`)} ${counted}`);
|
|
1278
|
+
const found = instances.error + instances.warn + instances.info;
|
|
1278
1279
|
lines.push(
|
|
1279
1280
|
import_picocolors.default.dim(
|
|
1280
|
-
`${
|
|
1281
|
+
`${found} finding${found === 1 ? "" : "s"} across ${meta.pageCount} page${meta.pageCount === 1 ? "" : "s"}`
|
|
1281
1282
|
)
|
|
1282
1283
|
);
|
|
1283
1284
|
lines.push("");
|
package/dist/index.js
CHANGED
|
@@ -1204,9 +1204,10 @@ function formatAuditPretty(groups, meta, columns = 80) {
|
|
|
1204
1204
|
const counted = ["error", "warn", "info"].filter((s) => issues[s] > 0).map((s) => BADGE[s](`${issues[s]} ${issues[s] === 1 ? SINGULAR[s] : PLURAL[s]}`)).join(pc.dim(" \xB7 "));
|
|
1205
1205
|
lines.push(pc.dim("\u2500".repeat(width)));
|
|
1206
1206
|
lines.push(`${pc.bold(`${total} issue${total === 1 ? "" : "s"}`)} ${counted}`);
|
|
1207
|
+
const found = instances.error + instances.warn + instances.info;
|
|
1207
1208
|
lines.push(
|
|
1208
1209
|
pc.dim(
|
|
1209
|
-
`${
|
|
1210
|
+
`${found} finding${found === 1 ? "" : "s"} across ${meta.pageCount} page${meta.pageCount === 1 ? "" : "s"}`
|
|
1210
1211
|
)
|
|
1211
1212
|
);
|
|
1212
1213
|
lines.push("");
|