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

@ -27,7 +27,7 @@ interface IProps {
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 {
sha: string;
@ -46,7 +46,7 @@ export default class ChangelogDialog extends React.Component<IProps, 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}`;
try {