diff --git a/app/package.json b/app/package.json index 85dadef..bc0021c 100644 --- a/app/package.json +++ b/app/package.json @@ -44,7 +44,7 @@ "@mux/mux-node": "^5.0.0-rc.5", "@prisma/client": "^3.0.1", "@trpc/client": "^9.23.2", - "@trpc/next": "^9.23.2", + "@trpc/next": "^10.37.1", "@trpc/react": "^9.23.2", "@trpc/server": "^9.23.2", "clsx": "^1.1.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 73e4d25..aa41ed9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -30,8 +30,8 @@ importers: specifier: ^9.23.2 version: 9.24.0(@trpc/server@9.24.0) '@trpc/next': - specifier: ^9.23.2 - version: 9.24.0(@trpc/client@9.24.0)(@trpc/react@9.24.0)(@trpc/server@9.24.0)(next@12.1.6)(react-dom@18.1.0)(react-query@3.39.1)(react@18.1.0) + specifier: ^10.37.1 + version: 10.37.1(@tanstack/react-query@4.32.5)(@trpc/client@9.24.0)(@trpc/react-query@10.37.1)(@trpc/server@9.24.0)(next@12.1.6)(react-dom@18.1.0)(react@18.1.0) '@trpc/react': specifier: ^9.23.2 version: 9.24.0(@trpc/client@9.24.0)(@trpc/server@9.24.0)(react-dom@18.1.0)(react-query@3.39.1)(react@18.1.0) @@ -780,6 +780,28 @@ packages: resolution: {integrity: sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==} dev: false + /@tanstack/query-core@4.32.5: + resolution: {integrity: sha512-UOxiDYmzYWD21ASIUnW3w+Nq3LcW1BPFFfIyZOor6UsRl76KGLlvUhJ402/dof1JxcQFPK7nZ5iUGPVqLiT8zg==} + dev: false + + /@tanstack/react-query@4.32.5(react-dom@18.1.0)(react@18.1.0): + resolution: {integrity: sha512-4tR0GxyyKhLpYvbglOGpWVqHS+t3bs7yy89DuTgJvnKLnaS5UW2sbfAzlV9JtwL7s5Z8eW2q2EDMcAtutb0lAw==} + 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.32.5 + react: 18.1.0 + react-dom: 18.1.0(react@18.1.0) + use-sync-external-store: 1.2.0(react@18.1.0) + dev: false + /@testing-library/jest-dom@5.16.4: resolution: {integrity: sha512-Gy+IoFutbMQcky0k+bqqumXZ1cTGswLsFqmNLzNdSKkU9KGV2u9oXhukCbbJ9/LRPKiqwxEE8VpV/+YZlfkPUA==} engines: {node: '>=8', npm: '>=6', yarn: '>=1'} @@ -809,28 +831,43 @@ packages: '@trpc/server': 9.24.0 dev: false - /@trpc/next@9.24.0(@trpc/client@9.24.0)(@trpc/react@9.24.0)(@trpc/server@9.24.0)(next@12.1.6)(react-dom@18.1.0)(react-query@3.39.1)(react@18.1.0): - resolution: {integrity: sha512-F57kuTSIPkJvkc2AiGF4oeGCuyFptgdujxIMA/oxYicTaXQ332usVq2LV0LD+woQ4VHT3Rsgs7EwPf36GpA0PQ==} + /@trpc/next@10.37.1(@tanstack/react-query@4.32.5)(@trpc/client@9.24.0)(@trpc/react-query@10.37.1)(@trpc/server@9.24.0)(next@12.1.6)(react-dom@18.1.0)(react@18.1.0): + resolution: {integrity: sha512-0KEgr09mBfao56lkj7ZBfVOY86d3+bDH1o0zJkDHSH60Dp/hIJ7wLCnZJIhePlZxEwknCQjVeLsTy4Pqlu8NyQ==} peerDependencies: - '@trpc/client': 9.24.0 - '@trpc/react': 9.24.0 - '@trpc/server': 9.24.0 + '@tanstack/react-query': ^4.18.0 + '@trpc/client': 10.37.1 + '@trpc/react-query': 10.37.1 + '@trpc/server': 10.37.1 next: '*' react: '>=16.8.0' react-dom: '>=16.8.0' - react-query: ^3.37.0 || ^4.0.0-alpha.4 dependencies: - '@babel/runtime': 7.18.3 + '@tanstack/react-query': 4.32.5(react-dom@18.1.0)(react@18.1.0) '@trpc/client': 9.24.0(@trpc/server@9.24.0) - '@trpc/react': 9.24.0(@trpc/client@9.24.0)(@trpc/server@9.24.0)(react-dom@18.1.0)(react-query@3.39.1)(react@18.1.0) + '@trpc/react-query': 10.37.1(@tanstack/react-query@4.32.5)(@trpc/client@9.24.0)(@trpc/server@9.24.0)(react-dom@18.1.0)(react@18.1.0) '@trpc/server': 9.24.0 next: 12.1.6(react-dom@18.1.0)(react@18.1.0) react: 18.1.0 react-dom: 18.1.0(react@18.1.0) - react-query: 3.39.1(react-dom@18.1.0)(react@18.1.0) react-ssr-prepass: 1.5.0(react@18.1.0) dev: false + /@trpc/react-query@10.37.1(@tanstack/react-query@4.32.5)(@trpc/client@9.24.0)(@trpc/server@9.24.0)(react-dom@18.1.0)(react@18.1.0): + resolution: {integrity: sha512-TbOOPp0fZVaKfaeEyDoV8QeTHW1vgPTbfOs0uSQ4AzBXqXPu+9v1B44z8GGRJSdUxuOX9pG/6Ap5Kx8PQ3eF+Q==} + peerDependencies: + '@tanstack/react-query': ^4.18.0 + '@trpc/client': 10.37.1 + '@trpc/server': 10.37.1 + react: '>=16.8.0' + react-dom: '>=16.8.0' + dependencies: + '@tanstack/react-query': 4.32.5(react-dom@18.1.0)(react@18.1.0) + '@trpc/client': 9.24.0(@trpc/server@9.24.0) + '@trpc/server': 9.24.0 + react: 18.1.0 + react-dom: 18.1.0(react@18.1.0) + dev: false + /@trpc/react@9.24.0(@trpc/client@9.24.0)(@trpc/server@9.24.0)(react-dom@18.1.0)(react-query@3.39.1)(react@18.1.0): resolution: {integrity: sha512-ekcSJ048glcBZlP9Szg9j3WETUiwAwNjNNLr1VQPWnXkQxr8uqCWMCTD6TIlKSCJE9rLMhToFXdg/AeZXeeHsg==} peerDependencies: @@ -5780,6 +5817,14 @@ packages: dependencies: punycode: 2.1.1 + /use-sync-external-store@1.2.0(react@18.1.0): + resolution: {integrity: sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==} + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + dependencies: + react: 18.1.0 + dev: false + /util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}