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

@ -122,7 +122,7 @@ jobs:
path: webapp path: webapp
- name: Run Cypress tests - name: Run Cypress tests
uses: cypress-io/github-action@v5.0.2 uses: cypress-io/github-action@v5.1.0
with: with:
# The built-in Electron runner seems to grind to a halt trying # The built-in Electron runner seems to grind to a halt trying
# to run the tests, so use chrome. # to run the tests, so use chrome.

View file

@ -60,7 +60,7 @@
}, },
"dependencies": { "dependencies": {
"@babel/runtime": "^7.12.5", "@babel/runtime": "^7.12.5",
"@matrix-org/analytics-events": "^0.4.0", "@matrix-org/analytics-events": "^0.5.0",
"@matrix-org/matrix-wysiwyg": "^1.1.1", "@matrix-org/matrix-wysiwyg": "^1.1.1",
"@matrix-org/react-sdk-module-api": "^0.0.4", "@matrix-org/react-sdk-module-api": "^0.0.4",
"@sentry/browser": "^7.0.0", "@sentry/browser": "^7.0.0",
@ -79,7 +79,7 @@
"emojibase-regex": "6.0.1", "emojibase-regex": "6.0.1",
"escape-html": "^1.0.3", "escape-html": "^1.0.3",
"file-saver": "^2.0.5", "file-saver": "^2.0.5",
"filesize": "10.0.5", "filesize": "10.0.6",
"flux": "4.0.3", "flux": "4.0.3",
"focus-visible": "^5.2.0", "focus-visible": "^5.2.0",
"gfm.css": "^1.1.2", "gfm.css": "^1.1.2",
@ -104,18 +104,18 @@
"pako": "^2.0.3", "pako": "^2.0.3",
"parse5": "^6.0.1", "parse5": "^6.0.1",
"png-chunks-extract": "^1.0.0", "png-chunks-extract": "^1.0.0",
"posthog-js": "1.36.0", "posthog-js": "1.50.3",
"qrcode": "1.5.1", "qrcode": "1.5.1",
"re-resizable": "^6.9.0", "re-resizable": "^6.9.0",
"react": "17.0.2", "react": "17.0.2",
"react-beautiful-dnd": "^13.1.0", "react-beautiful-dnd": "^13.1.0",
"react-blurhash": "^0.2.0", "react-blurhash": "^0.3.0",
"react-dom": "17.0.2", "react-dom": "17.0.2",
"react-focus-lock": "^2.5.1", "react-focus-lock": "^2.5.1",
"react-transition-group": "^4.4.1", "react-transition-group": "^4.4.1",
"rfc4648": "^1.4.0", "rfc4648": "^1.4.0",
"sanitize-filename": "^1.6.3", "sanitize-filename": "^1.6.3",
"sanitize-html": "2.8.0", "sanitize-html": "2.10.0",
"tar-js": "^0.3.0", "tar-js": "^0.3.0",
"ua-parser-js": "^1.0.2", "ua-parser-js": "^1.0.2",
"url": "^0.11.0", "url": "^0.11.0",
@ -185,14 +185,14 @@
"cypress-axe": "^1.0.0", "cypress-axe": "^1.0.0",
"cypress-multi-reporters": "^1.6.1", "cypress-multi-reporters": "^1.6.1",
"cypress-real-events": "^1.7.1", "cypress-real-events": "^1.7.1",
"eslint": "8.28.0", "eslint": "8.35.0",
"eslint-config-google": "^0.14.0", "eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^8.5.0", "eslint-config-prettier": "^8.5.0",
"eslint-plugin-deprecate": "^0.7.0", "eslint-plugin-deprecate": "^0.7.0",
"eslint-plugin-import": "^2.25.4", "eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^27.2.1", "eslint-plugin-jest": "^27.2.1",
"eslint-plugin-jsx-a11y": "^6.5.1", "eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-matrix-org": "1.0.0", "eslint-plugin-matrix-org": "1.1.0",
"eslint-plugin-react": "^7.28.0", "eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0", "eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-unicorn": "^45.0.0", "eslint-plugin-unicorn": "^45.0.0",
@ -209,14 +209,14 @@
"mocha-junit-reporter": "^2.2.0", "mocha-junit-reporter": "^2.2.0",
"node-fetch": "2", "node-fetch": "2",
"postcss-scss": "^4.0.4", "postcss-scss": "^4.0.4",
"prettier": "2.8.0", "prettier": "2.8.4",
"raw-loader": "^4.0.2", "raw-loader": "^4.0.2",
"rimraf": "^4.0.0", "rimraf": "^4.0.0",
"stylelint": "^15.0.0", "stylelint": "^15.0.0",
"stylelint-config-prettier": "^9.0.4", "stylelint-config-prettier": "^9.0.4",
"stylelint-config-standard": "^30.0.0", "stylelint-config-standard": "^30.0.0",
"stylelint-scss": "^4.2.0", "stylelint-scss": "^4.2.0",
"typescript": "4.9.3", "typescript": "4.9.5",
"walk": "^2.3.14" "walk": "^2.3.14"
}, },
"jest": { "jest": {

View file

@ -27,7 +27,7 @@ interface IProps {
onFinished: (success: boolean) => void; onFinished: (success: boolean) => void;
} }
type State = Partial<Record<typeof REPOS[number], null | string | Commit[]>>; type State = Partial<Record<(typeof REPOS)[number], null | string | Commit[]>>;
interface Commit { interface Commit {
sha: string; sha: string;
@ -46,7 +46,7 @@ export default class ChangelogDialog extends React.Component<IProps, State> {
this.state = {}; this.state = {};
} }
private async fetchChanges(repo: typeof REPOS[number], oldVersion: string, newVersion: string): Promise<void> { private async fetchChanges(repo: (typeof REPOS)[number], oldVersion: string, newVersion: string): Promise<void> {
const url = `https://riot.im/github/repos/${repo}/compare/${oldVersion}...${newVersion}`; const url = `https://riot.im/github/repos/${repo}/compare/${oldVersion}...${newVersion}`;
try { try {

View file

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

645
yarn.lock

File diff suppressed because it is too large Load diff