mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-10-22 19:21:57 +00:00
Upgrade dependencies, including Electron 24.2.0.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"extends": ["stylelint-config-standard", "stylelint-config-prettier"],
|
||||
"extends": ["stylelint-config-standard"],
|
||||
"rules": {
|
||||
"color-named": "never",
|
||||
"color-no-hex": true,
|
||||
|
@@ -139,7 +139,7 @@ export default class WebView {
|
||||
}
|
||||
|
||||
getWebContents(): WebContents {
|
||||
return remote.webContents.fromId(this.webContentsId);
|
||||
return remote.webContents.fromId(this.webContentsId)!;
|
||||
}
|
||||
|
||||
showNotificationSettings(): void {
|
||||
|
@@ -8,6 +8,7 @@ import {ipcRenderer} from "./typed-ipc-renderer.js";
|
||||
|
||||
type ListenerType = (...args: any[]) => void;
|
||||
|
||||
/* eslint-disable @typescript-eslint/naming-convention */
|
||||
export type ElectronBridge = {
|
||||
send_event: (eventName: string | symbol, ...args: unknown[]) => boolean;
|
||||
on_event: (eventName: string, listener: ListenerType) => void;
|
||||
@@ -22,6 +23,7 @@ export type ElectronBridge = {
|
||||
set_send_notification_reply_message_supported: (value: boolean) => void;
|
||||
decrypt_clipboard: (version: number) => ClipboardDecrypter;
|
||||
};
|
||||
/* eslint-enable @typescript-eslint/naming-convention */
|
||||
|
||||
let notificationReplySupported = false;
|
||||
// Indicates if the user is idle or not
|
||||
|
1973
package-lock.json
generated
1973
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
15
package.json
15
package.json
@@ -151,7 +151,7 @@
|
||||
"@types/auto-launch": "^5.0.2",
|
||||
"@types/backoff": "^2.5.2",
|
||||
"@types/i18n": "^0.13.1",
|
||||
"@types/node": "^16.11.26",
|
||||
"@types/node": "^18.16.5",
|
||||
"@types/requestidlecallback": "^0.3.4",
|
||||
"@types/yaireo__tagify": "^4.3.2",
|
||||
"@yaireo/tagify": "^4.5.0",
|
||||
@@ -159,7 +159,7 @@
|
||||
"auto-launch": "^5.0.5",
|
||||
"backoff": "^2.5.0",
|
||||
"dotenv": "^16.0.0",
|
||||
"electron": "^22.0.0",
|
||||
"electron": "^24.2.0",
|
||||
"electron-builder": "^23.0.3",
|
||||
"electron-log": "^4.3.5",
|
||||
"electron-updater": "^5.0.1",
|
||||
@@ -174,16 +174,15 @@
|
||||
"playwright-core": "^1.30.0-alpha-jan-3-2023",
|
||||
"pre-commit": "^1.2.2",
|
||||
"prettier": "^2.3.2",
|
||||
"rimraf": "^4.1.2",
|
||||
"rimraf": "^5.0.0",
|
||||
"semver": "^7.3.5",
|
||||
"stylelint": "^14.5.3",
|
||||
"stylelint-config-prettier": "^9.0.3",
|
||||
"stylelint-config-standard": "^29.0.0",
|
||||
"stylelint": "^15.6.1",
|
||||
"stylelint-config-standard": "^33.0.0",
|
||||
"tape": "^5.2.2",
|
||||
"typescript": "^4.3.5",
|
||||
"typescript": "^5.0.4",
|
||||
"vite": "^4.1.1",
|
||||
"vite-plugin-electron": "^0.11.1",
|
||||
"xo": "^0.53.1",
|
||||
"xo": "^0.54.2",
|
||||
"zod": "^3.5.1"
|
||||
},
|
||||
"prettier": {
|
||||
|
Reference in New Issue
Block a user