Skip to content

Commit 4271048

Browse files
committed
chore: update dependencies
1 parent fe06ea1 commit 4271048

File tree

4 files changed

+231
-236
lines changed

4 files changed

+231
-236
lines changed

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,22 @@
2020
"typecheck": "pnpm run -r --if-present typecheck"
2121
},
2222
"devDependencies": {
23-
"@changesets/cli": "^2.29.8",
24-
"@commitlint/cli": "^20.4.2",
25-
"@commitlint/config-conventional": "^20.4.2",
26-
"@resolid/config": "^5.0.2",
23+
"@changesets/cli": "^2.30.0",
24+
"@commitlint/cli": "^20.4.3",
25+
"@commitlint/config-conventional": "^20.4.3",
26+
"@resolid/config": "^5.0.3",
2727
"@svitejs/changesets-changelog-github-compact": "^1.2.0",
2828
"@tailwindcss/language-server": "^0.14.29",
2929
"@types/node": "^24.11.0",
3030
"eslint-plugin-react-hooks": "^7.0.1",
31-
"eslint-plugin-react-you-might-not-need-an-effect": "^0.9.1",
31+
"eslint-plugin-react-you-might-not-need-an-effect": "^0.9.2",
3232
"lefthook": "^2.1.2",
33-
"oxfmt": "^0.35.0",
33+
"oxfmt": "^0.36.0",
3434
"oxlint": "^1.51.0",
3535
"typescript": "^5.9.3"
3636
},
3737
"engines": {
38-
"node": "^20.19.0 || ^22.13.0 || >=24",
38+
"node": "^22.13.0 || >=24",
3939
"pnpm": "10.x"
4040
},
4141
"packageManager": "pnpm@10.30.3",

packages/react-ui/plugins/vitest-axe.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const AXE_RULES_COLOR = getRules(["cat.color"]);
4545
function configureAxe(
4646
options: RunOptions & {
4747
globalOptions?: Spec;
48-
impactLevels?: Array<ImpactValue>;
48+
impactLevels?: ImpactValue[];
4949
} = {},
5050
): (html: Element | string, additionalOptions?: RunOptions) => Promise<AxeResults> {
5151
const { globalOptions = {}, ...runnerOptions } = options;
@@ -73,7 +73,9 @@ function configureAxe(
7373
return new Promise<AxeResults>((resolve) => {
7474
run(element, options, (err, results) => {
7575
restore();
76-
if (err) throw err;
76+
if (err) {
77+
throw err;
78+
}
7779
resolve(results);
7880
});
7981
});
@@ -146,7 +148,7 @@ function replaceTrailingSpaces(text: string): string {
146148
return text.replace(/\s+$/gm, (spaces) => SPACE_SYMBOL.repeat(spaces.length));
147149
}
148150

149-
function filterViolations(violations: Result[], impactLevels: Array<ImpactValue>) {
151+
function filterViolations(violations: Result[], impactLevels: ImpactValue[]) {
150152
if (impactLevels && impactLevels.length > 0) {
151153
return violations.filter((v) => impactLevels.includes(v.impact!));
152154
}

0 commit comments

Comments
 (0)