dependencies: Upgrade JavaScript dependencies.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2024-10-03 16:30:52 -07:00
committed by Tim Abbott
parent 7bd0df408d
commit 7bd5ec28ae
14 changed files with 2910 additions and 2728 deletions

View File

@@ -25,6 +25,7 @@ const keys_map = new Map([
const fn_shortcuts = new Set(["Home", "End", "PgUp", "PgDn"]);
export function has_mac_keyboard(): boolean {
// eslint-disable-next-line @typescript-eslint/no-deprecated
return /mac/i.test(navigator.platform);
}