From 8b70db21ba51feccaf91fa99fadcd855ee2e0e7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A5=9E=E7=A7=98=E4=BA=BA?= <3311118881@qq.com> Date: Fri, 18 Apr 2025 15:13:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8package.json=E4=B8=AD=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0use-sync-external-store=E4=BE=9D=E8=B5=96=EF=BC=8C?= =?UTF-8?q?=E5=B9=B6=E6=9B=B4=E6=96=B0pnpm-lock.yaml=E4=BB=A5=E5=8F=8D?= =?UTF-8?q?=E6=98=A0=E5=85=B6=E7=89=88=E6=9C=AC=E5=8F=98=E5=8C=96=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + pnpm-lock.yaml | 21 ++++++++++++--------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 2629d10..372f2f2 100755 --- a/package.json +++ b/package.json @@ -44,6 +44,7 @@ "sharp": "^0.33.5", "tailwind-merge": "^3.0.2", "typed.js": "^2.1.0", + "use-sync-external-store": "^1.5.0", "zustand": "^5.0.3" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 71a94fa..42e5cda 100755 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -113,9 +113,12 @@ importers: typed.js: specifier: ^2.1.0 version: 2.1.0 + use-sync-external-store: + specifier: ^1.5.0 + version: 1.5.0(react@19.0.0) zustand: specifier: ^5.0.3 - version: 5.0.3(@types/react@19.0.10)(react@19.0.0)(use-sync-external-store@1.2.2(react@19.0.0)) + version: 5.0.3(@types/react@19.0.10)(react@19.0.0)(use-sync-external-store@1.5.0(react@19.0.0)) devDependencies: '@types/aos': specifier: ^3.0.7 @@ -2763,10 +2766,10 @@ packages: '@types/react': optional: true - use-sync-external-store@1.2.2: - resolution: {integrity: sha512-PElTlVMwpblvbNqQ82d2n6RjStvdSoNe9FG28kNfz3WiXilJm4DdNkEzRhCZuIDwY8U08WVihhGR5iRqAwfDiw==} + use-sync-external-store@1.5.0: + resolution: {integrity: sha512-Rb46I4cGGVBmjamjphe8L/UnvJD+uPPtTkNvX5mZgqdbavhI4EbgIWJiIHXJ8bc/i9EQGPRh4DwEURJ552Do0A==} peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} @@ -4516,7 +4519,7 @@ snapshots: '@swc/helpers': 0.5.15 react: 19.0.0 react-dom: 19.0.0(react@19.0.0) - use-sync-external-store: 1.2.2(react@19.0.0) + use-sync-external-store: 1.5.0(react@19.0.0) '@react-aria/link@3.7.8(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: @@ -4951,7 +4954,7 @@ snapshots: dependencies: '@swc/helpers': 0.5.15 react: 19.0.0 - use-sync-external-store: 1.2.2(react@19.0.0) + use-sync-external-store: 1.5.0(react@19.0.0) '@react-stately/toggle@3.8.1(react@19.0.0)': dependencies: @@ -6552,7 +6555,7 @@ snapshots: optionalDependencies: '@types/react': 19.0.10 - use-sync-external-store@1.2.2(react@19.0.0): + use-sync-external-store@1.5.0(react@19.0.0): dependencies: react: 19.0.0 @@ -6601,10 +6604,10 @@ snapshots: dependencies: tslib: 2.3.0 - zustand@5.0.3(@types/react@19.0.10)(react@19.0.0)(use-sync-external-store@1.2.2(react@19.0.0)): + zustand@5.0.3(@types/react@19.0.10)(react@19.0.0)(use-sync-external-store@1.5.0(react@19.0.0)): optionalDependencies: '@types/react': 19.0.10 react: 19.0.0 - use-sync-external-store: 1.2.2(react@19.0.0) + use-sync-external-store: 1.5.0(react@19.0.0) zwitch@2.0.4: {}