@holmdigital/engine 4.0.2 → 4.1.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/dist/{chunk-7AVTGVYA.mjs → chunk-OLMQRK7O.mjs} +13 -3
- package/dist/cli/index.js +13 -3
- package/dist/cli/index.mjs +1 -1
- package/dist/index.d.mts +94 -88
- package/dist/index.d.ts +94 -88
- package/dist/index.js +13 -3
- package/dist/index.mjs +1 -1
- package/package.json +13 -13
|
@@ -399,7 +399,7 @@ function isInterstitialPage(pageTitle, hasMetaRefresh, bodyTextLength) {
|
|
|
399
399
|
return false;
|
|
400
400
|
}
|
|
401
401
|
function getEngineVersion() {
|
|
402
|
-
return "4.
|
|
402
|
+
return "4.1.1";
|
|
403
403
|
}
|
|
404
404
|
function getStandardsVersion() {
|
|
405
405
|
try {
|
|
@@ -764,7 +764,9 @@ var RegulatoryScanner = class {
|
|
|
764
764
|
const fallback = FALLBACK_STRINGS[lang] || FALLBACK_STRINGS["en"];
|
|
765
765
|
reports.push({
|
|
766
766
|
ruleId: violation.id,
|
|
767
|
-
|
|
767
|
+
// Kriteriet ur axes egna wcagNNN-taggar, som i light-läget (Intern #30),
|
|
768
|
+
// innan 'Unknown'. Lägsta kriteriet vinner, som i selectMappedRuleId.
|
|
769
|
+
wcagCriteria: isBestPractice ? "Best Practice" : criteriaFromTags(violation.tags).sort(compareCriteria)[0] || "Unknown",
|
|
768
770
|
// Intern #39: omappat fynd → EN-9.x ur axes egen tagg som fallback
|
|
769
771
|
// före 'Unknown'. Best practice behåller 'N/A'. Rör aldrig matchade.
|
|
770
772
|
en301549Criteria: isBestPractice ? "N/A" : en301549FromTags(violation.tags) || "Unknown",
|
|
@@ -788,7 +790,15 @@ var RegulatoryScanner = class {
|
|
|
788
790
|
requiresManualCheck: false,
|
|
789
791
|
pseudoAutomation: false,
|
|
790
792
|
complexity: "moderate"
|
|
791
|
-
}
|
|
793
|
+
},
|
|
794
|
+
// Felnoderna följer med även när regeln saknar mappning. Fyndet räknas
|
|
795
|
+
// in i score, och utan noderna ser kunden avdraget men inte var felet
|
|
796
|
+
// sitter (label-content-name-mismatch i axe-core 4.14, 2026-11-10).
|
|
797
|
+
failingNodes: violation.nodes.map((node) => ({
|
|
798
|
+
html: node.html,
|
|
799
|
+
target: node.target.join(" "),
|
|
800
|
+
failureSummary: node.failureSummary
|
|
801
|
+
}))
|
|
792
802
|
});
|
|
793
803
|
}
|
|
794
804
|
}
|
package/dist/cli/index.js
CHANGED
|
@@ -1768,7 +1768,7 @@ function isInterstitialPage(pageTitle, hasMetaRefresh, bodyTextLength) {
|
|
|
1768
1768
|
return false;
|
|
1769
1769
|
}
|
|
1770
1770
|
function getEngineVersion() {
|
|
1771
|
-
return "4.
|
|
1771
|
+
return "4.1.1";
|
|
1772
1772
|
}
|
|
1773
1773
|
function getStandardsVersion() {
|
|
1774
1774
|
try {
|
|
@@ -2133,7 +2133,9 @@ var RegulatoryScanner = class {
|
|
|
2133
2133
|
const fallback = FALLBACK_STRINGS[lang] || FALLBACK_STRINGS["en"];
|
|
2134
2134
|
reports.push({
|
|
2135
2135
|
ruleId: violation.id,
|
|
2136
|
-
|
|
2136
|
+
// Kriteriet ur axes egna wcagNNN-taggar, som i light-läget (Intern #30),
|
|
2137
|
+
// innan 'Unknown'. Lägsta kriteriet vinner, som i selectMappedRuleId.
|
|
2138
|
+
wcagCriteria: isBestPractice ? "Best Practice" : criteriaFromTags(violation.tags).sort(compareCriteria)[0] || "Unknown",
|
|
2137
2139
|
// Intern #39: omappat fynd → EN-9.x ur axes egen tagg som fallback
|
|
2138
2140
|
// före 'Unknown'. Best practice behåller 'N/A'. Rör aldrig matchade.
|
|
2139
2141
|
en301549Criteria: isBestPractice ? "N/A" : en301549FromTags(violation.tags) || "Unknown",
|
|
@@ -2157,7 +2159,15 @@ var RegulatoryScanner = class {
|
|
|
2157
2159
|
requiresManualCheck: false,
|
|
2158
2160
|
pseudoAutomation: false,
|
|
2159
2161
|
complexity: "moderate"
|
|
2160
|
-
}
|
|
2162
|
+
},
|
|
2163
|
+
// Felnoderna följer med även när regeln saknar mappning. Fyndet räknas
|
|
2164
|
+
// in i score, och utan noderna ser kunden avdraget men inte var felet
|
|
2165
|
+
// sitter (label-content-name-mismatch i axe-core 4.14, 2026-11-10).
|
|
2166
|
+
failingNodes: violation.nodes.map((node) => ({
|
|
2167
|
+
html: node.html,
|
|
2168
|
+
target: node.target.join(" "),
|
|
2169
|
+
failureSummary: node.failureSummary
|
|
2170
|
+
}))
|
|
2161
2171
|
});
|
|
2162
2172
|
}
|
|
2163
2173
|
}
|
package/dist/cli/index.mjs
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -155,95 +155,100 @@ declare class PseudoAutomationEngine {
|
|
|
155
155
|
generateManualChecklist(report: RegulatoryReport): string;
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
158
|
+
declare namespace cli {
|
|
159
|
+
let title: string;
|
|
160
|
+
let scanning: string;
|
|
161
|
+
let initializing: string;
|
|
162
|
+
let analyzing: string;
|
|
163
|
+
let complete: string;
|
|
164
|
+
let generating_pdf: string;
|
|
165
|
+
let pdf_saved: string;
|
|
166
|
+
let scan_failed: string;
|
|
167
|
+
let critical_failure: string;
|
|
168
|
+
let generating_statement: string;
|
|
169
|
+
let statement_saved: string;
|
|
170
|
+
let score: string;
|
|
171
|
+
let status: string;
|
|
172
|
+
let not_compliant: string;
|
|
173
|
+
let viewport: string;
|
|
174
|
+
let prescriptive_fix: string;
|
|
175
|
+
let use_component: string;
|
|
176
|
+
let pseudo_tests: string;
|
|
177
|
+
let test_for: string;
|
|
178
|
+
let junit_saved: string;
|
|
179
|
+
let noscript_heading: string;
|
|
180
|
+
let noscript_coverage: string;
|
|
181
|
+
let noscript_empty: string;
|
|
182
|
+
let noscript_partial: string;
|
|
183
|
+
let noscript_ok: string;
|
|
184
|
+
let noscript_unknown: string;
|
|
185
|
+
let noscript_fallback: string;
|
|
186
|
+
let noscript_no_fallback: string;
|
|
187
|
+
let noscript_impact: string;
|
|
188
|
+
let noscript_advisory: string;
|
|
189
|
+
let badge_withheld: string;
|
|
190
|
+
let inconclusive_headline: string;
|
|
191
|
+
let inconclusive_detail: string;
|
|
192
|
+
}
|
|
193
|
+
declare namespace report {
|
|
194
|
+
let title_1: string;
|
|
195
|
+
export { title_1 as title };
|
|
196
|
+
export let generated: string;
|
|
197
|
+
export let scan_target: string;
|
|
198
|
+
export let overall_score: string;
|
|
199
|
+
export let critical_issues: string;
|
|
200
|
+
export let high_issues: string;
|
|
201
|
+
export let total_issues: string;
|
|
202
|
+
export let html_errors: string;
|
|
203
|
+
export let detailed_violations: string;
|
|
204
|
+
export let needs_review_title: string;
|
|
205
|
+
export let needs_review_note: string;
|
|
206
|
+
let prescriptive_fix_1: string;
|
|
207
|
+
export { prescriptive_fix_1 as prescriptive_fix };
|
|
208
|
+
export let use: string;
|
|
209
|
+
export let footer: string;
|
|
210
|
+
export let inconclusive_title: string;
|
|
211
|
+
let inconclusive_detail_1: string;
|
|
212
|
+
export { inconclusive_detail_1 as inconclusive_detail };
|
|
213
|
+
}
|
|
214
|
+
declare namespace plain {
|
|
215
|
+
let what_happens: string;
|
|
216
|
+
let who_is_affected: string;
|
|
217
|
+
let business_impact: string;
|
|
218
|
+
let how_to_fix: string;
|
|
219
|
+
let badge_stoppar_kop: string;
|
|
220
|
+
let badge_hindrar: string;
|
|
221
|
+
let badge_forsamrar: string;
|
|
222
|
+
let badge_putsning: string;
|
|
223
|
+
let intro_framing: string;
|
|
224
|
+
let sorted_by: string;
|
|
225
|
+
let intro_found: string;
|
|
226
|
+
let intro_unit_singular: string;
|
|
227
|
+
let intro_unit_plural: string;
|
|
228
|
+
let closing: string;
|
|
229
|
+
let empty_state: string;
|
|
230
|
+
let inconclusive: string;
|
|
231
|
+
let report_title: string;
|
|
232
|
+
let report_tagline: string;
|
|
233
|
+
let attribution: string;
|
|
234
|
+
let fallback_framing: string;
|
|
235
|
+
let occurrences: string;
|
|
236
|
+
let needs_review_heading: string;
|
|
237
|
+
let needs_review_intro: string;
|
|
238
|
+
let gate_blocked: string;
|
|
239
|
+
let gate_supported: string;
|
|
240
|
+
let gate_howto: string;
|
|
241
|
+
let gate_fallback: string;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
declare const export_default: {
|
|
246
|
+
cli: typeof cli;
|
|
247
|
+
report: typeof report;
|
|
248
|
+
plain: typeof plain;
|
|
244
249
|
};
|
|
245
250
|
|
|
246
|
-
type LocaleData = typeof
|
|
251
|
+
type LocaleData = typeof export_default;
|
|
247
252
|
type Paths<T> = T extends object ? {
|
|
248
253
|
[K in keyof T]: `${Exclude<K, symbol>}${"" | `.${Paths<T[K]>}`}`;
|
|
249
254
|
}[keyof T] : never;
|
|
@@ -270,4 +275,5 @@ interface StatementMetadata {
|
|
|
270
275
|
declare function generateStatementContent(result: ScanResult, lang?: string, format?: 'html' | 'md' | 'markdown', metadata?: StatementMetadata): Promise<string>;
|
|
271
276
|
declare function generateStatement(result: ScanResult, outputPath: string, lang?: string, format?: 'html' | 'md' | 'markdown', metadata?: StatementMetadata): Promise<void>;
|
|
272
277
|
|
|
273
|
-
export { NOSCRIPT_EMPTY_THRESHOLD, NOSCRIPT_PARTIAL_THRESHOLD,
|
|
278
|
+
export { NOSCRIPT_EMPTY_THRESHOLD, NOSCRIPT_PARTIAL_THRESHOLD, PseudoAutomationEngine, RegulatoryScanner, VirtualDOMBuilder, criteriaFromTags, en301549FromTags, evaluateNoScriptCoverage, generateStatement, generateStatementContent, getCurrentLang, getEngineVersion, getSelfMatchingRuleIds, getStandardsVersion, isInterstitialPage, probeWithoutJavaScript, selectMappedRuleId, setLanguage, t, wcagTagToCriterion };
|
|
279
|
+
export type { NoScriptProbeMeasurement, NoScriptProbeOptions, NoScriptResult, NoScriptVerdict, ScanMetadata, ScanResult, ScannerOptions, StatementMetadata, VirtualDOMConfig, VirtualNode };
|
package/dist/index.d.ts
CHANGED
|
@@ -155,95 +155,100 @@ declare class PseudoAutomationEngine {
|
|
|
155
155
|
generateManualChecklist(report: RegulatoryReport): string;
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
158
|
+
declare namespace cli {
|
|
159
|
+
let title: string;
|
|
160
|
+
let scanning: string;
|
|
161
|
+
let initializing: string;
|
|
162
|
+
let analyzing: string;
|
|
163
|
+
let complete: string;
|
|
164
|
+
let generating_pdf: string;
|
|
165
|
+
let pdf_saved: string;
|
|
166
|
+
let scan_failed: string;
|
|
167
|
+
let critical_failure: string;
|
|
168
|
+
let generating_statement: string;
|
|
169
|
+
let statement_saved: string;
|
|
170
|
+
let score: string;
|
|
171
|
+
let status: string;
|
|
172
|
+
let not_compliant: string;
|
|
173
|
+
let viewport: string;
|
|
174
|
+
let prescriptive_fix: string;
|
|
175
|
+
let use_component: string;
|
|
176
|
+
let pseudo_tests: string;
|
|
177
|
+
let test_for: string;
|
|
178
|
+
let junit_saved: string;
|
|
179
|
+
let noscript_heading: string;
|
|
180
|
+
let noscript_coverage: string;
|
|
181
|
+
let noscript_empty: string;
|
|
182
|
+
let noscript_partial: string;
|
|
183
|
+
let noscript_ok: string;
|
|
184
|
+
let noscript_unknown: string;
|
|
185
|
+
let noscript_fallback: string;
|
|
186
|
+
let noscript_no_fallback: string;
|
|
187
|
+
let noscript_impact: string;
|
|
188
|
+
let noscript_advisory: string;
|
|
189
|
+
let badge_withheld: string;
|
|
190
|
+
let inconclusive_headline: string;
|
|
191
|
+
let inconclusive_detail: string;
|
|
192
|
+
}
|
|
193
|
+
declare namespace report {
|
|
194
|
+
let title_1: string;
|
|
195
|
+
export { title_1 as title };
|
|
196
|
+
export let generated: string;
|
|
197
|
+
export let scan_target: string;
|
|
198
|
+
export let overall_score: string;
|
|
199
|
+
export let critical_issues: string;
|
|
200
|
+
export let high_issues: string;
|
|
201
|
+
export let total_issues: string;
|
|
202
|
+
export let html_errors: string;
|
|
203
|
+
export let detailed_violations: string;
|
|
204
|
+
export let needs_review_title: string;
|
|
205
|
+
export let needs_review_note: string;
|
|
206
|
+
let prescriptive_fix_1: string;
|
|
207
|
+
export { prescriptive_fix_1 as prescriptive_fix };
|
|
208
|
+
export let use: string;
|
|
209
|
+
export let footer: string;
|
|
210
|
+
export let inconclusive_title: string;
|
|
211
|
+
let inconclusive_detail_1: string;
|
|
212
|
+
export { inconclusive_detail_1 as inconclusive_detail };
|
|
213
|
+
}
|
|
214
|
+
declare namespace plain {
|
|
215
|
+
let what_happens: string;
|
|
216
|
+
let who_is_affected: string;
|
|
217
|
+
let business_impact: string;
|
|
218
|
+
let how_to_fix: string;
|
|
219
|
+
let badge_stoppar_kop: string;
|
|
220
|
+
let badge_hindrar: string;
|
|
221
|
+
let badge_forsamrar: string;
|
|
222
|
+
let badge_putsning: string;
|
|
223
|
+
let intro_framing: string;
|
|
224
|
+
let sorted_by: string;
|
|
225
|
+
let intro_found: string;
|
|
226
|
+
let intro_unit_singular: string;
|
|
227
|
+
let intro_unit_plural: string;
|
|
228
|
+
let closing: string;
|
|
229
|
+
let empty_state: string;
|
|
230
|
+
let inconclusive: string;
|
|
231
|
+
let report_title: string;
|
|
232
|
+
let report_tagline: string;
|
|
233
|
+
let attribution: string;
|
|
234
|
+
let fallback_framing: string;
|
|
235
|
+
let occurrences: string;
|
|
236
|
+
let needs_review_heading: string;
|
|
237
|
+
let needs_review_intro: string;
|
|
238
|
+
let gate_blocked: string;
|
|
239
|
+
let gate_supported: string;
|
|
240
|
+
let gate_howto: string;
|
|
241
|
+
let gate_fallback: string;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
declare const export_default: {
|
|
246
|
+
cli: typeof cli;
|
|
247
|
+
report: typeof report;
|
|
248
|
+
plain: typeof plain;
|
|
244
249
|
};
|
|
245
250
|
|
|
246
|
-
type LocaleData = typeof
|
|
251
|
+
type LocaleData = typeof export_default;
|
|
247
252
|
type Paths<T> = T extends object ? {
|
|
248
253
|
[K in keyof T]: `${Exclude<K, symbol>}${"" | `.${Paths<T[K]>}`}`;
|
|
249
254
|
}[keyof T] : never;
|
|
@@ -270,4 +275,5 @@ interface StatementMetadata {
|
|
|
270
275
|
declare function generateStatementContent(result: ScanResult, lang?: string, format?: 'html' | 'md' | 'markdown', metadata?: StatementMetadata): Promise<string>;
|
|
271
276
|
declare function generateStatement(result: ScanResult, outputPath: string, lang?: string, format?: 'html' | 'md' | 'markdown', metadata?: StatementMetadata): Promise<void>;
|
|
272
277
|
|
|
273
|
-
export { NOSCRIPT_EMPTY_THRESHOLD, NOSCRIPT_PARTIAL_THRESHOLD,
|
|
278
|
+
export { NOSCRIPT_EMPTY_THRESHOLD, NOSCRIPT_PARTIAL_THRESHOLD, PseudoAutomationEngine, RegulatoryScanner, VirtualDOMBuilder, criteriaFromTags, en301549FromTags, evaluateNoScriptCoverage, generateStatement, generateStatementContent, getCurrentLang, getEngineVersion, getSelfMatchingRuleIds, getStandardsVersion, isInterstitialPage, probeWithoutJavaScript, selectMappedRuleId, setLanguage, t, wcagTagToCriterion };
|
|
279
|
+
export type { NoScriptProbeMeasurement, NoScriptProbeOptions, NoScriptResult, NoScriptVerdict, ScanMetadata, ScanResult, ScannerOptions, StatementMetadata, VirtualDOMConfig, VirtualNode };
|
package/dist/index.js
CHANGED
|
@@ -1373,7 +1373,7 @@ function isInterstitialPage(pageTitle, hasMetaRefresh, bodyTextLength) {
|
|
|
1373
1373
|
return false;
|
|
1374
1374
|
}
|
|
1375
1375
|
function getEngineVersion() {
|
|
1376
|
-
return "4.
|
|
1376
|
+
return "4.1.1";
|
|
1377
1377
|
}
|
|
1378
1378
|
function getStandardsVersion() {
|
|
1379
1379
|
try {
|
|
@@ -1738,7 +1738,9 @@ var RegulatoryScanner = class {
|
|
|
1738
1738
|
const fallback = FALLBACK_STRINGS[lang] || FALLBACK_STRINGS["en"];
|
|
1739
1739
|
reports.push({
|
|
1740
1740
|
ruleId: violation.id,
|
|
1741
|
-
|
|
1741
|
+
// Kriteriet ur axes egna wcagNNN-taggar, som i light-läget (Intern #30),
|
|
1742
|
+
// innan 'Unknown'. Lägsta kriteriet vinner, som i selectMappedRuleId.
|
|
1743
|
+
wcagCriteria: isBestPractice ? "Best Practice" : criteriaFromTags(violation.tags).sort(compareCriteria)[0] || "Unknown",
|
|
1742
1744
|
// Intern #39: omappat fynd → EN-9.x ur axes egen tagg som fallback
|
|
1743
1745
|
// före 'Unknown'. Best practice behåller 'N/A'. Rör aldrig matchade.
|
|
1744
1746
|
en301549Criteria: isBestPractice ? "N/A" : en301549FromTags(violation.tags) || "Unknown",
|
|
@@ -1762,7 +1764,15 @@ var RegulatoryScanner = class {
|
|
|
1762
1764
|
requiresManualCheck: false,
|
|
1763
1765
|
pseudoAutomation: false,
|
|
1764
1766
|
complexity: "moderate"
|
|
1765
|
-
}
|
|
1767
|
+
},
|
|
1768
|
+
// Felnoderna följer med även när regeln saknar mappning. Fyndet räknas
|
|
1769
|
+
// in i score, och utan noderna ser kunden avdraget men inte var felet
|
|
1770
|
+
// sitter (label-content-name-mismatch i axe-core 4.14, 2026-11-10).
|
|
1771
|
+
failingNodes: violation.nodes.map((node) => ({
|
|
1772
|
+
html: node.html,
|
|
1773
|
+
target: node.target.join(" "),
|
|
1774
|
+
failureSummary: node.failureSummary
|
|
1775
|
+
}))
|
|
1766
1776
|
});
|
|
1767
1777
|
}
|
|
1768
1778
|
}
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@holmdigital/engine",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.1.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -85,26 +85,26 @@
|
|
|
85
85
|
},
|
|
86
86
|
"dependencies": {
|
|
87
87
|
"@holmdigital/components": "^4.2.0",
|
|
88
|
-
"@holmdigital/standards": "^5.
|
|
89
|
-
"axe-core": "^4.
|
|
90
|
-
"chalk": "^6.0.
|
|
91
|
-
"commander": "^15.
|
|
92
|
-
"cosmiconfig": "^
|
|
93
|
-
"html-validate": "11.
|
|
94
|
-
"ora": "^
|
|
95
|
-
"puppeteer": "25.
|
|
88
|
+
"@holmdigital/standards": "^5.2.0",
|
|
89
|
+
"axe-core": "^4.14.1",
|
|
90
|
+
"chalk": "^6.0.1",
|
|
91
|
+
"commander": "^15.1.0",
|
|
92
|
+
"cosmiconfig": "^10.0.1",
|
|
93
|
+
"html-validate": "11.24.0",
|
|
94
|
+
"ora": "^10.0.0",
|
|
95
|
+
"puppeteer": "25.19.0",
|
|
96
96
|
"react": "^18.3.1 || ^19.0.0",
|
|
97
97
|
"react-dom": "^18.3.1 || ^19.0.0",
|
|
98
|
-
"ws": "^8.
|
|
98
|
+
"ws": "^8.23.1"
|
|
99
99
|
},
|
|
100
100
|
"devDependencies": {
|
|
101
101
|
"@types/cosmiconfig": "^6.0.3",
|
|
102
102
|
"@types/node": "^26.6.2",
|
|
103
103
|
"@types/react": "^19.2.18",
|
|
104
104
|
"@types/react-dom": "^19.2.7",
|
|
105
|
-
"@types/ws": "^8.
|
|
106
|
-
"tsup": "^
|
|
105
|
+
"@types/ws": "^8.18.2",
|
|
106
|
+
"tsup": "^9.0.0",
|
|
107
107
|
"typescript": "^6.0.3",
|
|
108
|
-
"vitest": "^
|
|
108
|
+
"vitest": "^5.1.0"
|
|
109
109
|
}
|
|
110
110
|
}
|