aria-ease 6.4.5 → 6.4.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.
package/bin/cli.cjs CHANGED
@@ -1545,9 +1545,10 @@ var init_test2 = __esm({
1545
1545
  } catch (badgeError) {
1546
1546
  console.error("Warning: Could not display badge prompt:", badgeError);
1547
1547
  }
1548
- }
1549
- if (error && error.code) {
1550
- process.exit(error.code);
1548
+ process.exit(0);
1549
+ } else {
1550
+ const exitCode = error?.code || 1;
1551
+ process.exit(exitCode);
1551
1552
  }
1552
1553
  }
1553
1554
  );
package/bin/cli.js CHANGED
@@ -239,7 +239,7 @@ program.command("audit").description("Run axe-core powered accessibility audit o
239
239
  process.exit(1);
240
240
  });
241
241
  program.command("test").description("Run core a11y accessibility standard tests on UI components").action(async () => {
242
- const { runTest } = await import("./test-BIYP2TGX.js");
242
+ const { runTest } = await import("./test-WICJJ62P.js");
243
243
  runTest();
244
244
  });
245
245
  program.command("help").description("Display help information").action(() => {
@@ -199,9 +199,10 @@ if (typeof window === "undefined") {
199
199
  } catch (badgeError) {
200
200
  console.error("Warning: Could not display badge prompt:", badgeError);
201
201
  }
202
- }
203
- if (error && error.code) {
204
- process.exit(error.code);
202
+ process.exit(0);
203
+ } else {
204
+ const exitCode = error?.code || 1;
205
+ process.exit(exitCode);
205
206
  }
206
207
  }
207
208
  );
package/dist/index.cjs CHANGED
@@ -2722,9 +2722,10 @@ if (typeof window === "undefined") {
2722
2722
  } catch (badgeError) {
2723
2723
  console.error("Warning: Could not display badge prompt:", badgeError);
2724
2724
  }
2725
- }
2726
- if (error && error.code) {
2727
- process.exit(error.code);
2725
+ process.exit(0);
2726
+ } else {
2727
+ const exitCode = error?.code || 1;
2728
+ process.exit(exitCode);
2728
2729
  }
2729
2730
  }
2730
2731
  );
package/dist/index.js CHANGED
@@ -1624,9 +1624,10 @@ if (typeof window === "undefined") {
1624
1624
  } catch (badgeError) {
1625
1625
  console.error("Warning: Could not display badge prompt:", badgeError);
1626
1626
  }
1627
- }
1628
- if (error && error.code) {
1629
- process.exit(error.code);
1627
+ process.exit(0);
1628
+ } else {
1629
+ const exitCode = error?.code || 1;
1630
+ process.exit(exitCode);
1630
1631
  }
1631
1632
  }
1632
1633
  );
@@ -1245,9 +1245,10 @@ if (typeof window === "undefined") {
1245
1245
  } catch (badgeError) {
1246
1246
  console.error("Warning: Could not display badge prompt:", badgeError);
1247
1247
  }
1248
- }
1249
- if (error && error.code) {
1250
- process.exit(error.code);
1248
+ process.exit(0);
1249
+ } else {
1250
+ const exitCode = error?.code || 1;
1251
+ process.exit(exitCode);
1251
1252
  }
1252
1253
  }
1253
1254
  );
@@ -191,9 +191,10 @@ if (typeof window === "undefined") {
191
191
  } catch (badgeError) {
192
192
  console.error("Warning: Could not display badge prompt:", badgeError);
193
193
  }
194
- }
195
- if (error && error.code) {
196
- process.exit(error.code);
194
+ process.exit(0);
195
+ } else {
196
+ const exitCode = error?.code || 1;
197
+ process.exit(exitCode);
197
198
  }
198
199
  }
199
200
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aria-ease",
3
- "version": "6.4.5",
3
+ "version": "6.4.7",
4
4
  "description": "Accessibility infrastructure for the entire frontend engineering lifecycle. Build accessible patterns, run automated audits, verify component interactions, and gate deployments — all in one system.",
5
5
  "main": "dist/index.cjs",
6
6
  "type": "module",