Upgrade dependencies, including Electron 29.1.5.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2024-03-22 16:12:34 -07:00
parent 47366b7617
commit 0eb4c9236e
6 changed files with 2058 additions and 1547 deletions

View File

@@ -730,7 +730,7 @@ export class ServerManagerView {
await tab.destroy(); await tab.destroy();
delete this.tabs[index]; delete this.tabs[index]; // eslint-disable-line @typescript-eslint/no-array-delete
this.functionalTabs.delete(name); this.functionalTabs.delete(name);
// Issue #188: If the functional tab was not focused, do not activate another tab. // Issue #188: If the functional tab was not focused, do not activate another tab.

View File

@@ -29,8 +29,7 @@ export function generateOptionHtml(
disabled?: boolean, disabled?: boolean,
): Html { ): Html {
const labelHtml = disabled const labelHtml = disabled
? // eslint-disable-next-line unicorn/template-indent ? html`<label
html`<label
class="disallowed" class="disallowed"
title="Setting locked by system administrator." title="Setting locked by system administrator."
></label>` ></label>`

View File

@@ -88,10 +88,6 @@ export class PreferenceView {
}); });
break; break;
} }
default: {
((n: never) => n)(navigationItem);
}
} }
window.location.hash = `#${navigationItem}`; window.location.hash = `#${navigationItem}`;

3586
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -153,14 +153,14 @@
"@types/auto-launch": "^5.0.2", "@types/auto-launch": "^5.0.2",
"@types/backoff": "^2.5.2", "@types/backoff": "^2.5.2",
"@types/i18n": "^0.13.1", "@types/i18n": "^0.13.1",
"@types/node": "~18.17.19", "@types/node": "^20.11.30",
"@types/requestidlecallback": "^0.3.4", "@types/requestidlecallback": "^0.3.4",
"@types/yaireo__tagify": "^4.3.2", "@types/yaireo__tagify": "^4.3.2",
"@yaireo/tagify": "^4.5.0", "@yaireo/tagify": "^4.5.0",
"adm-zip": "^0.5.5", "adm-zip": "^0.5.5",
"auto-launch": "^5.0.5", "auto-launch": "^5.0.5",
"backoff": "^2.5.0", "backoff": "^2.5.0",
"electron": "^28.1.1", "electron": "^29.1.5",
"electron-builder": "^24.6.4", "electron-builder": "^24.6.4",
"electron-log": "^5.0.3", "electron-log": "^5.0.3",
"electron-updater": "^6.1.4", "electron-updater": "^6.1.4",
@@ -182,7 +182,7 @@
"typescript": "^5.0.4", "typescript": "^5.0.4",
"vite": "^5.0.11", "vite": "^5.0.11",
"vite-plugin-electron": "^0.28.0", "vite-plugin-electron": "^0.28.0",
"xo": "^0.56.0", "xo": "^0.58.0",
"zod": "^3.5.1" "zod": "^3.5.1"
}, },
"prettier": { "prettier": {

View File

@@ -8,6 +8,6 @@
"resolveJsonModule": true, "resolveJsonModule": true,
"strict": true, "strict": true,
"noImplicitOverride": true, "noImplicitOverride": true,
"types": ["vite/client"], "types": ["vite/client"]
}, }
} }