@holmdigital/engine 2.5.4 → 2.5.6

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 CHANGED
@@ -5,6 +5,8 @@
5
5
  ![TypeScript](https://img.shields.io/badge/TypeScript-Ready-blue)
6
6
  [![Downloads](https://img.shields.io/npm/dm/@holmdigital/engine.svg)](https://www.npmjs.com/package/@holmdigital/engine)
7
7
 
8
+ > Full documentation and live scanner: [holmdigital.se/wcag-verktyg/engine](https://holmdigital.se/wcag-verktyg/engine)
9
+
8
10
  > Regulatory accessibility test engine with Virtual DOM, Shadow DOM support, and built-in legal compliance reporting.
9
11
 
10
12
  ## Why this package?
@@ -24,7 +26,7 @@ For a comprehensive guide on CLI flags, CI/CD integration, and configuration fil
24
26
  - **Regulatory Mapping**: Maps technical failures to EU laws (EN 301 549, EAA), international laws (Australian DDA), and **U.S. ADA (Title II state/local, Title III private sector) + Section 508 (federal agencies) + HHS Section 504 (HHS-funded healthcare/research)**.
25
27
  - **Sector-Aware US Routing**: `--country US --sector public` references **ADA Title II + Section 508** (DOJ enforcement); `--sector private` references **ADA Title III + HHS Section 504** (DOJ + HHS OCR enforcement) — covering both general public-accommodations exposure and HHS-funded healthcare obligations in a single statement.
26
28
  - **HTML Structure Validation**: Built-in `html-validate` checks to prevent false positives/negatives.
27
- - **Internationalization (i18n)**:
29
+ - **Internationalization (i18n)**: 12 languages total; locale file counts differ by subsystem (9 CLI output files, 16 statement templates including English variants).
28
30
  - **CLI output**: 9 locale files (`en`, `sv`, `no`, `fi`, `da`, `de`, `fr`, `es`, `nl`) + 4 English aliases (`en-gb`, `en-us`, `en-ca`, `en-au`) that fall back to `en`.
29
31
  - **Statement templates**: 16 locale files — adds `it`, `pt`, `pl`, and separate templates for each English variant (`en-gb`, `en-us`, `en-ca`, `en-au`).
30
32
  - **Template-Driven Accessibility Statements**: Generates modern, glassmorphism-styled statements using externalized JSON templates for each language, allowing for professional legal phrasing and deep customization.
@@ -138,7 +138,7 @@ var HtmlValidator = class {
138
138
  // src/core/regulatory-scanner.ts
139
139
  import { readFileSync } from "fs";
140
140
  function getEngineVersion() {
141
- return "2.5.4";
141
+ return "2.5.6";
142
142
  }
143
143
  function getStandardsVersion() {
144
144
  try {
package/dist/cli/index.js CHANGED
@@ -783,7 +783,7 @@ var HtmlValidator = class {
783
783
  // src/core/regulatory-scanner.ts
784
784
  var import_node_fs = require("fs");
785
785
  function getEngineVersion() {
786
- return "2.5.4";
786
+ return "2.5.6";
787
787
  }
788
788
  function getStandardsVersion() {
789
789
  try {
@@ -7,7 +7,7 @@ import {
7
7
  generateStatement,
8
8
  generateStatementContent,
9
9
  getEngineVersion
10
- } from "../chunk-TJN6AU7G.mjs";
10
+ } from "../chunk-YI5WLSPC.mjs";
11
11
  import {
12
12
  getCurrentLang,
13
13
  setLanguage,
package/dist/index.js CHANGED
@@ -677,7 +677,7 @@ var HtmlValidator = class {
677
677
  // src/core/regulatory-scanner.ts
678
678
  var import_node_fs = require("fs");
679
679
  function getEngineVersion() {
680
- return "2.5.4";
680
+ return "2.5.6";
681
681
  }
682
682
  function getStandardsVersion() {
683
683
  try {
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  generateStatement,
6
6
  generateStatementContent,
7
7
  getEngineVersion
8
- } from "./chunk-TJN6AU7G.mjs";
8
+ } from "./chunk-YI5WLSPC.mjs";
9
9
  import {
10
10
  getCurrentLang,
11
11
  setLanguage,
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@holmdigital/engine",
3
- "version": "2.5.4",
3
+ "version": "2.5.6",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
- "description": "Regulatory accessibility test engine with Virtual DOM and Shadow DOM support",
8
+ "description": "WCAG and EN 301 549 accessibility test engine that maps failures to national law and enforcement bodies across 17 jurisdictions. CLI and CI reporting.",
9
+ "homepage": "https://wiki.holmdigital.se",
9
10
  "repository": {
10
11
  "type": "git",
11
12
  "url": "git+https://github.com/holmdigital/a11y-hd.git",
@@ -60,14 +61,17 @@
60
61
  "accessibility",
61
62
  "a11y",
62
63
  "wcag",
64
+ "en-301-549",
63
65
  "en301549",
66
+ "eaa",
67
+ "accessibility-testing",
68
+ "cli",
64
69
  "compliance",
65
70
  "automation",
66
71
  "testing",
67
72
  "regulatory",
68
73
  "html-validate",
69
74
  "axe-core",
70
- "ead",
71
75
  "european-accessibility-act",
72
76
  "holmdigital",
73
77
  "section508",
@@ -78,8 +82,8 @@
78
82
  "author": "Holm Digital AB",
79
83
  "license": "MIT",
80
84
  "dependencies": {
81
- "@holmdigital/components": "^2.7.0",
82
- "@holmdigital/standards": "^2.5.3",
85
+ "@holmdigital/components": "^2.7.2",
86
+ "@holmdigital/standards": "^2.6.1",
83
87
  "axe-core": "^4.11.1",
84
88
  "chalk": "^5.3.0",
85
89
  "commander": "^12.1.0",