Skip to content

Commit cb2040b

Browse files
committed
chore: remove optional peer dependencies for preact and vue
1 parent d465d90 commit cb2040b

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

packages/devtools-a11y/package.json

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -95,17 +95,8 @@
9595
"vue": ">=3.2.0"
9696
},
9797
"peerDependenciesMeta": {
98-
"@types/react": {
99-
"optional": true
100-
},
101-
"preact": {
102-
"optional": true
103-
},
10498
"react": {
10599
"optional": true
106-
},
107-
"vue": {
108-
"optional": true
109100
}
110101
}
111102
}

packages/devtools-a11y/src/ui/panelUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { A11yAuditResult, SeverityThreshold } from '../types'
22

33
export const IMPACTS = ['critical', 'serious', 'moderate', 'minor'] as const
44

5-
export const SEVERITY_ORDER: Record<SeverityThreshold, number> = {
5+
const SEVERITY_ORDER: Record<SeverityThreshold, number> = {
66
critical: 4,
77
serious: 3,
88
moderate: 2,

0 commit comments

Comments
 (0)