diff --git a/package.json b/package.json index 9ed078b..421c277 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "react-helmet-async": "^1.3.0", "react-icons": "^4.8.0", "react-router-dom": "^6.9.0", - "swr": "^2.2.0" + "swr": "^2.2.5" }, "devDependencies": { "@types/dplayer": "^1.25.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4215c86..e392613 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -57,8 +57,8 @@ dependencies: specifier: ^6.9.0 version: 6.9.0(react-dom@18.2.0)(react@18.2.0) swr: - specifier: ^2.2.0 - version: 2.2.0(react@18.2.0) + specifier: ^2.2.5 + version: 2.2.5(react@18.2.0) devDependencies: '@types/dplayer': @@ -2665,6 +2665,10 @@ packages: string-width: 5.1.2 dev: true + /client-only@0.0.1: + resolution: {integrity: sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==} + dev: false + /color-convert@1.9.3: resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} dependencies: @@ -5530,11 +5534,12 @@ packages: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} - /swr@2.2.0(react@18.2.0): - resolution: {integrity: sha512-AjqHOv2lAhkuUdIiBu9xbuettzAzWXmCEcLONNKJRba87WAefz8Ca9d6ds/SzrPc235n1IxWYdhJ2zF3MNUaoQ==} + /swr@2.2.5(react@18.2.0): + resolution: {integrity: sha512-QtxqyclFeAsxEUeZIYmsaQ0UjimSq1RZ9Un7I68/0ClKK/U3LoyQunwkQfJZr2fc22DfIXLNDc2wFyTEikCUpg==} peerDependencies: react: ^16.11.0 || ^17.0.0 || ^18.0.0 dependencies: + client-only: 0.0.1 react: 18.2.0 use-sync-external-store: 1.2.0(react@18.2.0) dev: false