@html-validate/plugin-template 1.1.18 → 1.1.20

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.
@@ -1,5 +1,17 @@
1
1
  # @html-validate/plugin-template changelog
2
2
 
3
+ ## 1.1.20 (2026-09-06)
4
+
5
+ ### Bug Fixes
6
+
7
+ - **deps:** update dependency @html-validate/release-scripts to v7.6.11 ([7c89aa3](https://gitlab.com/html-validate/plugin-template/commit/7c89aa3d9bd476326f672c7c7a73e6de8fa8a6ae))
8
+
9
+ ## 1.1.19 (2026-09-05)
10
+
11
+ ### Bug Fixes
12
+
13
+ - **deps:** update dependency cloneman to v1.23.0 ([73adbc4](https://gitlab.com/html-validate/plugin-template/commit/73adbc47cdc651f3611d4b996b861fbfc652e87f))
14
+
3
15
  ## 1.1.18 (2026-09-04)
4
16
 
5
17
  ### Bug Fixes
@@ -49,14 +49,14 @@
49
49
  "devDependencies": {
50
50
  "@arethetypeswrong/cli": "0.18.5",
51
51
  "@html-validate/commitlint-config": "4.3.3",
52
- "@html-validate/eslint-config": "9.19.0",
53
- "@html-validate/eslint-config-jest": "9.19.1",
52
+ "@html-validate/eslint-config": "9.19.4",
53
+ "@html-validate/eslint-config-jest": "9.19.3",
54
54
  "@html-validate/eslint-config-typescript": "9.19.2",
55
55
  "@html-validate/eslint-config-typescript-typeinfo": "9.19.2",
56
56
  "@html-validate/jest-config": "3.18.2",
57
- "@html-validate/plugin-template": "1.1.18",
57
+ "@html-validate/plugin-template": "1.1.20",
58
58
  "@html-validate/prettier-config": "4.1.12",
59
- "@html-validate/release-scripts": "7.6.8",
59
+ "@html-validate/release-scripts": "7.6.11",
60
60
  "@jest/globals": "30.5.1",
61
61
  "@tsconfig/node22": "22.0.6",
62
62
  "@tsconfig/strictest": "2.0.8",
@@ -64,10 +64,10 @@
64
64
  "@types/node": "22.20.1",
65
65
  "@types/semver": "7.8.0",
66
66
  "@typescript/native": "npm:typescript@7.0.2",
67
- "cloneman": "1.22.0",
67
+ "cloneman": "1.23.0",
68
68
  "dts-bundle-generator": "9.5.1",
69
69
  "esbuild": "0.28.2",
70
- "html-validate": "11.13.0",
70
+ "html-validate": "11.14.0",
71
71
  "husky": "9.1.7",
72
72
  "jest": "30.5.1",
73
73
  "jest-environment-jsdom": "30.5.1",
@@ -1,6 +1,6 @@
1
1
  import path from "node:path";
2
2
  import { describe, expect, it } from "@jest/globals";
3
- import { type Report, HtmlValidate } from "html-validate";
3
+ import { type Result, HtmlValidate } from "html-validate";
4
4
  import metadata from "./elements";
5
5
  import Plugin from "./index";
6
6
 
@@ -19,9 +19,15 @@ const htmlvalidate = new HtmlValidate({
19
19
  },
20
20
  });
21
21
 
22
- function normalizePath(report: Report): void {
22
+ function normalizeReport(report: {
23
+ results: Array<Partial<Result> & Pick<Result, "filePath">>;
24
+ }): void {
23
25
  for (const result of report.results) {
24
26
  result.filePath = path.relative(rootDir, result.filePath);
27
+
28
+ /* these are not available until html-validate v11.14.0 */
29
+ delete result.fixableErrorCount;
30
+ delete result.fixableWarningCount;
25
31
  }
26
32
  }
27
33
 
@@ -34,14 +40,14 @@ describe("HTML elements", () => {
34
40
  it("valid markup", async () => {
35
41
  expect.assertions(1);
36
42
  const report = await htmlvalidate.validateFile(filename("valid"));
37
- normalizePath(report);
43
+ normalizeReport(report);
38
44
  expect(report.results).toMatchSnapshot();
39
45
  });
40
46
 
41
47
  it("invalid markup", async () => {
42
48
  expect.assertions(1);
43
49
  const report = await htmlvalidate.validateFile(filename("invalid"));
44
- normalizePath(report);
50
+ normalizeReport(report);
45
51
  expect(report.results).toMatchSnapshot();
46
52
  });
47
53
  });
package/index.js CHANGED
@@ -7,6 +7,7 @@
7
7
 
8
8
  const options = {
9
9
  ...packageJson.cloneman,
10
+ fileHash: "e0f43445f27a5c01f745308725a2c8f40ea85fcffefe5164a2e829418797833d",
10
11
  filesDir: path.join(import.meta.dirname, "files"),
11
12
  hooksDir: path.join(import.meta.dirname, "hooks"),
12
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@html-validate/plugin-template",
3
- "version": "1.1.18",
3
+ "version": "1.1.20",
4
4
  "description": "cloneman template for html-validate plugins",
5
5
  "keywords": [
6
6
  "cloneman",