@holmdigital/engine 2.13.0 → 3.0.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/README.md CHANGED
@@ -71,6 +71,8 @@ npx hd-a11y-scan <url> [options]
71
71
  | `--sector <type>` | Sector type: `public` (WAD) or `private` (EAA). Default: `public` |
72
72
  | `--viewport <size>` | Set viewport size (`mobile`, `tablet`, `desktop`, or custom `1024x768`) |
73
73
  | `--generate-tests` | Generate Pseudo-Automation tests |
74
+ | `--junit <path>` | Generate a JUnit XML report for CI dashboards |
75
+ | `--format <type>` | Output format for statement (`html`, `md`). Default: `html` |
74
76
  | `--invalid-https-cert` | Allow scanning sites with invalid/self-signed HTTPS certificates ⚠️ |
75
77
  | `--api-key <key>` | API Key for HolmDigital Cloud |
76
78
  | `--cloud-url <url>` | Custom Cloud API Endpoint (default: cloud.holmdigital.se) |
@@ -127,9 +129,9 @@ npx hd-a11y-scan https://hospital.example.com --country US --sector private --st
127
129
  "url": "https://example.com",
128
130
  "timestamp": "2026-01-13T17:05:11.749Z",
129
131
  "metadata": {
130
- "engineVersion": "2.8.0",
131
- "axeCoreVersion": "4.11.1",
132
- "standardsVersion": "2.8.0",
132
+ "engineVersion": "2.13.0",
133
+ "axeCoreVersion": "4.12.1",
134
+ "standardsVersion": "2.10.0",
133
135
  "scanDuration": 2891,
134
136
  "pageTitle": "Example Domain",
135
137
  "pageLanguage": "en"
@@ -201,7 +201,7 @@ var HtmlValidator = class {
201
201
  // src/core/regulatory-scanner.ts
202
202
  import { readFileSync } from "fs";
203
203
  function getEngineVersion() {
204
- return "2.13.0";
204
+ return "3.0.1";
205
205
  }
206
206
  function getStandardsVersion() {
207
207
  try {
package/dist/cli/index.js CHANGED
@@ -6,8 +6,13 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
7
7
  var __getProtoOf = Object.getPrototypeOf;
8
8
  var __hasOwnProp = Object.prototype.hasOwnProperty;
9
- var __esm = (fn, res) => function __init() {
10
- return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
9
+ var __esm = (fn, res, err) => function __init() {
10
+ if (err) throw err[0];
11
+ try {
12
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
13
+ } catch (e) {
14
+ throw err = [e], e;
15
+ }
11
16
  };
12
17
  var __export = (target, all) => {
13
18
  for (var name in all)
@@ -1348,7 +1353,7 @@ async function probeWithoutJavaScript(browser, options) {
1348
1353
  // src/core/regulatory-scanner.ts
1349
1354
  var import_node_fs = require("fs");
1350
1355
  function getEngineVersion() {
1351
- return "2.13.0";
1356
+ return "3.0.1";
1352
1357
  }
1353
1358
  function getStandardsVersion() {
1354
1359
  try {
@@ -8,7 +8,7 @@ import {
8
8
  generateStatementContent,
9
9
  getEngineVersion,
10
10
  isBadgeWithheldByRobustness
11
- } from "../chunk-ZPNGG5KS.mjs";
11
+ } from "../chunk-AWUGOYYR.mjs";
12
12
  import {
13
13
  groupReportsByRule,
14
14
  impactBreakdown,
package/dist/index.js CHANGED
@@ -5,8 +5,13 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __getProtoOf = Object.getPrototypeOf;
7
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __esm = (fn, res) => function __init() {
9
- return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
8
+ var __esm = (fn, res, err) => function __init() {
9
+ if (err) throw err[0];
10
+ try {
11
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
12
+ } catch (e) {
13
+ throw err = [e], e;
14
+ }
10
15
  };
11
16
  var __export = (target, all) => {
12
17
  for (var name in all)
@@ -1078,7 +1083,7 @@ async function probeWithoutJavaScript(browser, options) {
1078
1083
  // src/core/regulatory-scanner.ts
1079
1084
  var import_node_fs = require("fs");
1080
1085
  function getEngineVersion() {
1081
- return "2.13.0";
1086
+ return "3.0.1";
1082
1087
  }
1083
1088
  function getStandardsVersion() {
1084
1089
  try {
package/dist/index.mjs CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  generateStatementContent,
10
10
  getEngineVersion,
11
11
  probeWithoutJavaScript
12
- } from "./chunk-ZPNGG5KS.mjs";
12
+ } from "./chunk-AWUGOYYR.mjs";
13
13
  import {
14
14
  getCurrentLang,
15
15
  setLanguage,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@holmdigital/engine",
3
- "version": "2.13.0",
3
+ "version": "3.0.1",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -81,28 +81,31 @@
81
81
  ],
82
82
  "author": "Holm Digital AB",
83
83
  "license": "MIT",
84
+ "engines": {
85
+ "node": ">=22.22.0"
86
+ },
84
87
  "dependencies": {
85
- "@holmdigital/components": "^3.0.0",
86
- "@holmdigital/standards": "^2.10.0",
87
- "axe-core": "^4.12.1",
88
- "chalk": "^5.3.0",
88
+ "@holmdigital/components": "^4.0.0",
89
+ "@holmdigital/standards": "^3.0.0",
90
+ "axe-core": "^4.13.0",
91
+ "chalk": "^6.0.0",
89
92
  "commander": "^15.0.0",
90
93
  "cosmiconfig": "^9.0.2",
91
- "html-validate": "11.5.4",
94
+ "html-validate": "11.5.6",
92
95
  "ora": "^9.4.1",
93
- "puppeteer": "25.2.1",
94
- "react": "^18.3.1 || ^19.0.0",
95
- "react-dom": "^18.3.1 || ^19.0.0",
96
- "ws": "^8.18.0"
96
+ "puppeteer": "25.4.0",
97
+ "react": "^19.2.8",
98
+ "react-dom": "^19.2.8",
99
+ "ws": "^8.21.1"
97
100
  },
98
101
  "devDependencies": {
99
102
  "@types/cosmiconfig": "^6.0.3",
100
- "@types/node": "^26.0.1",
103
+ "@types/node": "^26.1.1",
101
104
  "@types/react": "^18.3.1 || ^19.0.0",
102
105
  "@types/react-dom": "^18.3.1 || ^19.0.0",
103
106
  "@types/ws": "^8.5.13",
104
107
  "tsup": "^8.3.5",
105
108
  "typescript": "^6.0.3",
106
- "vitest": "^4.1.9"
109
+ "vitest": "^4.1.10"
107
110
  }
108
111
  }