Skip to content

Commit 3230165

Browse files
committed
Upgrade dependencies, including Electron 24.2.0.
Signed-off-by: Anders Kaseorg <[email protected]>
1 parent 0e16283 commit 3230165

File tree

5 files changed

+1232
-764
lines changed

5 files changed

+1232
-764
lines changed

.stylelintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": ["stylelint-config-standard", "stylelint-config-prettier"],
2+
"extends": ["stylelint-config-standard"],
33
"rules": {
44
"color-named": "never",
55
"color-no-hex": true,

app/renderer/js/components/webview.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export default class WebView {
139139
}
140140

141141
getWebContents(): WebContents {
142-
return remote.webContents.fromId(this.webContentsId);
142+
return remote.webContents.fromId(this.webContentsId)!;
143143
}
144144

145145
showNotificationSettings(): void {

app/renderer/js/electron-bridge.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import {ipcRenderer} from "./typed-ipc-renderer.js";
88

99
type ListenerType = (...args: any[]) => void;
1010

11+
/* eslint-disable @typescript-eslint/naming-convention */
1112
export type ElectronBridge = {
1213
send_event: (eventName: string | symbol, ...args: unknown[]) => boolean;
1314
on_event: (eventName: string, listener: ListenerType) => void;
@@ -22,6 +23,7 @@ export type ElectronBridge = {
2223
set_send_notification_reply_message_supported: (value: boolean) => void;
2324
decrypt_clipboard: (version: number) => ClipboardDecrypter;
2425
};
26+
/* eslint-enable @typescript-eslint/naming-convention */
2527

2628
let notificationReplySupported = false;
2729
// Indicates if the user is idle or not

0 commit comments

Comments
 (0)