@holmdigital/engine 2.3.0 → 2.3.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
@@ -67,6 +67,7 @@ npx hd-a11y-scan <url> [options]
67
67
  | `--invalid-https-cert` | Allow scanning sites with invalid/self-signed HTTPS certificates ⚠️ |
68
68
  | `--api-key <key>` | API Key for HolmDigital Cloud |
69
69
  | `--cloud-url <url>` | Custom Cloud API Endpoint (default: cloud.holmdigital.se) |
70
+ | `--light` | Fast score-only mode — skips HTML validation and detailed legal mapping |
70
71
 
71
72
  ### 🏆 Accessibility Badge
72
73
  If your site achieves a **100% score**, the CLI will generate a [Shields.io](https://shields.io/) badge that you can add to your project's README:
@@ -84,6 +85,12 @@ npx hd-a11y-scan https://example.com --ci --threshold critical
84
85
 
85
86
  # Full JSON output with metadata
86
87
  npx hd-a11y-scan https://example.com --json
88
+
89
+ # Quick score check (ideal for APIs and dashboards)
90
+ npx hd-a11y-scan https://example.com --light
91
+
92
+ # Light scan with JSON output (perfect for scan-server integration)
93
+ npx hd-a11y-scan https://example.com --light --json
87
94
  ```
88
95
 
89
96
  ## JSON Output
@@ -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.3.0";
141
+ return "2.3.1";
142
142
  }
143
143
  function getStandardsVersion() {
144
144
  try {
package/dist/cli/index.js CHANGED
@@ -782,7 +782,7 @@ var HtmlValidator = class {
782
782
  // src/core/regulatory-scanner.ts
783
783
  var import_node_fs = require("fs");
784
784
  function getEngineVersion() {
785
- return "2.3.0";
785
+ return "2.3.1";
786
786
  }
787
787
  function getStandardsVersion() {
788
788
  try {
@@ -7,7 +7,7 @@ import {
7
7
  generateStatement,
8
8
  generateStatementContent,
9
9
  getEngineVersion
10
- } from "../chunk-IOEDG67O.mjs";
10
+ } from "../chunk-2TQMD2NR.mjs";
11
11
  import {
12
12
  getCurrentLang,
13
13
  setLanguage,
package/dist/index.js CHANGED
@@ -676,7 +676,7 @@ var HtmlValidator = class {
676
676
  // src/core/regulatory-scanner.ts
677
677
  var import_node_fs = require("fs");
678
678
  function getEngineVersion() {
679
- return "2.3.0";
679
+ return "2.3.1";
680
680
  }
681
681
  function getStandardsVersion() {
682
682
  try {
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  generateStatement,
6
6
  generateStatementContent,
7
7
  getEngineVersion
8
- } from "./chunk-IOEDG67O.mjs";
8
+ } from "./chunk-2TQMD2NR.mjs";
9
9
  import {
10
10
  getCurrentLang,
11
11
  setLanguage,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@holmdigital/engine",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -69,15 +69,15 @@
69
69
  "html-validate": "10.4.0",
70
70
  "ora": "^8.1.1",
71
71
  "puppeteer": "23.10.4",
72
- "react": "^18.3.1",
73
- "react-dom": "^18.3.1",
72
+ "react": "^18.3.1 || ^19.0.0",
73
+ "react-dom": "^18.3.1 || ^19.0.0",
74
74
  "ws": "^8.18.0"
75
75
  },
76
76
  "devDependencies": {
77
77
  "@types/cosmiconfig": "^5.0.3",
78
78
  "@types/node": "^22.10.2",
79
- "@types/react": "^18.3.1",
80
- "@types/react-dom": "^18.3.1",
79
+ "@types/react": "^18.3.1 || ^19.0.0",
80
+ "@types/react-dom": "^18.3.1 || ^19.0.0",
81
81
  "@types/ws": "^8.5.13",
82
82
  "tsup": "^8.3.5",
83
83
  "typescript": "^5.7.2",