Skip to content

Commit f3798da

Browse files
fix: replace dependency react-query with @tanstack/react-query
1 parent cfc7f83 commit f3798da

File tree

2 files changed

+33
-92
lines changed

2 files changed

+33
-92
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"react": "18.2.0",
5050
"react-dom": "18.2.0",
5151
"react-focus-lock": "2.9.2",
52-
"react-query": "3.39.2",
52+
"@tanstack/react-query": "4.0.5",
5353
"sharp": "0.32.6",
5454
"zustand": "4.1.5"
5555
},

yarn.lock

Lines changed: 32 additions & 91 deletions
Original file line numberDiff line numberDiff line change
@@ -1084,20 +1084,13 @@
10841084
core-js-pure "^3.25.1"
10851085
regenerator-runtime "^0.13.11"
10861086

1087-
"@babel/runtime@^7.0.0", "@babel/runtime@^7.10.2", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.13", "@babel/runtime@^7.14.5", "@babel/runtime@^7.17.2", "@babel/runtime@^7.18.9", "@babel/runtime@^7.5.5", "@babel/runtime@^7.6.2", "@babel/runtime@^7.7.2", "@babel/runtime@^7.8.4":
1087+
"@babel/runtime@^7.0.0", "@babel/runtime@^7.10.2", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.13", "@babel/runtime@^7.14.5", "@babel/runtime@^7.17.2", "@babel/runtime@^7.18.9", "@babel/runtime@^7.5.5", "@babel/runtime@^7.7.2", "@babel/runtime@^7.8.4":
10881088
version "7.20.6"
10891089
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.20.6.tgz#facf4879bfed9b5326326273a64220f099b0fce3"
10901090
integrity sha512-Q+8MqP7TiHMWzSfwiJwXCjyf4GYA4Dgw3emg/7xmwsdLJOZUp+nMqcOwOzzYheuM1rhDu8FSj2l0aoMygEuXuA==
10911091
dependencies:
10921092
regenerator-runtime "^0.13.11"
10931093

1094-
"@babel/runtime@^7.12.5":
1095-
version "7.21.5"
1096-
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.21.5.tgz#8492dddda9644ae3bda3b45eabe87382caee7200"
1097-
integrity sha512-8jI69toZqqcsnqGGqwGS4Qb1VwLOEp4hz+CXPywcvjs60u3B4Pom/U/7rm4W8tMOYEB+E9wgD0mW1l3r8qlI9Q==
1098-
dependencies:
1099-
regenerator-runtime "^0.13.11"
1100-
11011094
"@babel/runtime@^7.13.10", "@babel/runtime@^7.14.8":
11021095
version "7.20.13"
11031096
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.20.13.tgz#7055ab8a7cff2b8f6058bf6ae45ff84ad2aded4b"
@@ -3138,6 +3131,20 @@
31383131
lodash.merge "^4.6.2"
31393132
postcss-selector-parser "6.0.10"
31403133

3134+
"@tanstack/query-core@^4.0.0-beta.1":
3135+
version "4.39.1"
3136+
resolved "https://registry.yarnpkg.com/@tanstack/query-core/-/query-core-4.39.1.tgz#61d706275f2e4ea3ed3ed3b95a0117a99bc94317"
3137+
integrity sha512-E1g5oEiBq8l1xU1ELXieEBD55oZQscn4kaHidsxdCH1egAk9Tx4sTi8rgQiayoaEWESOurRdDEf2wJHp9/BRDg==
3138+
3139+
"@tanstack/[email protected]":
3140+
version "4.0.5"
3141+
resolved "https://registry.yarnpkg.com/@tanstack/react-query/-/react-query-4.0.5.tgz#4597ac03394ddfa6ad8b5e1beb6282468623d398"
3142+
integrity sha512-tIggVlhoFevVpY/LkZroPmrERFHN8tw4aZLtgwSArzHmMJ03WQcaNvbbHy6GERidXtaMdUz+IeQryrE7cO7WPQ==
3143+
dependencies:
3144+
"@tanstack/query-core" "^4.0.0-beta.1"
3145+
"@types/use-sync-external-store" "^0.0.3"
3146+
use-sync-external-store "^1.2.0"
3147+
31413148
"@tootallnate/once@2":
31423149
version "2.0.0"
31433150
resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-2.0.0.tgz#f544a148d3ab35801c1f633a7441fd87c2e484bf"
@@ -3350,6 +3357,11 @@
33503357
resolved "https://registry.yarnpkg.com/@types/trusted-types/-/trusted-types-2.0.2.tgz#fc25ad9943bcac11cceb8168db4f275e0e72e756"
33513358
integrity sha512-F5DIZ36YVLE+PN+Zwws4kJogq47hNgX3Nx6WyDJ3kcplxyke3XIzB8uK5n/Lpm1HBsbGzd6nmGehL8cPekP+Tg==
33523359

3360+
"@types/use-sync-external-store@^0.0.3":
3361+
version "0.0.3"
3362+
resolved "https://registry.yarnpkg.com/@types/use-sync-external-store/-/use-sync-external-store-0.0.3.tgz#b6725d5f4af24ace33b36fafd295136e75509f43"
3363+
integrity sha512-EwmlvuaxPNej9+T4v5AuBPJa2x2UOJVdjCtDHgcDqitUeOtjnJKJ+apYjVcAoBEMjKW1VVFGZLUb5+qqa09XFA==
3364+
33533365
"@types/ws@^8.0.0":
33543366
version "8.5.3"
33553367
resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.3.tgz#7d25a1ffbecd3c4f2d35068d0b283c037003274d"
@@ -4061,11 +4073,6 @@ base64-js@^1.3.1:
40614073
resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a"
40624074
integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==
40634075

4064-
big-integer@^1.6.16:
4065-
version "1.6.51"
4066-
resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.51.tgz#0df92a5d9880560d3ff2d5fd20245c889d130686"
4067-
integrity sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg==
4068-
40694076
big.js@^5.2.2:
40704077
version "5.2.2"
40714078
resolved "https://registry.yarnpkg.com/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328"
@@ -4122,20 +4129,6 @@ brfs@^1.4.0:
41224129
static-module "^2.2.0"
41234130
through2 "^2.0.0"
41244131

4125-
broadcast-channel@^3.4.1:
4126-
version "3.7.0"
4127-
resolved "https://registry.yarnpkg.com/broadcast-channel/-/broadcast-channel-3.7.0.tgz#2dfa5c7b4289547ac3f6705f9c00af8723889937"
4128-
integrity sha512-cIAKJXAxGJceNZGTZSBzMxzyOn72cVgPnKx4dc6LRjQgbaJUQqhy5rzL3zbMxkMWsGKkv2hSFkPRMEXfoMZ2Mg==
4129-
dependencies:
4130-
"@babel/runtime" "^7.7.2"
4131-
detect-node "^2.1.0"
4132-
js-sha3 "0.8.0"
4133-
microseconds "0.2.0"
4134-
nano-time "1.0.0"
4135-
oblivious-set "1.0.0"
4136-
rimraf "3.0.2"
4137-
unload "2.2.0"
4138-
41394132
browser-or-node@^1.2.1:
41404133
version "1.3.0"
41414134
resolved "https://registry.yarnpkg.com/browser-or-node/-/browser-or-node-1.3.0.tgz#f2a4e8568f60263050a6714b2cc236bb976647a7"
@@ -5041,11 +5034,6 @@ detect-node-es@^1.1.0:
50415034
resolved "https://registry.yarnpkg.com/detect-node-es/-/detect-node-es-1.1.0.tgz#163acdf643330caa0b4cd7c21e7ee7755d6fa493"
50425035
integrity sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==
50435036

5044-
detect-node@^2.0.4, detect-node@^2.1.0:
5045-
version "2.1.0"
5046-
resolved "https://registry.yarnpkg.com/detect-node/-/detect-node-2.1.0.tgz#c9c70775a49c3d03bc2c06d9a73be550f978f8b1"
5047-
integrity sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==
5048-
50495037
detective@^5.2.1:
50505038
version "5.2.1"
50515039
resolved "https://registry.yarnpkg.com/detective/-/detective-5.2.1.tgz#6af01eeda11015acb0e73f933242b70f24f91034"
@@ -7296,11 +7284,6 @@ js-sdsl@^4.1.4:
72967284
resolved "https://registry.yarnpkg.com/js-sdsl/-/js-sdsl-4.2.0.tgz#278e98b7bea589b8baaf048c20aeb19eb7ad09d0"
72977285
integrity sha512-dyBIzQBDkCqCu+0upx25Y2jGdbTGxE9fshMsCdK0ViOongpV+n5tXRcZY9v7CaVQ79AGS9KA1KHtojxiM7aXSQ==
72987286

7299-
7300-
version "0.8.0"
7301-
resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840"
7302-
integrity sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==
7303-
73047287
"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0:
73057288
version "4.0.0"
73067289
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
@@ -7786,14 +7769,6 @@ map-cache@^0.2.0:
77867769
resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf"
77877770
integrity sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg==
77887771

7789-
match-sorter@^6.0.2:
7790-
version "6.3.1"
7791-
resolved "https://registry.yarnpkg.com/match-sorter/-/match-sorter-6.3.1.tgz#98cc37fda756093424ddf3cbc62bfe9c75b92bda"
7792-
integrity sha512-mxybbo3pPNuA+ZuCUhm5bwNkXrJTbsk5VWbR5wiwz/GC6LIiegBGn2w3O08UG/jdbYLinw51fSQ5xNU1U3MgBw==
7793-
dependencies:
7794-
"@babel/runtime" "^7.12.5"
7795-
remove-accents "0.4.2"
7796-
77977772
math-intrinsics@^1.1.0:
77987773
version "1.1.0"
77997774
resolved "https://registry.yarnpkg.com/math-intrinsics/-/math-intrinsics-1.1.0.tgz#a0dd74be81e2aa5c2f27e65ce283605ee4e2b7f9"
@@ -7843,11 +7818,6 @@ [email protected], micromatch@^4.0.4, micromatch@^4.0.5:
78437818
braces "^3.0.2"
78447819
picomatch "^2.3.1"
78457820

7846-
7847-
version "0.2.0"
7848-
resolved "https://registry.yarnpkg.com/microseconds/-/microseconds-0.2.0.tgz#233b25f50c62a65d861f978a4a4f8ec18797dc39"
7849-
integrity sha512-n7DHHMjR1avBbSpsTBj6fmMGh2AGrifVV4e+WYc3Q9lO+xnSZ3NyhcBND3vzzatt05LFhoKFRxrIyklmLlUtyA==
7850-
78517821
78527822
version "1.52.0"
78537823
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70"
@@ -7958,13 +7928,6 @@ [email protected]:
79587928
resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d"
79597929
integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==
79607930

7961-
7962-
version "1.0.0"
7963-
resolved "https://registry.yarnpkg.com/nano-time/-/nano-time-1.0.0.tgz#b0554f69ad89e22d0907f7a12b0993a5d96137ef"
7964-
integrity sha512-flnngywOoQ0lLQOTRNexn2gGSNuM9bKj9RZAWSzhQ+UJYaAFG9bac4DW9VHjUAzrOaIcajHybCTHe/bkvozQqA==
7965-
dependencies:
7966-
big-integer "^1.6.16"
7967-
79687931
nanoid@^3.3.4:
79697932
version "3.3.4"
79707933
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.4.tgz#730b67e3cd09e2deacf03c027c81c9d9dbc5e8ab"
@@ -8310,11 +8273,6 @@ object.values@^1.2.0, object.values@^1.2.1:
83108273
define-properties "^1.2.1"
83118274
es-object-atoms "^1.0.0"
83128275

8313-
8314-
version "1.0.0"
8315-
resolved "https://registry.yarnpkg.com/oblivious-set/-/oblivious-set-1.0.0.tgz#c8316f2c2fb6ff7b11b6158db3234c49f733c566"
8316-
integrity sha512-z+pI07qxo4c2CulUHCDf9lcqDlMSo72N/4rLUpRXf6fu+q8vjt8y0xS+Tlf8NTJDdTXHbdeO1n3MlbctwEoXZw==
8317-
83188276
once@^1.3.0, once@^1.3.1, once@^1.4.0:
83198277
version "1.4.0"
83208278
resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
@@ -8992,15 +8950,6 @@ react-popper@^2.3.0:
89928950
react-fast-compare "^3.0.1"
89938951
warning "^4.0.2"
89948952

8995-
8996-
version "3.39.2"
8997-
resolved "https://registry.yarnpkg.com/react-query/-/react-query-3.39.2.tgz#9224140f0296f01e9664b78ed6e4f69a0cc9216f"
8998-
integrity sha512-F6hYDKyNgDQfQOuR1Rsp3VRzJnWHx6aRnnIZHMNGGgbL3SBgpZTDg8MQwmxOgpCAoqZJA+JSNCydF1xGJqKOCA==
8999-
dependencies:
9000-
"@babel/runtime" "^7.5.5"
9001-
broadcast-channel "^3.4.1"
9002-
match-sorter "^6.0.2"
9003-
90048953
90058954
version "18.2.0"
90068955
resolved "https://registry.yarnpkg.com/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5"
@@ -9180,11 +9129,6 @@ remedial@^1.0.7:
91809129
resolved "https://registry.yarnpkg.com/remedial/-/remedial-1.0.8.tgz#a5e4fd52a0e4956adbaf62da63a5a46a78c578a0"
91819130
integrity sha512-/62tYiOe6DzS5BqVsNpH/nkGlX45C/Sp6V+NtiN6JQNS1Viay7cWkazmRkrQrdFj2eshDe96SIQNIoMxqhzBOg==
91829131

9183-
9184-
version "0.4.2"
9185-
resolved "https://registry.yarnpkg.com/remove-accents/-/remove-accents-0.4.2.tgz#0a43d3aaae1e80db919e07ae254b285d9e1c7bb5"
9186-
integrity sha512-7pXIJqJOq5tFgG1A2Zxti3Ht8jJF337m4sowbuHsW30ZnkQFnDzy9qBNhgzX8ZLW4+UBcXiiR7SwR6pokHsxiA==
9187-
91889132
remove-trailing-separator@^1.0.1:
91899133
version "1.1.0"
91909134
resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef"
@@ -9315,20 +9259,20 @@ rfdc@^1.3.0:
93159259
resolved "https://registry.yarnpkg.com/rfdc/-/rfdc-1.3.0.tgz#d0b7c441ab2720d05dc4cf26e01c89631d9da08b"
93169260
integrity sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA==
93179261

9318-
[email protected], rimraf@^3.0.2:
9319-
version "3.0.2"
9320-
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a"
9321-
integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==
9322-
dependencies:
9323-
glob "^7.1.3"
9324-
93259262
rimraf@^2.6.3:
93269263
version "2.7.1"
93279264
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec"
93289265
integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==
93299266
dependencies:
93309267
glob "^7.1.3"
93319268

9269+
rimraf@^3.0.2:
9270+
version "3.0.2"
9271+
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a"
9272+
integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==
9273+
dependencies:
9274+
glob "^7.1.3"
9275+
93329276
rollup-plugin-terser@^7.0.0:
93339277
version "7.0.2"
93349278
resolved "https://registry.yarnpkg.com/rollup-plugin-terser/-/rollup-plugin-terser-7.0.2.tgz#e8fbba4869981b2dc35ae7e8a502d5c6c04d324d"
@@ -10619,14 +10563,6 @@ unixify@^1.0.0:
1061910563
dependencies:
1062010564
normalize-path "^2.1.1"
1062110565

10622-
10623-
version "2.2.0"
10624-
resolved "https://registry.yarnpkg.com/unload/-/unload-2.2.0.tgz#ccc88fdcad345faa06a92039ec0f80b488880ef7"
10625-
integrity sha512-B60uB5TNBLtN6/LsgAf3udH9saB5p7gqJwcFfbOEZ8BcBHnGwCf6G/TGiEqkRAxX7zAFIUtzdrXQSdL3Q/wqNA==
10626-
dependencies:
10627-
"@babel/runtime" "^7.6.2"
10628-
detect-node "^2.0.4"
10629-
1063010566
upath@^1.2.0:
1063110567
version "1.2.0"
1063210568
resolved "https://registry.yarnpkg.com/upath/-/upath-1.2.0.tgz#8f66dbcd55a883acdae4408af8b035a5044c1894"
@@ -10693,6 +10629,11 @@ [email protected]:
1069310629
resolved "https://registry.yarnpkg.com/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz#7dbefd6ef3fe4e767a0cf5d7287aacfb5846928a"
1069410630
integrity sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==
1069510631

10632+
use-sync-external-store@^1.2.0:
10633+
version "1.5.0"
10634+
resolved "https://registry.yarnpkg.com/use-sync-external-store/-/use-sync-external-store-1.5.0.tgz#55122e2a3edd2a6c106174c27485e0fd59bcfca0"
10635+
integrity sha512-Rb46I4cGGVBmjamjphe8L/UnvJD+uPPtTkNvX5mZgqdbavhI4EbgIWJiIHXJ8bc/i9EQGPRh4DwEURJ552Do0A==
10636+
1069610637
util-deprecate@^1.0.1, util-deprecate@^1.0.2, util-deprecate@~1.0.1:
1069710638
version "1.0.2"
1069810639
resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"

0 commit comments

Comments
 (0)