@holmdigital/engine 3.0.1 → 3.0.2

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.
@@ -553,7 +553,7 @@ var no_default = {
553
553
  statement_saved: "Tilgjengelighetserkl\xE6ring lagret i {path}",
554
554
  score: "\nEtterlevelsespoeng: {score}/100",
555
555
  status: "Etterlevelsesstatus: {status}",
556
- not_compliant: " (Oppfyller ikke lovkrav - Diskriminerings- og tilgjengelighetsloven)",
556
+ not_compliant: " (Oppfyller ikke lovkrav - forskrift om universell utforming av IKT-l\xF8sninger)",
557
557
  viewport: "Visningsomr\xE5de: {width}x{height}",
558
558
  prescriptive_fix: "\n\u{1F4A1} Foresl\xE5tt l\xF8sning:",
559
559
  use_component: "Bruk komponent: {component}",
@@ -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 "3.0.1";
204
+ return "3.0.2";
205
205
  }
206
206
  function getStandardsVersion() {
207
207
  try {
@@ -422,7 +422,7 @@ var RegulatoryScanner = class {
422
422
  };
423
423
  const KLARSPRAK_TOP_N = 8;
424
424
  const { generateRegulatoryReport } = await import("@holmdigital/standards");
425
- const { getCurrentLang } = await import("./i18n-TCH23V3M.mjs");
425
+ const { getCurrentLang } = await import("./i18n-JGWNYSZO.mjs");
426
426
  const lang = getCurrentLang();
427
427
  return axeResults.violations.map((violation, index) => {
428
428
  const impact = violation.impact || "moderate";
@@ -465,7 +465,7 @@ var RegulatoryScanner = class {
465
465
  async enrichResults(axeResults) {
466
466
  const reports = [];
467
467
  const { searchRulesByTags, generateRegulatoryReport, getConvergenceRule } = await import("@holmdigital/standards");
468
- const { getCurrentLang } = await import("./i18n-TCH23V3M.mjs");
468
+ const { getCurrentLang } = await import("./i18n-JGWNYSZO.mjs");
469
469
  const lang = getCurrentLang();
470
470
  for (const violation of axeResults.violations) {
471
471
  let report = generateRegulatoryReport(violation.id, lang);
package/dist/cli/index.js CHANGED
@@ -635,7 +635,7 @@ var init_no = __esm({
635
635
  statement_saved: "Tilgjengelighetserkl\xE6ring lagret i {path}",
636
636
  score: "\nEtterlevelsespoeng: {score}/100",
637
637
  status: "Etterlevelsesstatus: {status}",
638
- not_compliant: " (Oppfyller ikke lovkrav - Diskriminerings- og tilgjengelighetsloven)",
638
+ not_compliant: " (Oppfyller ikke lovkrav - forskrift om universell utforming av IKT-l\xF8sninger)",
639
639
  viewport: "Visningsomr\xE5de: {width}x{height}",
640
640
  prescriptive_fix: "\n\u{1F4A1} Foresl\xE5tt l\xF8sning:",
641
641
  use_component: "Bruk komponent: {component}",
@@ -1353,7 +1353,7 @@ async function probeWithoutJavaScript(browser, options) {
1353
1353
  // src/core/regulatory-scanner.ts
1354
1354
  var import_node_fs = require("fs");
1355
1355
  function getEngineVersion() {
1356
- return "3.0.1";
1356
+ return "3.0.2";
1357
1357
  }
1358
1358
  function getStandardsVersion() {
1359
1359
  try {
@@ -8,7 +8,7 @@ import {
8
8
  generateStatementContent,
9
9
  getEngineVersion,
10
10
  isBadgeWithheldByRobustness
11
- } from "../chunk-AWUGOYYR.mjs";
11
+ } from "../chunk-VF73LLSO.mjs";
12
12
  import {
13
13
  groupReportsByRule,
14
14
  impactBreakdown,
@@ -19,7 +19,7 @@ import {
19
19
  getCurrentLang,
20
20
  setLanguage,
21
21
  t
22
- } from "../chunk-AQFORQWK.mjs";
22
+ } from "../chunk-QUCGL754.mjs";
23
23
  import {
24
24
  __dirname
25
25
  } from "../chunk-DIBTSSLZ.mjs";
@@ -1063,7 +1063,7 @@ program.argument("<url>", "URL to scan").option("--lang <code>", "Language code
1063
1063
  console.log(chalk.gray(`
1064
1064
  Scan: ${result.metadata.scanDuration}ms | ${result.metadata.engineVersion}`));
1065
1065
  } else if (options.audience === "plain") {
1066
- const { renderPlainReport } = await import("../plain-report-OF2MNEE4.mjs");
1066
+ const { renderPlainReport } = await import("../plain-report-BRVL3OVD.mjs");
1067
1067
  renderPlainReport(result, plainFallbackFrom ? "en" : options.lang, plainFallbackFrom);
1068
1068
  } else {
1069
1069
  console.log("\n");
@@ -2,7 +2,7 @@ import {
2
2
  getCurrentLang,
3
3
  setLanguage,
4
4
  t
5
- } from "./chunk-AQFORQWK.mjs";
5
+ } from "./chunk-QUCGL754.mjs";
6
6
  import "./chunk-DIBTSSLZ.mjs";
7
7
  export {
8
8
  getCurrentLang,
package/dist/index.js CHANGED
@@ -635,7 +635,7 @@ var init_no = __esm({
635
635
  statement_saved: "Tilgjengelighetserkl\xE6ring lagret i {path}",
636
636
  score: "\nEtterlevelsespoeng: {score}/100",
637
637
  status: "Etterlevelsesstatus: {status}",
638
- not_compliant: " (Oppfyller ikke lovkrav - Diskriminerings- og tilgjengelighetsloven)",
638
+ not_compliant: " (Oppfyller ikke lovkrav - forskrift om universell utforming av IKT-l\xF8sninger)",
639
639
  viewport: "Visningsomr\xE5de: {width}x{height}",
640
640
  prescriptive_fix: "\n\u{1F4A1} Foresl\xE5tt l\xF8sning:",
641
641
  use_component: "Bruk komponent: {component}",
@@ -1083,7 +1083,7 @@ async function probeWithoutJavaScript(browser, options) {
1083
1083
  // src/core/regulatory-scanner.ts
1084
1084
  var import_node_fs = require("fs");
1085
1085
  function getEngineVersion() {
1086
- return "3.0.1";
1086
+ return "3.0.2";
1087
1087
  }
1088
1088
  function getStandardsVersion() {
1089
1089
  try {
package/dist/index.mjs CHANGED
@@ -9,12 +9,12 @@ import {
9
9
  generateStatementContent,
10
10
  getEngineVersion,
11
11
  probeWithoutJavaScript
12
- } from "./chunk-AWUGOYYR.mjs";
12
+ } from "./chunk-VF73LLSO.mjs";
13
13
  import {
14
14
  getCurrentLang,
15
15
  setLanguage,
16
16
  t
17
- } from "./chunk-AQFORQWK.mjs";
17
+ } from "./chunk-QUCGL754.mjs";
18
18
  import "./chunk-DIBTSSLZ.mjs";
19
19
  export {
20
20
  NOSCRIPT_EMPTY_THRESHOLD,
@@ -7,7 +7,7 @@ import {
7
7
  getCurrentLang,
8
8
  setLanguage,
9
9
  t
10
- } from "./chunk-AQFORQWK.mjs";
10
+ } from "./chunk-QUCGL754.mjs";
11
11
  import "./chunk-DIBTSSLZ.mjs";
12
12
 
13
13
  // src/reporting/plain-report.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@holmdigital/engine",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -86,7 +86,7 @@
86
86
  },
87
87
  "dependencies": {
88
88
  "@holmdigital/components": "^4.0.0",
89
- "@holmdigital/standards": "^3.0.0",
89
+ "@holmdigital/standards": "^3.0.1",
90
90
  "axe-core": "^4.13.0",
91
91
  "chalk": "^6.0.0",
92
92
  "commander": "^15.0.0",