chore: update dependencies to latest versions (#4490)

* chore: update deps

* chore: update camelcase-keys to version 10.0.0

* chore: update electron-context-menu to version 4.1.1 and remove associated patch

* fix: ts lock

* fix: downgrade linkedom to version 0.18.11

Related to  https://github.com/WebReflection/linkedom/issues/249
This commit is contained in:
Whitewater 2025-09-16 20:49:29 +08:00 committed by GitHub
parent cde799da4e
commit 1e2835faed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 382 additions and 504 deletions

View File

@ -30,7 +30,7 @@
"@openpanel/web": "1.0.1",
"@sentry/electron": "6.8.0",
"builder-util-runtime": "9.3.1",
"electron-context-menu": "4.0.5",
"electron-context-menu": "4.1.1",
"electron-ipc-decorator": "0.2.0",
"electron-log": "5.4.3",
"electron-squirrel-startup": "1.0.1",
@ -41,7 +41,7 @@
"i18next": "25.5.2",
"js-yaml": "4.1.0",
"ky": "1.10.0",
"linkedom": "0.18.12",
"linkedom": "0.18.11",
"lowdb": "7.0.1",
"msedge-tts": "2.0.2",
"node-machine-id": "1.1.12",

View File

@ -42,17 +42,17 @@
"@sentry/react": "9.35.0",
"@shikijs/transformers": "3.12.2",
"@splinetool/react-spline": "4.1.0",
"@tanstack/query-sync-storage-persister": "5.81.5",
"@tanstack/react-query": "5.81.5",
"@tanstack/react-query-devtools": "5.81.5",
"@tanstack/react-query-persist-client": "5.81.5",
"@tanstack/query-sync-storage-persister": "5.89.0",
"@tanstack/react-query": "5.89.0",
"@tanstack/react-query-devtools": "5.89.0",
"@tanstack/react-query-persist-client": "5.89.0",
"@tanstack/react-virtual": "3.13.12",
"@use-gesture/react": "10.3.1",
"@welldone-software/why-did-you-render": "10.0.1",
"@xyflow/react": "12.8.4",
"@yornaath/batshit": "0.10.1",
"ai": "5.0.44",
"camelcase-keys": "9.1.3",
"camelcase-keys": "10.0.0",
"class-variance-authority": "0.7.1",
"clsx": "2.1.1",
"cmdk": "1.1.1",

View File

@ -44,12 +44,12 @@
"@react-native-menu/menu": "1.2.3",
"@react-native-picker/picker": "2.11.1",
"@shopify/flash-list": "2.0.0",
"@tanstack/query-sync-storage-persister": "5.81.5",
"@tanstack/react-query": "5.81.5",
"@tanstack/react-query-persist-client": "5.81.5",
"@tanstack/query-sync-storage-persister": "5.89.0",
"@tanstack/react-query": "5.89.0",
"@tanstack/react-query-persist-client": "5.89.0",
"@types/qrcode": "1.5.5",
"better-auth": "1.2.9",
"camelcase-keys": "9.1.3",
"camelcase-keys": "10.0.0",
"dayjs": "1.11.18",
"dnum": "2.15.0",
"es-toolkit": "1.39.10",

View File

@ -19,14 +19,14 @@
"@radix-ui/react-avatar": "1.1.10",
"@resvg/resvg-js": "2.6.2",
"@sentry/react": "9.35.0",
"@tanstack/react-query": "5.81.5",
"@tanstack/react-query": "5.89.0",
"blurhash": "2.0.5",
"dayjs": "1.11.18",
"fastify": "5.4.0",
"i18next": "25.5.2",
"jotai": "2.14.0",
"kose-font": "1.0.0",
"linkedom": "0.18.12",
"linkedom": "0.18.11",
"motion": "12.23.13",
"ofetch": "1.4.1",
"rc-modal-sheet": "1.0.0",

View File

@ -112,7 +112,7 @@
"@follow/shared": "workspace:*",
"@follow/tracker": "workspace:*",
"@follow/utils": "workspace:*",
"@tanstack/react-query": "5.81.5",
"@tanstack/react-query": "5.89.0",
"es-toolkit": "1.39.10",
"immer": "10.1.3",
"zustand": "5.0.8"

View File

@ -36,7 +36,7 @@
"chardet": "2.1.0",
"clsx": "2.1.1",
"dompurify": "3.2.6",
"linkedom": "0.18.12",
"linkedom": "0.18.11",
"motion": "12.23.13",
"nanoid": "5.1.5",
"path-to-regexp": "8.2.0",

View File

@ -14,7 +14,7 @@
"@mozilla/readability": "0.6.0",
"chardet": "2.1.0",
"dompurify": "3.2.6",
"linkedom": "0.18.12"
"linkedom": "0.18.11"
},
"devDependencies": {
"@follow/configs": "workspace:*",

View File

@ -1,12 +0,0 @@
diff --git a/index.js b/index.js
index 8ec2624b2ed049733788311aed0852432dbefb42..d872e82d5a12d175d17579e7449fe38de5f02bde 100644
--- a/index.js
+++ b/index.js
@@ -378,6 +378,7 @@ export default function contextMenu(options = {}) {
};
webContents(win).once('destroyed', disposable);
+ disposables.push(disposable);
};
const dispose = () => {

File diff suppressed because it is too large Load Diff

View File

@ -12,6 +12,8 @@ catalog:
"@follow-app/client-sdk": 0.3.65
tailwindcss-uikit-colors: 1.0.0
ignorePatchFailures: false
onlyBuiltDependencies:
- "@firebase/util"
- "@sentry/cli"
@ -46,11 +48,9 @@ overrides:
"@floating-ui/react-dom": 2.1.4
"@floating-ui/react": 0.27.14
ignorePatchFailures: false
patchedDependencies:
re-resizable@6.11.2: patches/re-resizable@6.11.2.patch
hono: patches/hono.patch
electron-context-menu@4.0.5: patches/electron-context-menu@4.0.5.patch
"@mozilla/readability@0.6.0": patches/@mozilla__readability@0.6.0.patch
daisyui@4.12.24: patches/daisyui@4.12.24.patch
jsonpointer: patches/jsonpointer.patch