From 7d1d5962873dd3d001f7d5537b53115d2722a123 Mon Sep 17 00:00:00 2001 From: remiroyc Date: Thu, 4 Apr 2024 10:16:50 +0200 Subject: [PATCH] Revert "fix(deps): update @tanstack/react-query" This reverts commit b082ddcc2bf37bbb4bfd2c58047ab13db52022f8. --- apps/web/package.json | 2 +- pnpm-lock.yaml | 59 ++++++++++++++++++++++++++++++------------- 2 files changed, 42 insertions(+), 19 deletions(-) diff --git a/apps/web/package.json b/apps/web/package.json index 659e43d8..0f11e24b 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -17,7 +17,7 @@ "@starknet-react/chains": "^0.1.6", "@starknet-react/core": "^2.2.4", "@t3-oss/env-nextjs": "^0.3.1", - "@tanstack/react-query": "^5.28.14", + "@tanstack/react-query": "^4.29.7", "@trpc/client": "^10.26.0", "@trpc/next": "^10.26.0", "@trpc/react-query": "^10.26.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 287781c8..c0e9e4d2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -52,17 +52,17 @@ importers: specifier: ^0.3.1 version: 0.3.1(typescript@5.3.3)(zod@3.21.4) '@tanstack/react-query': - specifier: ^5.28.14 - version: 5.28.14(react@18.2.0) + specifier: ^4.29.7 + version: 4.29.7(react-dom@18.2.0)(react-native@0.73.4)(react@18.2.0) '@trpc/client': specifier: ^10.26.0 version: 10.26.0(@trpc/server@10.26.0) '@trpc/next': specifier: ^10.26.0 - version: 10.26.0(@tanstack/react-query@5.28.14)(@trpc/client@10.26.0)(@trpc/react-query@10.26.0)(@trpc/server@10.26.0)(next@13.4.2)(react-dom@18.2.0)(react@18.2.0) + version: 10.26.0(@tanstack/react-query@4.29.7)(@trpc/client@10.26.0)(@trpc/react-query@10.26.0)(@trpc/server@10.26.0)(next@13.4.2)(react-dom@18.2.0)(react@18.2.0) '@trpc/react-query': specifier: ^10.26.0 - version: 10.26.0(@tanstack/react-query@5.28.14)(@trpc/client@10.26.0)(@trpc/server@10.26.0)(react-dom@18.2.0)(react@18.2.0) + version: 10.26.0(@tanstack/react-query@4.29.7)(@trpc/client@10.26.0)(@trpc/server@10.26.0)(react-dom@18.2.0)(react@18.2.0) '@trpc/server': specifier: ^10.26.0 version: 10.26.0 @@ -110,7 +110,7 @@ importers: version: 2.9.9(typescript@5.3.3)(zod@3.21.4) wagmi: specifier: ^2.5.5 - version: 2.5.5(@tanstack/react-query@5.28.14)(@types/react@18.2.6)(react-dom@18.2.0)(react-native@0.73.4)(react@18.2.0)(typescript@5.3.3)(viem@2.9.9)(zod@3.21.4) + version: 2.5.5(@tanstack/react-query@4.29.7)(@types/react@18.2.6)(react-dom@18.2.0)(react-native@0.73.4)(react@18.2.0)(typescript@5.3.3)(viem@2.9.9)(zod@3.21.4) zod: specifier: ^3.21.4 version: 3.21.4 @@ -3991,7 +3991,7 @@ packages: starknet: ^5.25.0 dependencies: '@starknet-react/chains': 0.1.6 - '@tanstack/react-query': 5.28.14(react@18.2.0) + '@tanstack/react-query': 5.18.1(react@18.2.0) eventemitter3: 5.0.1 get-starknet-core: 3.2.0(starknet@5.26.0) immutable: 4.3.5 @@ -4027,16 +4027,39 @@ packages: zod: 3.21.4 dev: false - /@tanstack/query-core@5.28.13: - resolution: {integrity: sha512-C3+CCOcza+mrZ7LglQbjeYEOTEC3LV0VN0eYaIN6GvqAZ8Foegdgch7n6QYPtT4FuLae5ALy+m+ZMEKpD6tMCQ==} + /@tanstack/query-core@4.29.7: + resolution: {integrity: sha512-GXG4b5hV2Loir+h2G+RXhJdoZhJLnrBWsuLB2r0qBRyhWuXq9w/dWxzvpP89H0UARlH6Mr9DiVj4SMtpkF/aUA==} dev: false - /@tanstack/react-query@5.28.14(react@18.2.0): - resolution: {integrity: sha512-cZqt03Igb3I9tM72qNX5TAAmeYl75Z+k4Mv92VkXIXc2hCrv0fIywd7GN3JV1BBJl4mr7Cc+OOKKOPy8sNVOkA==} + /@tanstack/query-core@5.18.1: + resolution: {integrity: sha512-fYhrG7bHgSNbnkIJF2R4VUXb4lF7EBiQjKkDc5wOlB7usdQOIN4LxxHpDxyE3qjqIst1WBGvDtL48T0sHJGKCw==} + dev: false + + /@tanstack/react-query@4.29.7(react-dom@18.2.0)(react-native@0.73.4)(react@18.2.0): + resolution: {integrity: sha512-ijBWEzAIo09fB1yd22slRZzprrZ5zMdWYzBnCg5qiXuFbH78uGN1qtGz8+Ed4MuhaPaYSD+hykn+QEKtQviEtg==} + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-native: '*' + peerDependenciesMeta: + react-dom: + optional: true + react-native: + optional: true + dependencies: + '@tanstack/query-core': 4.29.7 + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) + react-native: 0.73.4(@babel/core@7.23.9)(@babel/preset-env@7.23.9)(react@18.2.0) + use-sync-external-store: 1.2.0(react@18.2.0) + dev: false + + /@tanstack/react-query@5.18.1(react@18.2.0): + resolution: {integrity: sha512-PdI07BbsahZ+04PxSuDQsQvBWe008eWFk/YYWzt8fvzt2sALUM0TpAJa/DFpqa7+SSo7j1EQR6Jx6znXNHyaXw==} peerDependencies: react: ^18.0.0 dependencies: - '@tanstack/query-core': 5.28.13 + '@tanstack/query-core': 5.18.1 react: 18.2.0 dev: false @@ -4048,7 +4071,7 @@ packages: '@trpc/server': 10.26.0 dev: false - /@trpc/next@10.26.0(@tanstack/react-query@5.28.14)(@trpc/client@10.26.0)(@trpc/react-query@10.26.0)(@trpc/server@10.26.0)(next@13.4.2)(react-dom@18.2.0)(react@18.2.0): + /@trpc/next@10.26.0(@tanstack/react-query@4.29.7)(@trpc/client@10.26.0)(@trpc/react-query@10.26.0)(@trpc/server@10.26.0)(next@13.4.2)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-p328crXBH6C228LKxjqbpDEXdLmy4+LdgsZuYK3oFMqaJEmCT22b+zcQ9IvQrcPfDxhKOpJym0QpuDNaWpG2qg==} peerDependencies: '@tanstack/react-query': ^4.18.0 @@ -4059,9 +4082,9 @@ packages: react: '>=16.8.0' react-dom: '>=16.8.0' dependencies: - '@tanstack/react-query': 5.28.14(react@18.2.0) + '@tanstack/react-query': 4.29.7(react-dom@18.2.0)(react-native@0.73.4)(react@18.2.0) '@trpc/client': 10.26.0(@trpc/server@10.26.0) - '@trpc/react-query': 10.26.0(@tanstack/react-query@5.28.14)(@trpc/client@10.26.0)(@trpc/server@10.26.0)(react-dom@18.2.0)(react@18.2.0) + '@trpc/react-query': 10.26.0(@tanstack/react-query@4.29.7)(@trpc/client@10.26.0)(@trpc/server@10.26.0)(react-dom@18.2.0)(react@18.2.0) '@trpc/server': 10.26.0 next: 13.4.2(@babel/core@7.23.9)(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 @@ -4069,7 +4092,7 @@ packages: react-ssr-prepass: 1.5.0(react@18.2.0) dev: false - /@trpc/react-query@10.26.0(@tanstack/react-query@5.28.14)(@trpc/client@10.26.0)(@trpc/server@10.26.0)(react-dom@18.2.0)(react@18.2.0): + /@trpc/react-query@10.26.0(@tanstack/react-query@4.29.7)(@trpc/client@10.26.0)(@trpc/server@10.26.0)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-n+enpalaCZhd3A/mbZmXeydRZHsAJo7mzc2ncgHn5S+C3SrfOM897uQdbHdj02Li25ULxzP1O92w+vZzmFbgkA==} peerDependencies: '@tanstack/react-query': ^4.18.0 @@ -4078,7 +4101,7 @@ packages: react: '>=16.8.0' react-dom: '>=16.8.0' dependencies: - '@tanstack/react-query': 5.28.14(react@18.2.0) + '@tanstack/react-query': 4.29.7(react-dom@18.2.0)(react-native@0.73.4)(react@18.2.0) '@trpc/client': 10.26.0(@trpc/server@10.26.0) '@trpc/server': 10.26.0 react: 18.2.0 @@ -11401,7 +11424,7 @@ packages: engines: {node: '>=0.10.0'} dev: false - /wagmi@2.5.5(@tanstack/react-query@5.28.14)(@types/react@18.2.6)(react-dom@18.2.0)(react-native@0.73.4)(react@18.2.0)(typescript@5.3.3)(viem@2.9.9)(zod@3.21.4): + /wagmi@2.5.5(@tanstack/react-query@4.29.7)(@types/react@18.2.6)(react-dom@18.2.0)(react-native@0.73.4)(react@18.2.0)(typescript@5.3.3)(viem@2.9.9)(zod@3.21.4): resolution: {integrity: sha512-U9F5+e4bFXhSvIAWaImP4oCDXnOG/7q1xnBlkWBwbGy+oWg3BBiD01BZUnkplFGu6scSZ+TPURGtOkwH0rnxBQ==} peerDependencies: '@tanstack/react-query': '>=5.0.0' @@ -11412,7 +11435,7 @@ packages: typescript: optional: true dependencies: - '@tanstack/react-query': 5.28.14(react@18.2.0) + '@tanstack/react-query': 4.29.7(react-dom@18.2.0)(react-native@0.73.4)(react@18.2.0) '@wagmi/connectors': 4.1.12(@types/react@18.2.6)(@wagmi/core@2.6.3)(react-dom@18.2.0)(react-native@0.73.4)(react@18.2.0)(typescript@5.3.3)(viem@2.9.9)(zod@3.21.4) '@wagmi/core': 2.6.3(@types/react@18.2.6)(react@18.2.0)(typescript@5.3.3)(viem@2.9.9)(zod@3.21.4) react: 18.2.0