Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 307df9d

Browse files
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 <[email protected]>
1 parent 5e21ca4 commit 307df9d

File tree

5 files changed

+377
-298
lines changed

5 files changed

+377
-298
lines changed

.github/workflows/cypress.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ jobs:
122122
path: webapp
123123

124124
- name: Run Cypress tests
125-
uses: cypress-io/github-action@v5.0.2
125+
uses: cypress-io/github-action@v5.1.0
126126
with:
127127
# The built-in Electron runner seems to grind to a halt trying
128128
# to run the tests, so use chrome.

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
},
6161
"dependencies": {
6262
"@babel/runtime": "^7.12.5",
63-
"@matrix-org/analytics-events": "^0.4.0",
63+
"@matrix-org/analytics-events": "^0.5.0",
6464
"@matrix-org/matrix-wysiwyg": "^1.1.1",
6565
"@matrix-org/react-sdk-module-api": "^0.0.4",
6666
"@sentry/browser": "^7.0.0",
@@ -79,7 +79,7 @@
7979
"emojibase-regex": "6.0.1",
8080
"escape-html": "^1.0.3",
8181
"file-saver": "^2.0.5",
82-
"filesize": "10.0.5",
82+
"filesize": "10.0.6",
8383
"flux": "4.0.3",
8484
"focus-visible": "^5.2.0",
8585
"gfm.css": "^1.1.2",
@@ -104,18 +104,18 @@
104104
"pako": "^2.0.3",
105105
"parse5": "^6.0.1",
106106
"png-chunks-extract": "^1.0.0",
107-
"posthog-js": "1.36.0",
107+
"posthog-js": "1.50.3",
108108
"qrcode": "1.5.1",
109109
"re-resizable": "^6.9.0",
110110
"react": "17.0.2",
111111
"react-beautiful-dnd": "^13.1.0",
112-
"react-blurhash": "^0.2.0",
112+
"react-blurhash": "^0.3.0",
113113
"react-dom": "17.0.2",
114114
"react-focus-lock": "^2.5.1",
115115
"react-transition-group": "^4.4.1",
116116
"rfc4648": "^1.4.0",
117117
"sanitize-filename": "^1.6.3",
118-
"sanitize-html": "2.8.0",
118+
"sanitize-html": "2.10.0",
119119
"tar-js": "^0.3.0",
120120
"ua-parser-js": "^1.0.2",
121121
"url": "^0.11.0",
@@ -185,14 +185,14 @@
185185
"cypress-axe": "^1.0.0",
186186
"cypress-multi-reporters": "^1.6.1",
187187
"cypress-real-events": "^1.7.1",
188-
"eslint": "8.28.0",
188+
"eslint": "8.35.0",
189189
"eslint-config-google": "^0.14.0",
190190
"eslint-config-prettier": "^8.5.0",
191191
"eslint-plugin-deprecate": "^0.7.0",
192192
"eslint-plugin-import": "^2.25.4",
193193
"eslint-plugin-jest": "^27.2.1",
194194
"eslint-plugin-jsx-a11y": "^6.5.1",
195-
"eslint-plugin-matrix-org": "1.0.0",
195+
"eslint-plugin-matrix-org": "1.1.0",
196196
"eslint-plugin-react": "^7.28.0",
197197
"eslint-plugin-react-hooks": "^4.3.0",
198198
"eslint-plugin-unicorn": "^45.0.0",
@@ -209,14 +209,14 @@
209209
"mocha-junit-reporter": "^2.2.0",
210210
"node-fetch": "2",
211211
"postcss-scss": "^4.0.4",
212-
"prettier": "2.8.0",
212+
"prettier": "2.8.4",
213213
"raw-loader": "^4.0.2",
214214
"rimraf": "^4.0.0",
215215
"stylelint": "^15.0.0",
216216
"stylelint-config-prettier": "^9.0.4",
217217
"stylelint-config-standard": "^30.0.0",
218218
"stylelint-scss": "^4.2.0",
219-
"typescript": "4.9.3",
219+
"typescript": "4.9.5",
220220
"walk": "^2.3.14"
221221
},
222222
"jest": {

src/components/views/dialogs/ChangelogDialog.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ interface IProps {
2727
onFinished: (success: boolean) => void;
2828
}
2929

30-
type State = Partial<Record<typeof REPOS[number], null | string | Commit[]>>;
30+
type State = Partial<Record<(typeof REPOS)[number], null | string | Commit[]>>;
3131

3232
interface Commit {
3333
sha: string;
@@ -46,7 +46,7 @@ export default class ChangelogDialog extends React.Component<IProps, State> {
4646
this.state = {};
4747
}
4848

49-
private async fetchChanges(repo: typeof REPOS[number], oldVersion: string, newVersion: string): Promise<void> {
49+
private async fetchChanges(repo: (typeof REPOS)[number], oldVersion: string, newVersion: string): Promise<void> {
5050
const url = `https://riot.im/github/repos/${repo}/compare/${oldVersion}...${newVersion}`;
5151

5252
try {

src/theme.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const HIGH_CONTRAST_THEMES: Record<string, string> = {
2626
light: "light-high-contrast",
2727
};
2828

29-
interface IFontFaces extends Omit<Record<typeof allowedFontFaceProps[number], string>, "src"> {
29+
interface IFontFaces extends Omit<Record<(typeof allowedFontFaceProps)[number], string>, "src"> {
3030
src: {
3131
format: string;
3232
url: string;
@@ -145,9 +145,9 @@ function generateCustomFontFaceCSS(faces: IFontFaces[]): string {
145145
return "";
146146
})
147147
.join(", ");
148-
const props = Object.keys(face).filter((prop: typeof allowedFontFaceProps[number]) =>
148+
const props = Object.keys(face).filter((prop: (typeof allowedFontFaceProps)[number]) =>
149149
allowedFontFaceProps.includes(prop),
150-
) as Array<typeof allowedFontFaceProps[number]>;
150+
) as Array<(typeof allowedFontFaceProps)[number]>;
151151
const body = props
152152
.map((prop) => {
153153
let value: string;

0 commit comments

Comments
 (0)