@holmdigital/engine 3.3.1 → 3.3.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.
@@ -260,7 +260,7 @@ function isInterstitialPage(pageTitle, hasMetaRefresh, bodyTextLength) {
260
260
  return false;
261
261
  }
262
262
  function getEngineVersion() {
263
- return "3.3.1";
263
+ return "3.3.2";
264
264
  }
265
265
  function getStandardsVersion() {
266
266
  try {
package/dist/cli/index.js CHANGED
@@ -1582,7 +1582,7 @@ function isInterstitialPage(pageTitle, hasMetaRefresh, bodyTextLength) {
1582
1582
  return false;
1583
1583
  }
1584
1584
  function getEngineVersion() {
1585
- return "3.3.1";
1585
+ return "3.3.2";
1586
1586
  }
1587
1587
  function getStandardsVersion() {
1588
1588
  try {
@@ -3918,10 +3918,6 @@ ${t("cli.badge_withheld")}`));
3918
3918
  if (spinner) spinner.succeed(t("cli.junit_saved", { path: options.junit }));
3919
3919
  else if (!options.json) console.log(import_chalk2.default.green(`\u2713 JUnit report saved to ${options.junit}`));
3920
3920
  }
3921
- if (options.ci && result.complianceStatus === "INCONCLUSIVE") {
3922
- if (!options.json) console.error(import_chalk2.default.yellow("\nCI/CD: scan inconclusive \u2014 real content not assessed (interstitial/wait page). Not treated as a pass."));
3923
- process.exit(1);
3924
- }
3925
3921
  if (options.ci && result.stats.critical > 0) {
3926
3922
  if (!options.json) console.error(import_chalk2.default.red(t("cli.critical_failure")));
3927
3923
  process.exit(1);
@@ -3949,6 +3945,12 @@ ${t("cli.badge_withheld")}`));
3949
3945
  }
3950
3946
  }
3951
3947
  }
3948
+ if (result.complianceStatus === "INCONCLUSIVE") {
3949
+ if (!options.json) {
3950
+ console.error(import_chalk2.default.yellow("\nScan inconclusive \u2014 real content not assessed (interstitial/wait page). Exiting 1 so an unmeasured page is never read as success."));
3951
+ }
3952
+ process.exit(1);
3953
+ }
3952
3954
  } catch (error) {
3953
3955
  if (spinner) spinner.fail(t("cli.scan_failed"));
3954
3956
  const errorMessage = error instanceof Error ? error.message : String(error);
@@ -8,7 +8,7 @@ import {
8
8
  generateStatementContent,
9
9
  getEngineVersion,
10
10
  isBadgeWithheldByRobustness
11
- } from "../chunk-VCZZMEKN.mjs";
11
+ } from "../chunk-Z3KNCM2R.mjs";
12
12
  import {
13
13
  groupReportsByRule,
14
14
  impactBreakdown,
@@ -1351,10 +1351,6 @@ ${t("cli.badge_withheld")}`));
1351
1351
  if (spinner) spinner.succeed(t("cli.junit_saved", { path: options.junit }));
1352
1352
  else if (!options.json) console.log(chalk.green(`\u2713 JUnit report saved to ${options.junit}`));
1353
1353
  }
1354
- if (options.ci && result.complianceStatus === "INCONCLUSIVE") {
1355
- if (!options.json) console.error(chalk.yellow("\nCI/CD: scan inconclusive \u2014 real content not assessed (interstitial/wait page). Not treated as a pass."));
1356
- process.exit(1);
1357
- }
1358
1354
  if (options.ci && result.stats.critical > 0) {
1359
1355
  if (!options.json) console.error(chalk.red(t("cli.critical_failure")));
1360
1356
  process.exit(1);
@@ -1382,6 +1378,12 @@ ${t("cli.badge_withheld")}`));
1382
1378
  }
1383
1379
  }
1384
1380
  }
1381
+ if (result.complianceStatus === "INCONCLUSIVE") {
1382
+ if (!options.json) {
1383
+ console.error(chalk.yellow("\nScan inconclusive \u2014 real content not assessed (interstitial/wait page). Exiting 1 so an unmeasured page is never read as success."));
1384
+ }
1385
+ process.exit(1);
1386
+ }
1385
1387
  } catch (error) {
1386
1388
  if (spinner) spinner.fail(t("cli.scan_failed"));
1387
1389
  const errorMessage = error instanceof Error ? error.message : String(error);
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.1";
1231
+ return "3.3.2";
1232
1232
  }
1233
1233
  function getStandardsVersion() {
1234
1234
  try {
package/dist/index.mjs CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  resolveNationalLawReference,
18
18
  selectMappedRuleId,
19
19
  wcagTagToCriterion
20
- } from "./chunk-VCZZMEKN.mjs";
20
+ } from "./chunk-Z3KNCM2R.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.1",
3
+ "version": "3.3.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.5",
89
+ "@holmdigital/standards": "^3.0.6",
90
90
  "axe-core": "^4.13.0",
91
91
  "chalk": "^6.0.0",
92
92
  "commander": "^15.0.0",