chore: update JS dependencies ()

* chore: lock mithril to `2.0` because `2.2` has breaking changes with no upgrade guide
* chore: update JS dependencies `yarn upgrade`
* chore: fix typings after js deps updates
* chore(review): better semver

Co-authored-by: David Wheatley <hi@davwheat.dev>
This commit is contained in:
Sami Mazouz 2022-11-25 18:20:30 +01:00 committed by GitHub
parent c99d04fce2
commit 64fa35f2f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 1013 additions and 1165 deletions

@ -14,7 +14,7 @@
"focus-trap": "^6.7.1",
"jquery": "^3.6.0",
"jquery.hotkeys": "^0.1.0",
"mithril": "^2.0.4",
"mithril": "~2.0.4",
"nanoid": "^3.1.30",
"punycode": "^2.1.1",
"textarea-caret": "^3.1.0",

@ -439,8 +439,6 @@ export default class Application {
// a dud response, we don't want the application to crash. We'll show an
// error message to the user instead.
// @ts-expect-error Typescript doesn't know we return promisified `ReturnType` OR `string`,
// so it errors due to Mithril's typings
const defaultDeserialize = (response: string) => response as ResponseType;
// When extracting the data from the response, we can check the server

@ -7,4 +7,4 @@
"js-packages/*"
],
"scripts": {}
}
}

2172
yarn.lock

File diff suppressed because it is too large Load Diff