@holmdigital/engine 2.13.0 → 3.0.0
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 +5 -3
- package/dist/{chunk-ZPNGG5KS.mjs → chunk-F2GV3JGS.mjs} +1 -1
- package/dist/cli/index.js +8 -3
- package/dist/cli/index.mjs +1 -1
- package/dist/index.js +8 -3
- package/dist/index.mjs +1 -1
- package/package.json +14 -11
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.
|
|
131
|
-
"axeCoreVersion": "4.
|
|
132
|
-
"standardsVersion": "2.
|
|
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"
|
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
|
-
|
|
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 "
|
|
1356
|
+
return "3.0.0";
|
|
1352
1357
|
}
|
|
1353
1358
|
function getStandardsVersion() {
|
|
1354
1359
|
try {
|
package/dist/cli/index.mjs
CHANGED
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
|
-
|
|
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 "
|
|
1086
|
+
return "3.0.0";
|
|
1082
1087
|
}
|
|
1083
1088
|
function getStandardsVersion() {
|
|
1084
1089
|
try {
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@holmdigital/engine",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
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": "^
|
|
86
|
-
"@holmdigital/standards": "^
|
|
88
|
+
"@holmdigital/components": "^4.0.0",
|
|
89
|
+
"@holmdigital/standards": "^3.0.0",
|
|
87
90
|
"axe-core": "^4.12.1",
|
|
88
|
-
"chalk": "^
|
|
91
|
+
"chalk": "^6.0.0",
|
|
89
92
|
"commander": "^15.0.0",
|
|
90
93
|
"cosmiconfig": "^9.0.2",
|
|
91
|
-
"html-validate": "11.5.
|
|
94
|
+
"html-validate": "11.5.6",
|
|
92
95
|
"ora": "^9.4.1",
|
|
93
|
-
"puppeteer": "25.
|
|
94
|
-
"react": "^
|
|
95
|
-
"react-dom": "^
|
|
96
|
-
"ws": "^8.
|
|
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.
|
|
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.
|
|
109
|
+
"vitest": "^4.1.10"
|
|
107
110
|
}
|
|
108
111
|
}
|