@holmdigital/engine 3.3.6 → 3.3.7

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.
@@ -260,7 +260,7 @@ function isInterstitialPage(pageTitle, hasMetaRefresh, bodyTextLength) {
260
260
  return false;
261
261
  }
262
262
  function getEngineVersion() {
263
- return "3.3.6";
263
+ return "3.3.7";
264
264
  }
265
265
  function getStandardsVersion() {
266
266
  try {
@@ -1182,7 +1182,7 @@ async function generateStatementContent(result, lang = "en", format = "html", me
1182
1182
  "{<enforcement_body>}": (() => {
1183
1183
  if (country === "US") {
1184
1184
  const adaLaw = getNationalLaws("US").find((l) => l.euFramework === "ADA" && l.scope === sector && l.inForce !== false);
1185
- if (adaLaw) return adaLaw.enforcement.authorityName;
1185
+ if (adaLaw?.enforcement) return adaLaw.enforcement.authorityName;
1186
1186
  }
1187
1187
  return getEnforcementBody(country, sector);
1188
1188
  })(),
package/dist/cli/index.js CHANGED
@@ -1620,7 +1620,7 @@ function isInterstitialPage(pageTitle, hasMetaRefresh, bodyTextLength) {
1620
1620
  return false;
1621
1621
  }
1622
1622
  function getEngineVersion() {
1623
- return "3.3.6";
1623
+ return "3.3.7";
1624
1624
  }
1625
1625
  function getStandardsVersion() {
1626
1626
  try {
@@ -3407,7 +3407,7 @@ async function generateStatementContent(result, lang = "en", format = "html", me
3407
3407
  "{<enforcement_body>}": (() => {
3408
3408
  if (country === "US") {
3409
3409
  const adaLaw = (0, import_standards3.getNationalLaws)("US").find((l) => l.euFramework === "ADA" && l.scope === sector && l.inForce !== false);
3410
- if (adaLaw) return adaLaw.enforcement.authorityName;
3410
+ if (adaLaw?.enforcement) return adaLaw.enforcement.authorityName;
3411
3411
  }
3412
3412
  return (0, import_standards3.getEnforcementBody)(country, sector);
3413
3413
  })(),
@@ -8,7 +8,7 @@ import {
8
8
  generateStatementContent,
9
9
  getEngineVersion,
10
10
  isBadgeWithheldByRobustness
11
- } from "../chunk-GAYYZJN5.mjs";
11
+ } from "../chunk-3Q67AFEW.mjs";
12
12
  import {
13
13
  groupReportsByRule,
14
14
  impactBreakdown,
package/dist/index.js CHANGED
@@ -1228,7 +1228,7 @@ function isInterstitialPage(pageTitle, hasMetaRefresh, bodyTextLength) {
1228
1228
  return false;
1229
1229
  }
1230
1230
  function getEngineVersion() {
1231
- return "3.3.6";
1231
+ return "3.3.7";
1232
1232
  }
1233
1233
  function getStandardsVersion() {
1234
1234
  try {
@@ -2153,7 +2153,7 @@ async function generateStatementContent(result, lang = "en", format = "html", me
2153
2153
  "{<enforcement_body>}": (() => {
2154
2154
  if (country === "US") {
2155
2155
  const adaLaw = (0, import_standards.getNationalLaws)("US").find((l) => l.euFramework === "ADA" && l.scope === sector && l.inForce !== false);
2156
- if (adaLaw) return adaLaw.enforcement.authorityName;
2156
+ if (adaLaw?.enforcement) return adaLaw.enforcement.authorityName;
2157
2157
  }
2158
2158
  return (0, import_standards.getEnforcementBody)(country, sector);
2159
2159
  })(),
package/dist/index.mjs CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  resolveNationalLawReference,
18
18
  selectMappedRuleId,
19
19
  wcagTagToCriterion
20
- } from "./chunk-GAYYZJN5.mjs";
20
+ } from "./chunk-3Q67AFEW.mjs";
21
21
  import {
22
22
  getCurrentLang,
23
23
  setLanguage,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@holmdigital/engine",
3
- "version": "3.3.6",
3
+ "version": "3.3.7",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -85,8 +85,8 @@
85
85
  "node": ">=22.22.0"
86
86
  },
87
87
  "dependencies": {
88
- "@holmdigital/components": "^4.0.0",
89
- "@holmdigital/standards": "^3.1.0",
88
+ "@holmdigital/components": "^4.0.1",
89
+ "@holmdigital/standards": "^4.0.0",
90
90
  "axe-core": "^4.13.0",
91
91
  "chalk": "^6.0.0",
92
92
  "commander": "^15.0.0",