Skip to content

Commit 5d5b0d1

Browse files
fix: replace dependency react-query with @tanstack/react-query
1 parent 8d482e1 commit 5d5b0d1

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"
@@ -3133,6 +3126,20 @@
31333126
lodash.merge "^4.6.2"
31343127
postcss-selector-parser "6.0.10"
31353128

3129+
"@tanstack/query-core@^4.0.0-beta.1":
3130+
version "4.36.1"
3131+
resolved "https://registry.yarnpkg.com/@tanstack/query-core/-/query-core-4.36.1.tgz#79f8c1a539d47c83104210be2388813a7af2e524"
3132+
integrity sha512-DJSilV5+ytBP1FbFcEJovv4rnnm/CokuVvrBEtW/Va9DvuJ3HksbXUJEpI0aV1KtuL4ZoO9AVE6PyNLzF7tLeA==
3133+
3134+
"@tanstack/[email protected]":
3135+
version "4.0.5"
3136+
resolved "https://registry.yarnpkg.com/@tanstack/react-query/-/react-query-4.0.5.tgz#4597ac03394ddfa6ad8b5e1beb6282468623d398"
3137+
integrity sha512-tIggVlhoFevVpY/LkZroPmrERFHN8tw4aZLtgwSArzHmMJ03WQcaNvbbHy6GERidXtaMdUz+IeQryrE7cO7WPQ==
3138+
dependencies:
3139+
"@tanstack/query-core" "^4.0.0-beta.1"
3140+
"@types/use-sync-external-store" "^0.0.3"
3141+
use-sync-external-store "^1.2.0"
3142+
31363143
"@tootallnate/once@2":
31373144
version "2.0.0"
31383145
resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-2.0.0.tgz#f544a148d3ab35801c1f633a7441fd87c2e484bf"
@@ -3345,6 +3352,11 @@
33453352
resolved "https://registry.yarnpkg.com/@types/trusted-types/-/trusted-types-2.0.2.tgz#fc25ad9943bcac11cceb8168db4f275e0e72e756"
33463353
integrity sha512-F5DIZ36YVLE+PN+Zwws4kJogq47hNgX3Nx6WyDJ3kcplxyke3XIzB8uK5n/Lpm1HBsbGzd6nmGehL8cPekP+Tg==
33473354

3355+
"@types/use-sync-external-store@^0.0.3":
3356+
version "0.0.3"
3357+
resolved "https://registry.yarnpkg.com/@types/use-sync-external-store/-/use-sync-external-store-0.0.3.tgz#b6725d5f4af24ace33b36fafd295136e75509f43"
3358+
integrity sha512-EwmlvuaxPNej9+T4v5AuBPJa2x2UOJVdjCtDHgcDqitUeOtjnJKJ+apYjVcAoBEMjKW1VVFGZLUb5+qqa09XFA==
3359+
33483360
"@types/ws@^8.0.0":
33493361
version "8.5.3"
33503362
resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.3.tgz#7d25a1ffbecd3c4f2d35068d0b283c037003274d"
@@ -3945,11 +3957,6 @@ base64-js@^1.3.1:
39453957
resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a"
39463958
integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==
39473959

3948-
big-integer@^1.6.16:
3949-
version "1.6.51"
3950-
resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.51.tgz#0df92a5d9880560d3ff2d5fd20245c889d130686"
3951-
integrity sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg==
3952-
39533960
big.js@^5.2.2:
39543961
version "5.2.2"
39553962
resolved "https://registry.yarnpkg.com/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328"
@@ -4006,20 +4013,6 @@ brfs@^1.4.0:
40064013
static-module "^2.2.0"
40074014
through2 "^2.0.0"
40084015

4009-
broadcast-channel@^3.4.1:
4010-
version "3.7.0"
4011-
resolved "https://registry.yarnpkg.com/broadcast-channel/-/broadcast-channel-3.7.0.tgz#2dfa5c7b4289547ac3f6705f9c00af8723889937"
4012-
integrity sha512-cIAKJXAxGJceNZGTZSBzMxzyOn72cVgPnKx4dc6LRjQgbaJUQqhy5rzL3zbMxkMWsGKkv2hSFkPRMEXfoMZ2Mg==
4013-
dependencies:
4014-
"@babel/runtime" "^7.7.2"
4015-
detect-node "^2.1.0"
4016-
js-sha3 "0.8.0"
4017-
microseconds "0.2.0"
4018-
nano-time "1.0.0"
4019-
oblivious-set "1.0.0"
4020-
rimraf "3.0.2"
4021-
unload "2.2.0"
4022-
40234016
browser-or-node@^1.2.1:
40244017
version "1.3.0"
40254018
resolved "https://registry.yarnpkg.com/browser-or-node/-/browser-or-node-1.3.0.tgz#f2a4e8568f60263050a6714b2cc236bb976647a7"
@@ -4837,11 +4830,6 @@ detect-node-es@^1.1.0:
48374830
resolved "https://registry.yarnpkg.com/detect-node-es/-/detect-node-es-1.1.0.tgz#163acdf643330caa0b4cd7c21e7ee7755d6fa493"
48384831
integrity sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==
48394832

4840-
detect-node@^2.0.4, detect-node@^2.1.0:
4841-
version "2.1.0"
4842-
resolved "https://registry.yarnpkg.com/detect-node/-/detect-node-2.1.0.tgz#c9c70775a49c3d03bc2c06d9a73be550f978f8b1"
4843-
integrity sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==
4844-
48454833
detective@^5.2.1:
48464834
version "5.2.1"
48474835
resolved "https://registry.yarnpkg.com/detective/-/detective-5.2.1.tgz#6af01eeda11015acb0e73f933242b70f24f91034"
@@ -6616,11 +6604,6 @@ js-sdsl@^4.1.4:
66166604
resolved "https://registry.yarnpkg.com/js-sdsl/-/js-sdsl-4.2.0.tgz#278e98b7bea589b8baaf048c20aeb19eb7ad09d0"
66176605
integrity sha512-dyBIzQBDkCqCu+0upx25Y2jGdbTGxE9fshMsCdK0ViOongpV+n5tXRcZY9v7CaVQ79AGS9KA1KHtojxiM7aXSQ==
66186606

6619-
6620-
version "0.8.0"
6621-
resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840"
6622-
integrity sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==
6623-
66246607
"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0:
66256608
version "4.0.0"
66266609
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
@@ -7095,14 +7078,6 @@ map-cache@^0.2.0:
70957078
resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf"
70967079
integrity sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg==
70977080

7098-
match-sorter@^6.0.2:
7099-
version "6.3.1"
7100-
resolved "https://registry.yarnpkg.com/match-sorter/-/match-sorter-6.3.1.tgz#98cc37fda756093424ddf3cbc62bfe9c75b92bda"
7101-
integrity sha512-mxybbo3pPNuA+ZuCUhm5bwNkXrJTbsk5VWbR5wiwz/GC6LIiegBGn2w3O08UG/jdbYLinw51fSQ5xNU1U3MgBw==
7102-
dependencies:
7103-
"@babel/runtime" "^7.12.5"
7104-
remove-accents "0.4.2"
7105-
71067081
md5@^2.2.1:
71077082
version "2.3.0"
71087083
resolved "https://registry.yarnpkg.com/md5/-/md5-2.3.0.tgz#c3da9a6aae3a30b46b7b0c349b87b110dc3bda4f"
@@ -7147,11 +7122,6 @@ micromatch@^4.0.4, micromatch@^4.0.5:
71477122
braces "^3.0.2"
71487123
picomatch "^2.3.1"
71497124

7150-
7151-
version "0.2.0"
7152-
resolved "https://registry.yarnpkg.com/microseconds/-/microseconds-0.2.0.tgz#233b25f50c62a65d861f978a4a4f8ec18797dc39"
7153-
integrity sha512-n7DHHMjR1avBbSpsTBj6fmMGh2AGrifVV4e+WYc3Q9lO+xnSZ3NyhcBND3vzzatt05LFhoKFRxrIyklmLlUtyA==
7154-
71557125
71567126
version "1.52.0"
71577127
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70"
@@ -7262,13 +7232,6 @@ [email protected]:
72627232
resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d"
72637233
integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==
72647234

7265-
7266-
version "1.0.0"
7267-
resolved "https://registry.yarnpkg.com/nano-time/-/nano-time-1.0.0.tgz#b0554f69ad89e22d0907f7a12b0993a5d96137ef"
7268-
integrity sha512-flnngywOoQ0lLQOTRNexn2gGSNuM9bKj9RZAWSzhQ+UJYaAFG9bac4DW9VHjUAzrOaIcajHybCTHe/bkvozQqA==
7269-
dependencies:
7270-
big-integer "^1.6.16"
7271-
72727235
nanoid@^3.3.4:
72737236
version "3.3.4"
72747237
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.4.tgz#730b67e3cd09e2deacf03c027c81c9d9dbc5e8ab"
@@ -7558,11 +7521,6 @@ object.values@^1.1.5, object.values@^1.1.6:
75587521
define-properties "^1.1.4"
75597522
es-abstract "^1.20.4"
75607523

7561-
7562-
version "1.0.0"
7563-
resolved "https://registry.yarnpkg.com/oblivious-set/-/oblivious-set-1.0.0.tgz#c8316f2c2fb6ff7b11b6158db3234c49f733c566"
7564-
integrity sha512-z+pI07qxo4c2CulUHCDf9lcqDlMSo72N/4rLUpRXf6fu+q8vjt8y0xS+Tlf8NTJDdTXHbdeO1n3MlbctwEoXZw==
7565-
75667524
once@^1.3.0, once@^1.3.1, once@^1.4.0:
75677525
version "1.4.0"
75687526
resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
@@ -8226,15 +8184,6 @@ react-popper@^2.3.0:
82268184
react-fast-compare "^3.0.1"
82278185
warning "^4.0.2"
82288186

8229-
react-query@^3.39.2:
8230-
version "3.39.2"
8231-
resolved "https://registry.yarnpkg.com/react-query/-/react-query-3.39.2.tgz#9224140f0296f01e9664b78ed6e4f69a0cc9216f"
8232-
integrity sha512-F6hYDKyNgDQfQOuR1Rsp3VRzJnWHx6aRnnIZHMNGGgbL3SBgpZTDg8MQwmxOgpCAoqZJA+JSNCydF1xGJqKOCA==
8233-
dependencies:
8234-
"@babel/runtime" "^7.5.5"
8235-
broadcast-channel "^3.4.1"
8236-
match-sorter "^6.0.2"
8237-
82388187
82398188
version "18.2.0"
82408189
resolved "https://registry.yarnpkg.com/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5"
@@ -8388,11 +8337,6 @@ remedial@^1.0.7:
83888337
resolved "https://registry.yarnpkg.com/remedial/-/remedial-1.0.8.tgz#a5e4fd52a0e4956adbaf62da63a5a46a78c578a0"
83898338
integrity sha512-/62tYiOe6DzS5BqVsNpH/nkGlX45C/Sp6V+NtiN6JQNS1Viay7cWkazmRkrQrdFj2eshDe96SIQNIoMxqhzBOg==
83908339

8391-
8392-
version "0.4.2"
8393-
resolved "https://registry.yarnpkg.com/remove-accents/-/remove-accents-0.4.2.tgz#0a43d3aaae1e80db919e07ae254b285d9e1c7bb5"
8394-
integrity sha512-7pXIJqJOq5tFgG1A2Zxti3Ht8jJF337m4sowbuHsW30ZnkQFnDzy9qBNhgzX8ZLW4+UBcXiiR7SwR6pokHsxiA==
8395-
83968340
remove-trailing-separator@^1.0.1:
83978341
version "1.1.0"
83988342
resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef"
@@ -8497,20 +8441,20 @@ rfdc@^1.3.0:
84978441
resolved "https://registry.yarnpkg.com/rfdc/-/rfdc-1.3.0.tgz#d0b7c441ab2720d05dc4cf26e01c89631d9da08b"
84988442
integrity sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA==
84998443

8500-
[email protected], rimraf@^3.0.2:
8501-
version "3.0.2"
8502-
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a"
8503-
integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==
8504-
dependencies:
8505-
glob "^7.1.3"
8506-
85078444
rimraf@^2.6.3:
85088445
version "2.7.1"
85098446
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec"
85108447
integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==
85118448
dependencies:
85128449
glob "^7.1.3"
85138450

8451+
rimraf@^3.0.2:
8452+
version "3.0.2"
8453+
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a"
8454+
integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==
8455+
dependencies:
8456+
glob "^7.1.3"
8457+
85148458
rollup-plugin-terser@^7.0.0:
85158459
version "7.0.2"
85168460
resolved "https://registry.yarnpkg.com/rollup-plugin-terser/-/rollup-plugin-terser-7.0.2.tgz#e8fbba4869981b2dc35ae7e8a502d5c6c04d324d"
@@ -9572,14 +9516,6 @@ unixify@^1.0.0:
95729516
dependencies:
95739517
normalize-path "^2.1.1"
95749518

9575-
9576-
version "2.2.0"
9577-
resolved "https://registry.yarnpkg.com/unload/-/unload-2.2.0.tgz#ccc88fdcad345faa06a92039ec0f80b488880ef7"
9578-
integrity sha512-B60uB5TNBLtN6/LsgAf3udH9saB5p7gqJwcFfbOEZ8BcBHnGwCf6G/TGiEqkRAxX7zAFIUtzdrXQSdL3Q/wqNA==
9579-
dependencies:
9580-
"@babel/runtime" "^7.6.2"
9581-
detect-node "^2.0.4"
9582-
95839519
upath@^1.2.0:
95849520
version "1.2.0"
95859521
resolved "https://registry.yarnpkg.com/upath/-/upath-1.2.0.tgz#8f66dbcd55a883acdae4408af8b035a5044c1894"
@@ -9646,6 +9582,11 @@ [email protected]:
96469582
resolved "https://registry.yarnpkg.com/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz#7dbefd6ef3fe4e767a0cf5d7287aacfb5846928a"
96479583
integrity sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==
96489584

9585+
use-sync-external-store@^1.2.0:
9586+
version "1.5.0"
9587+
resolved "https://registry.yarnpkg.com/use-sync-external-store/-/use-sync-external-store-1.5.0.tgz#55122e2a3edd2a6c106174c27485e0fd59bcfca0"
9588+
integrity sha512-Rb46I4cGGVBmjamjphe8L/UnvJD+uPPtTkNvX5mZgqdbavhI4EbgIWJiIHXJ8bc/i9EQGPRh4DwEURJ552Do0A==
9589+
96499590
util-deprecate@^1.0.1, util-deprecate@^1.0.2, util-deprecate@~1.0.1:
96509591
version "1.0.2"
96519592
resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"

0 commit comments

Comments
 (0)