From 0415045f5e25cd60cad35896b8162f819b12fe45 Mon Sep 17 00:00:00 2001 From: GervinFung Date: Thu, 30 May 2024 21:48:41 +0800 Subject: [PATCH] chore(packages): update to latest breaking versions --- apps/web/package.json | 6 ++--- pnpm-lock.yaml | 63 ++++++++++++++++--------------------------- 2 files changed, 26 insertions(+), 43 deletions(-) diff --git a/apps/web/package.json b/apps/web/package.json index 3fbfe0e..ea72d17 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -18,7 +18,7 @@ "@emotion/styled": "^11.11.5", "@poolofdeath20/util": "^0.8.0", "@supabase/supabase-js": "^2.43.4", - "@tanstack/react-query": "^4.36.1", + "@tanstack/react-query": "^5.40.0", "@trpc/client": "^10.45.2", "@trpc/next": "^10.45.2", "@trpc/react-query": "^10.45.2", @@ -41,7 +41,7 @@ "react-syntax-highlighter": "^15.5.0", "react-toastify": "^10.0.5", "superjson": "^2.2.1", - "valibot": "^0.30.0" + "valibot": "0.31.0-rc.6" }, "devDependencies": { "@ducanh2912/next-pwa": "^10.2.7", @@ -65,7 +65,7 @@ "next-sitemap": "^4.2.3", "prettier": "^3.2.5", "puppeteer": "^22.10.0", - "sql-formatter": "15.3.0", + "sql-formatter": "15.3.1", "supabase": "^1.169.8", "typescript": "^5.4.5", "vite-node": "^1.6.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8ffd871..6e6e457 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -38,17 +38,17 @@ importers: specifier: ^2.43.4 version: 2.43.4 '@tanstack/react-query': - specifier: ^4.36.1 - version: 4.36.1(react-dom@18.3.1)(react@18.3.1) + specifier: ^5.40.0 + version: 5.40.0(react@18.3.1) '@trpc/client': specifier: ^10.45.2 version: 10.45.2(@trpc/server@10.45.2) '@trpc/next': specifier: ^10.45.2 - version: 10.45.2(@tanstack/react-query@4.36.1)(@trpc/client@10.45.2)(@trpc/react-query@10.45.2)(@trpc/server@10.45.2)(next@14.2.3)(react-dom@18.3.1)(react@18.3.1) + version: 10.45.2(@tanstack/react-query@5.40.0)(@trpc/client@10.45.2)(@trpc/react-query@10.45.2)(@trpc/server@10.45.2)(next@14.2.3)(react-dom@18.3.1)(react@18.3.1) '@trpc/react-query': specifier: ^10.45.2 - version: 10.45.2(@tanstack/react-query@4.36.1)(@trpc/client@10.45.2)(@trpc/server@10.45.2)(react-dom@18.3.1)(react@18.3.1) + version: 10.45.2(@tanstack/react-query@5.40.0)(@trpc/client@10.45.2)(@trpc/server@10.45.2)(react-dom@18.3.1)(react@18.3.1) '@trpc/server': specifier: ^10.45.2 version: 10.45.2 @@ -107,8 +107,8 @@ importers: specifier: ^2.2.1 version: 2.2.1 valibot: - specifier: ^0.30.0 - version: 0.30.0 + specifier: 0.31.0-rc.6 + version: 0.31.0-rc.6 devDependencies: '@ducanh2912/next-pwa': specifier: ^10.2.7 @@ -174,8 +174,8 @@ importers: specifier: ^22.10.0 version: 22.10.0(typescript@5.4.5) sql-formatter: - specifier: 15.3.0 - version: 15.3.0 + specifier: 15.3.1 + version: 15.3.1 supabase: specifier: ^1.169.8 version: 1.169.8 @@ -3473,26 +3473,17 @@ packages: '@swc/counter': 0.1.3 tslib: 2.6.2 - /@tanstack/query-core@4.36.1: - resolution: {integrity: sha512-DJSilV5+ytBP1FbFcEJovv4rnnm/CokuVvrBEtW/Va9DvuJ3HksbXUJEpI0aV1KtuL4ZoO9AVE6PyNLzF7tLeA==} + /@tanstack/query-core@5.40.0: + resolution: {integrity: sha512-eD8K8jsOIq0Z5u/QbvOmfvKKE/XC39jA7yv4hgpl/1SRiU+J8QCIwgM/mEHuunQsL87dcvnHqSVLmf9pD4CiaA==} dev: false - /@tanstack/react-query@4.36.1(react-dom@18.3.1)(react@18.3.1): - resolution: {integrity: sha512-y7ySVHFyyQblPl3J3eQBWpXZkliroki3ARnBKsdJchlgt7yJLRDUcf4B8soufgiYt3pEQIkBWBx1N9/ZPIeUWw==} + /@tanstack/react-query@5.40.0(react@18.3.1): + resolution: {integrity: sha512-iv/W0Axc4aXhFzkrByToE1JQqayxTPNotCoSCnarR/A1vDIHaoKpg7FTIfP3Ev2mbKn1yrxq0ZKYUdLEJxs6Tg==} 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 + react: ^18.0.0 dependencies: - '@tanstack/query-core': 4.36.1 + '@tanstack/query-core': 5.40.0 react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - use-sync-external-store: 1.2.2(react@18.3.1) dev: false /@tootallnate/quickjs-emscripten@0.23.0: @@ -3507,7 +3498,7 @@ packages: '@trpc/server': 10.45.2 dev: false - /@trpc/next@10.45.2(@tanstack/react-query@4.36.1)(@trpc/client@10.45.2)(@trpc/react-query@10.45.2)(@trpc/server@10.45.2)(next@14.2.3)(react-dom@18.3.1)(react@18.3.1): + /@trpc/next@10.45.2(@tanstack/react-query@5.40.0)(@trpc/client@10.45.2)(@trpc/react-query@10.45.2)(@trpc/server@10.45.2)(next@14.2.3)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-RSORmfC+/nXdmRY1pQ0AalsVgSzwNAFbZLYHiTvPM5QQ8wmMEHilseCYMXpu0se/TbPt9zVR6Ka2d7O6zxKkXg==} peerDependencies: '@tanstack/react-query': ^4.18.0 @@ -3518,16 +3509,16 @@ packages: react: '>=16.8.0' react-dom: '>=16.8.0' dependencies: - '@tanstack/react-query': 4.36.1(react-dom@18.3.1)(react@18.3.1) + '@tanstack/react-query': 5.40.0(react@18.3.1) '@trpc/client': 10.45.2(@trpc/server@10.45.2) - '@trpc/react-query': 10.45.2(@tanstack/react-query@4.36.1)(@trpc/client@10.45.2)(@trpc/server@10.45.2)(react-dom@18.3.1)(react@18.3.1) + '@trpc/react-query': 10.45.2(@tanstack/react-query@5.40.0)(@trpc/client@10.45.2)(@trpc/server@10.45.2)(react-dom@18.3.1)(react@18.3.1) '@trpc/server': 10.45.2 next: 14.2.3(@babel/core@7.24.6)(react-dom@18.3.1)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) dev: false - /@trpc/react-query@10.45.2(@tanstack/react-query@4.36.1)(@trpc/client@10.45.2)(@trpc/server@10.45.2)(react-dom@18.3.1)(react@18.3.1): + /@trpc/react-query@10.45.2(@tanstack/react-query@5.40.0)(@trpc/client@10.45.2)(@trpc/server@10.45.2)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-BAqb9bGZIscroradlNx+Cc9522R+idY3BOSf5z0jHUtkxdMbjeGKxSSMxxu7JzoLqSIEC+LVzL3VvF8sdDWaZQ==} peerDependencies: '@tanstack/react-query': ^4.18.0 @@ -3536,7 +3527,7 @@ packages: react: '>=16.8.0' react-dom: '>=16.8.0' dependencies: - '@tanstack/react-query': 4.36.1(react-dom@18.3.1)(react@18.3.1) + '@tanstack/react-query': 5.40.0(react@18.3.1) '@trpc/client': 10.45.2(@trpc/server@10.45.2) '@trpc/server': 10.45.2 react: 18.3.1 @@ -8221,8 +8212,8 @@ packages: resolution: {integrity: sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==} dev: true - /sql-formatter@15.3.0: - resolution: {integrity: sha512-1aDYVEX+dwOSCkRYns4HEGupRZoaivcsNpU4IzR+MVC+cWFYK9/dce7pr4aId4+ED2iK9PNs3j1Vdf8C+SIvDg==} + /sql-formatter@15.3.1: + resolution: {integrity: sha512-L/dqan+Hrt0PpPdCbHcI9bdfOvqaQZR7v5c5SWMJ3bUGQSezK09Mm9q2I3B4iObjaq7FyoldIM+fDSmfzGRXCA==} hasBin: true dependencies: argparse: 2.0.1 @@ -8845,20 +8836,12 @@ packages: tslib: 2.6.2 dev: false - /use-sync-external-store@1.2.2(react@18.3.1): - resolution: {integrity: sha512-PElTlVMwpblvbNqQ82d2n6RjStvdSoNe9FG28kNfz3WiXilJm4DdNkEzRhCZuIDwY8U08WVihhGR5iRqAwfDiw==} - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - dependencies: - react: 18.3.1 - dev: false - /util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} dev: false - /valibot@0.30.0: - resolution: {integrity: sha512-5POBdbSkM+3nvJ6ZlyQHsggisfRtyT4tVTo1EIIShs6qCdXJnyWU5TJ68vr8iTg5zpOLjXLRiBqNx+9zwZz/rA==} + /valibot@0.31.0-rc.6: + resolution: {integrity: sha512-NW4mnZsSyLCj2TweTPBuo7jzhZywh3C2M0T5UU53po2jhg/0k7B63pQTt3hkcdZl2JkSZEYHliKzO/2OsLFqlQ==} dev: false /vary@1.1.2: