From 9bc3e2c96f2db65640a9727d4a7c36d66e473bb0 Mon Sep 17 00:00:00 2001 From: 1M4nt0 Date: Wed, 8 Nov 2023 14:21:28 +0100 Subject: [PATCH] fix: swr version regression from 2.2.4 to 1.2.5 --- apps/web/package.json | 2 +- packages/hooks/package.json | 2 +- packages/snapshot/package.json | 2 +- packages/ui/package.json | 2 +- packages/wagmi/package.json | 2 +- pnpm-lock.yaml | 25 ++++++++++++------------- 6 files changed, 17 insertions(+), 18 deletions(-) diff --git a/apps/web/package.json b/apps/web/package.json index de1be6c..18a5899 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -32,7 +32,7 @@ "react": "18.2.0", "react-dom": "18.2.0", "siwe": "2.1.4", - "swr": "2.2.4", + "swr": "2.1.5", "viem": "1.18.9", "wagmi": "1.4.5" }, diff --git a/packages/hooks/package.json b/packages/hooks/package.json index 4927250..564cc54 100644 --- a/packages/hooks/package.json +++ b/packages/hooks/package.json @@ -3,7 +3,7 @@ "description": "Decentralized Autonomous Education (DAE) Hooks", "version": "0.0.0", "dependencies": { - "swr": "2.2.4" + "swr": "2.1.5" }, "devDependencies": { "@dae/constants": "workspace:*", diff --git a/packages/snapshot/package.json b/packages/snapshot/package.json index fed6feb..4ecd0aa 100644 --- a/packages/snapshot/package.json +++ b/packages/snapshot/package.json @@ -12,7 +12,7 @@ "ethers": "5.7.2", "graphql": "16.8.1", "graphql-request": "6.1.0", - "swr": "2.2.4", + "swr": "2.1.5", "viem": "1.18.9" }, "sideEffects": false, diff --git a/packages/ui/package.json b/packages/ui/package.json index dcf9cc5..4b3beb2 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -17,7 +17,7 @@ "remark": "14.0.3", "remark-html": "15.0.2", "remark-stringify": "10.0.3", - "swr": "2.2.4", + "swr": "2.1.5", "usehooks-ts": "2.9.1", "yup": "1.2.0" }, diff --git a/packages/wagmi/package.json b/packages/wagmi/package.json index e4366a1..b0aabec 100644 --- a/packages/wagmi/package.json +++ b/packages/wagmi/package.json @@ -8,7 +8,7 @@ "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" }, "dependencies": { - "swr": "2.2.4", + "swr": "2.1.5", "viem": "1.18.9" }, "sideEffects": false, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1e31faf..f5265fd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -127,8 +127,8 @@ importers: specifier: 2.1.4 version: 2.1.4(ethers@5.7.2) swr: - specifier: 2.2.4 - version: 2.2.4(react@18.2.0) + specifier: 2.1.5 + version: 2.1.5(react@18.2.0) viem: specifier: 1.18.9 version: 1.18.9(typescript@5.2.2) @@ -254,8 +254,8 @@ importers: packages/hooks: dependencies: swr: - specifier: 2.2.4 - version: 2.2.4(react@18.2.0) + specifier: 2.1.5 + version: 2.1.5(react@18.2.0) devDependencies: '@dae/constants': specifier: workspace:* @@ -319,8 +319,8 @@ importers: specifier: 6.1.0 version: 6.1.0(graphql@16.8.1) swr: - specifier: 2.2.4 - version: 2.2.4(react@18.2.0) + specifier: 2.1.5 + version: 2.1.5(react@18.2.0) viem: specifier: 1.18.9 version: 1.18.9(typescript@5.2.2) @@ -412,8 +412,8 @@ importers: specifier: 10.0.3 version: 10.0.3 swr: - specifier: 2.2.4 - version: 2.2.4(react@18.2.0) + specifier: 2.1.5 + version: 2.1.5(react@18.2.0) usehooks-ts: specifier: 2.9.1 version: 2.9.1(react-dom@18.2.0)(react@18.2.0) @@ -500,8 +500,8 @@ importers: packages/wagmi: dependencies: swr: - specifier: 2.2.4 - version: 2.2.4(react@18.2.0) + specifier: 2.1.5 + version: 2.1.5(react@18.2.0) viem: specifier: 1.18.9 version: 1.18.9(typescript@5.2.2) @@ -7189,12 +7189,11 @@ packages: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} - /swr@2.2.4(react@18.2.0): - resolution: {integrity: sha512-njiZ/4RiIhoOlAaLYDqwz5qH/KZXVilRLvomrx83HjzCWTfa+InyfAjv05PSFxnmLzZkNO9ZfvgoqzAaEI4sGQ==} + /swr@2.1.5(react@18.2.0): + resolution: {integrity: sha512-/OhfZMcEpuz77KavXST5q6XE9nrOBOVcBLWjMT+oAE/kQHyE3PASrevXCtQDZ8aamntOfFkbVJp7Il9tNBQWrw==} 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