From 6e504ca97d8cc07cb029f402fc7d1d0c9a60b30e Mon Sep 17 00:00:00 2001 From: Gabriel Legault Date: Sun, 26 Nov 2023 09:48:20 -0500 Subject: [PATCH] chore: upgrade tanstack version to 5 --- package.json | 8 ++++---- pnpm-lock.yaml | 31 +++++++++++-------------------- 2 files changed, 15 insertions(+), 24 deletions(-) diff --git a/package.json b/package.json index c034887..3b13a5f 100644 --- a/package.json +++ b/package.json @@ -43,8 +43,8 @@ ] }, "peerDependencies": { - "@tanstack/query-core": ">= 4.0.0", - "@tanstack/react-query": ">= 4.0.0" + "@tanstack/query-core": ">= 5.0.0", + "@tanstack/react-query": ">= 5.0.0" }, "devDependencies": { "@changesets/changelog-github": "^0.4.8", @@ -53,8 +53,8 @@ "@commitlint/config-conventional": "^17.6.5", "@lukemorales/jest-type-matchers": "^0.2.2", "@lukemorales/prettier-config": "^0.1.1", - "@tanstack/query-core": "^4.29.15", - "@tanstack/react-query": "^4.29.15", + "@tanstack/query-core": "^5.8.7", + "@tanstack/react-query": "^5.8.7", "@types/node": "^20.3.1", "@vitest/coverage-v8": "^0.32.2", "@vitest/ui": "^0.32.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f7b3d73..10a5bf8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -24,11 +24,11 @@ devDependencies: specifier: ^0.1.1 version: 0.1.1(prettier@2.8.8) '@tanstack/query-core': - specifier: ^4.29.15 - version: 4.29.15 + specifier: ^5.8.7 + version: 5.8.7 '@tanstack/react-query': - specifier: ^4.29.15 - version: 4.29.15(react@18.2.0) + specifier: ^5.8.7 + version: 5.8.7(react@18.2.0) '@types/node': specifier: ^20.3.1 version: 20.3.1 @@ -1085,15 +1085,15 @@ packages: resolution: {integrity: sha512-V+MvGwaHH03hYhY+k6Ef/xKd6RYlc4q8WBx+2ANmipHJcKuktNcI/NgEsJgdSUF6Lw32njT6OnrRsKYCdgHjYw==} dev: true - /@tanstack/query-core@4.29.15: - resolution: {integrity: sha512-Recc1d5rjHesKhzlH3Aw66v+vQxtB9OHEXP/vxgEcEJ0DwEpfe3EQ4id20vuBJHY2XRjfgWGmUs6ZgK6PSsTXA==} + /@tanstack/query-core@5.8.7: + resolution: {integrity: sha512-58xOSkxxZK4SGQ/uzX8MDZHLGZCkxlgkPxnfhxUOL2uchnNHyay2UVcR3mQNMgaMwH1e2l+0n+zfS7+UJ/MAJw==} dev: true - /@tanstack/react-query@4.29.15(react@18.2.0): - resolution: {integrity: sha512-1zDkv95ljuJ623hhbYU8YIprPW2x6774kh3IQNEuZav62+S+Zr26uUOrE2zGRp9I1uO5Liw/0uYB3dWXQP5+3Q==} + /@tanstack/react-query@5.8.7(react@18.2.0): + resolution: {integrity: sha512-RYSSMmkhbJ7tPkf8w+MSRIXQLoUCm7DRnTLDcdf+uampupnriEsob3fVWTt9oaEj+AJWEKeCErDBdZeNcAzURQ==} peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + react: ^18.0.0 + react-dom: ^18.0.0 react-native: '*' peerDependenciesMeta: react-dom: @@ -1101,9 +1101,8 @@ packages: react-native: optional: true dependencies: - '@tanstack/query-core': 4.29.15 + '@tanstack/query-core': 5.8.7 react: 18.2.0 - use-sync-external-store: 1.2.0(react@18.2.0) dev: true /@testing-library/dom@9.3.1: @@ -5599,14 +5598,6 @@ packages: punycode: 2.3.0 dev: true - /use-sync-external-store@1.2.0(react@18.2.0): - resolution: {integrity: sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==} - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - dependencies: - react: 18.2.0 - dev: true - /util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} dev: true