-
Notifications
You must be signed in to change notification settings - Fork 345
Update: 警告が出ていた依存を更新 #1635
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update: 警告が出ていた依存を更新 #1635
Conversation
| const getMenuBarHotkey = (rawLabel: string) => { | ||
| const label = hotkeyActionSchema.safeParse(rawLabel); | ||
| if (!label.success) { | ||
| return ""; | ||
| } | ||
| const hotkey = hotkeySettingsMap.value.get(label.data); | ||
| if (hotkey == undefined) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
zodのバージョンが上がった関係(多分)で型が厳しくなっていたので良い感じに修正しました。
Hiroshiba
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
immerをダウングレードした旨のコミットがあったのでちょっと調べてみたのですが、解決できるかもでした。
今回のPRでは不要そうですが、次機会があったときに思い出せるようメモっておこうかなと!
import { enablePatches as enablePatchesImpl } from "immer/src/plugins/patches";のとこでimmer/src/plugins/patchesがなくてこける感じなんですね。
わかんないけど、↓で行けそうでした。
import {enablePatches} from "immer"
enablePatches()There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!!!
ビルドが回るか見守ってみたいと思います!
たぶんこちら https://github.com/VOICEVOX/voicevox/actions/runs/6747476440
|
ビルド完了済みのを動かしてみた感じ、レンダラーが動かない感じでした 😇 ログも特に吐かれてないので、どこが原因なのかパッと分かりませんでした。 |
内容
警告が出ていた依存を更新します。0 vulnerabilitiesまで減らしました。
ちなみにこのアプデでelectron-builderの拡張子割り当てで日本語が使えるようになってたりelectron-builder.config.tsにできたりするはずです
関連 Issue
(なし)
スクリーンショット・動画など
その他
(なし)