mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-10-23 03:31:56 +00:00
Upgrade dependencies, including Electron 22.2.0.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
@@ -12,7 +12,7 @@ import * as EnterpriseUtil from "./enterprise-util.js";
|
||||
import Logger from "./logger-util.js";
|
||||
|
||||
export type Config = {
|
||||
[Key in keyof typeof configSchemata]: z.output<typeof configSchemata[Key]>;
|
||||
[Key in keyof typeof configSchemata]: z.output<(typeof configSchemata)[Key]>;
|
||||
};
|
||||
|
||||
const logger = new Logger({
|
||||
@@ -26,7 +26,7 @@ reloadDb();
|
||||
export function getConfigItem<Key extends keyof Config>(
|
||||
key: Key,
|
||||
defaultValue: Config[Key],
|
||||
): z.output<typeof configSchemata[Key]> {
|
||||
): z.output<(typeof configSchemata)[Key]> {
|
||||
try {
|
||||
db.reload();
|
||||
} catch (error: unknown) {
|
||||
|
@@ -7,7 +7,7 @@ import * as ConfigUtil from "./config-util.js";
|
||||
|
||||
export type DndSettings = {
|
||||
[Key in keyof typeof dndSettingsSchemata]: z.output<
|
||||
typeof dndSettingsSchemata[Key]
|
||||
(typeof dndSettingsSchemata)[Key]
|
||||
>;
|
||||
};
|
||||
|
||||
|
@@ -9,7 +9,7 @@ import Logger from "./logger-util.js";
|
||||
|
||||
type EnterpriseConfig = {
|
||||
[Key in keyof typeof enterpriseConfigSchemata]: z.output<
|
||||
typeof enterpriseConfigSchemata[Key]
|
||||
(typeof enterpriseConfigSchemata)[Key]
|
||||
>;
|
||||
};
|
||||
|
||||
|
8496
package-lock.json
generated
8496
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -144,6 +144,7 @@
|
||||
"gatemaker": "^1.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@electron/notarize": "^1.2.3",
|
||||
"@electron/remote": "^2.0.8",
|
||||
"@sentry/electron": "^4.1.2",
|
||||
"@types/adm-zip": "^0.5.0",
|
||||
@@ -161,10 +162,9 @@
|
||||
"electron": "^22.0.0",
|
||||
"electron-builder": "^23.0.3",
|
||||
"electron-log": "^4.3.5",
|
||||
"electron-notarize": "^1.0.0",
|
||||
"electron-updater": "^5.0.1",
|
||||
"electron-window-state": "^5.0.3",
|
||||
"escape-goat": "^3.0.0",
|
||||
"escape-goat": "^4.0.0",
|
||||
"get-stream": "^6.0.1",
|
||||
"htmlhint": "^1.1.2",
|
||||
"i18n": "^0.15.1",
|
||||
@@ -174,7 +174,7 @@
|
||||
"playwright-core": "^1.30.0-alpha-jan-3-2023",
|
||||
"pre-commit": "^1.2.2",
|
||||
"prettier": "^2.3.2",
|
||||
"rimraf": "^3.0.2",
|
||||
"rimraf": "^4.1.2",
|
||||
"semver": "^7.3.5",
|
||||
"stylelint": "^14.5.3",
|
||||
"stylelint-config-prettier": "^9.0.3",
|
||||
|
@@ -2,8 +2,8 @@
|
||||
const path = require("node:path");
|
||||
const process = require("node:process");
|
||||
|
||||
const {notarize} = require("@electron/notarize");
|
||||
const dotenv = require("dotenv");
|
||||
const {notarize} = require("electron-notarize");
|
||||
|
||||
dotenv.config({path: path.join(__dirname, "/../.env")});
|
||||
|
||||
|
Reference in New Issue
Block a user