Update all non-major dependencies (#9766)

* Update all non-major dependencies

* Prettier

* Revert axe-core

* Revert axe-core

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
renovate[bot] 2023-03-06 17:21:09 +00:00 committed by GitHub
parent 5e21ca43ec
commit 307df9d2c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 377 additions and 298 deletions

View file

@ -26,7 +26,7 @@ const HIGH_CONTRAST_THEMES: Record<string, string> = {
light: "light-high-contrast",
};
interface IFontFaces extends Omit<Record<typeof allowedFontFaceProps[number], string>, "src"> {
interface IFontFaces extends Omit<Record<(typeof allowedFontFaceProps)[number], string>, "src"> {
src: {
format: string;
url: string;
@ -145,9 +145,9 @@ function generateCustomFontFaceCSS(faces: IFontFaces[]): string {
return "";
})
.join(", ");
const props = Object.keys(face).filter((prop: typeof allowedFontFaceProps[number]) =>
const props = Object.keys(face).filter((prop: (typeof allowedFontFaceProps)[number]) =>
allowedFontFaceProps.includes(prop),
) as Array<typeof allowedFontFaceProps[number]>;
) as Array<(typeof allowedFontFaceProps)[number]>;
const body = props
.map((prop) => {
let value: string;