Skip to content

Commit

Permalink
fix: upgrade web3-react (Uniswap#537)
Browse files Browse the repository at this point in the history
* chore: upgrade web3-react

* fix: add resolution for decode-uri-component
  • Loading branch information
vm authored Mar 6, 2023
1 parent 36b0e71 commit 7220284
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 72 deletions.
19 changes: 11 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,14 @@
"@uniswap/universal-router-sdk": "^1.3.8",
"@uniswap/v2-sdk": "^3.0.1",
"@uniswap/v3-sdk": "^3.8.2",
"@web3-react/core": "8.0.35-beta.0",
"@web3-react/eip1193": "8.0.27-beta.0",
"@web3-react/empty": "8.0.20-beta.0",
"@web3-react/metamask": "8.0.30-beta.0",
"@web3-react/network": "8.0.27-beta.0",
"@web3-react/types": "8.0.20-beta.0",
"@web3-react/url": "8.0.25-beta.0",
"@web3-react/walletconnect": "8.0.37-beta.0",
"@web3-react/core": "8.1.1-beta.0",
"@web3-react/eip1193": "8.1.1-beta.0",
"@web3-react/empty": "8.1.1-beta.0",
"@web3-react/metamask": "8.1.1-beta.0",
"@web3-react/network": "8.1.1-beta.0",
"@web3-react/types": "8.1.1-beta.0",
"@web3-react/url": "8.1.1-beta.0",
"@web3-react/walletconnect": "8.1.1-beta.0",
"ajv": "^8.11.0",
"ajv-formats": "^2.1.1",
"cids": "^1.0.0",
Expand Down Expand Up @@ -210,5 +210,8 @@
"wcag-contrast": "^3.0.0",
"webpack": "^5.72.0",
"yarn-deduplicate": "^6.0.0"
},
"resolutions": {
"decode-uri-component": "^0.2.2"
}
}
124 changes: 60 additions & 64 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4013,77 +4013,78 @@
dependencies:
"@walletconnect/window-getters" "^1.0.0"

"@web3-react/core@8.0.35-beta.0":
version "8.0.35-beta.0"
resolved "https://registry.yarnpkg.com/@web3-react/core/-/core-8.0.35-beta.0.tgz#8667483bdbc283fc8377d7f56faba1ec2fcdb095"
integrity sha512-vkEL2Vafu57lTA9T/cd3DNkZoDZ3G/JDUgxgjHqKLQVF4bPucrkeErqIHutAJ4suIi4bLOD0dFPMpFs+Bq7RgA==
dependencies:
"@web3-react/store" "^8.0.25-beta.0"
"@web3-react/types" "^8.0.20-beta.0"
zustand "^4.0.0-rc.0"
"@web3-react/core@8.1.1-beta.0":
version "8.1.1-beta.0"
resolved "https://registry.yarnpkg.com/@web3-react/core/-/core-8.1.1-beta.0.tgz#76b81518829a1dd5bb3e992499824da96b71d2fd"
integrity sha512-7Fbsh+dLKAGrqZfDy+ZrFQraLwgnzrrI36YFdNUawUbLlaGAINFebQTUgQWAiEZ30S0xKLpggAdB+3rxwIqRKg==
dependencies:
"@web3-react/store" "^8.1.1-beta.0"
"@web3-react/types" "^8.1.1-beta.0"
zustand "4.3.3"
optionalDependencies:
"@ethersproject/providers" "^5"

"@web3-react/eip1193@8.0.27-beta.0":
version "8.0.27-beta.0"
resolved "https://registry.yarnpkg.com/@web3-react/eip1193/-/eip1193-8.0.27-beta.0.tgz#b768fc3ae6e234627e6a8ecd4d5c473c371a816b"
integrity sha512-8aca1NDP+qigh/LOxSiC5N44qvVo1z5V7QI4T5iUpNrzbXEXV3G2JXutoW5fNEm+oK5fkHK64p9eZ6lo0qyMbQ==
"@web3-react/eip1193@8.1.1-beta.0":
version "8.1.1-beta.0"
resolved "https://registry.yarnpkg.com/@web3-react/eip1193/-/eip1193-8.1.1-beta.0.tgz#7f1d6065d1e3b7f1c6a4c169a1837d0c2b4a4da2"
integrity sha512-JT/heP/cnRh/wJ3+Y7Rt7SgNrChMRn6iqnmAMadGHq3hdZh5lUeKdgrIEJy5jFKOWqAzm82YNiJ0ZYN8Yd7DhA==
dependencies:
"@web3-react/types" "^8.0.20-beta.0"
"@web3-react/types" "^8.1.1-beta.0"

"@web3-react/empty@8.0.20-beta.0":
version "8.0.20-beta.0"
resolved "https://registry.yarnpkg.com/@web3-react/empty/-/empty-8.0.20-beta.0.tgz#f8e2a6414ba49c7da3937776c213eb4c8ff6e2c7"
integrity sha512-hde1Wq7w03cal6hD0E+seVg6ZFMWKcaSZ0S5UwJi5CDxhF79oL8QuzpvTBslohRkWqzqlvl52wCSVaY+l2+F8Q==
"@web3-react/empty@8.1.1-beta.0":
version "8.1.1-beta.0"
resolved "https://registry.yarnpkg.com/@web3-react/empty/-/empty-8.1.1-beta.0.tgz#b032a721bde722c02c6720e7944110b9622a96cb"
integrity sha512-gmTX7KHrpnJgX/V5lxCpFhEk06RdSl3jCYCf2H9HOlypZ4JcRHNq9wiwUJocdUnhHbdD46J5D9N4YEDhVgtn9g==
dependencies:
"@web3-react/types" "^8.0.20-beta.0"
"@web3-react/types" "^8.1.1-beta.0"

"@web3-react/metamask@8.0.30-beta.0":
version "8.0.30-beta.0"
resolved "https://registry.yarnpkg.com/@web3-react/metamask/-/metamask-8.0.30-beta.0.tgz#afab5d7cf556e3ec77836ff2b4753f6f301cfbeb"
integrity sha512-SzL8/RUmLHEQCdd6KNjEIHXwuYiQrKX5e1Bgipvtm8MKBRk1ty17Aj7MKWNRcl/Qt06pLSxbcEJeT9kPIrc0mg==
"@web3-react/metamask@8.1.1-beta.0":
version "8.1.1-beta.0"
resolved "https://registry.yarnpkg.com/@web3-react/metamask/-/metamask-8.1.1-beta.0.tgz#c67a6ea656b951596e7d47655e7c8da591447e87"
integrity sha512-+LNsX+cZblhXv5ayR/L7KxcyA2C6oQFRANm/KPQVAkz/vFepKcCCcULHrDWzm6PuIQ9e99UqECkerOlI42UFHw==
dependencies:
"@metamask/detect-provider" "^1.2.0"
"@web3-react/types" "^8.0.20-beta.0"
"@web3-react/types" "^8.1.1-beta.0"

"@web3-react/network@8.0.27-beta.0":
version "8.0.27-beta.0"
resolved "https://registry.yarnpkg.com/@web3-react/network/-/network-8.0.27-beta.0.tgz#7cb522b02efc9d0f877ac285f350810fbf322292"
integrity sha512-kLHilUpLkDejx0C5Rr57puQSEVA+BQmT58xN6D/elphcZpVHAIkbh/MCYm0XrnLmqq0uOjw+jDhEYBBn80ncHQ==
"@web3-react/network@8.1.1-beta.0":
version "8.1.1-beta.0"
resolved "https://registry.yarnpkg.com/@web3-react/network/-/network-8.1.1-beta.0.tgz#b6feb407f3d48c9793fdbe428e9e7a29c71f11ee"
integrity sha512-MnuPpxxsbrfbhKPJo9ELYkz6z4x9HDji8VCt9/KHe3p6/tjQL1sobiFZ7tzcderGY20o1VpV46rKFy1kiv0flg==
dependencies:
"@ethersproject/providers" "^5"
"@web3-react/types" "^8.0.20-beta.0"
"@web3-react/types" "^8.1.1-beta.0"

"@web3-react/store@^8.0.25-beta.0":
version "8.0.25-beta.0"
resolved "https://registry.yarnpkg.com/@web3-react/store/-/store-8.0.25-beta.0.tgz#853a029a9f82d8950e306adb455ba308f908c8f4"
integrity sha512-YHrZ42EHiQ9UAJq8Y/pHsyXu6GhzbCSHaQJ9U0wCDhbPoQ9QjOj0Pwcaa/VLXljuynK/7ERP942nI1IzArt9Sg==
"@web3-react/store@^8.1.1-beta.0":
version "8.1.1-beta.0"
resolved "https://registry.yarnpkg.com/@web3-react/store/-/store-8.1.1-beta.0.tgz#7abccfd7fe7b75d98d8ed2a9fdff931ed7e11b3a"
integrity sha512-hPS3QjbIOxDBT4zsKW7+SZ+LDFb7OpbTsdwSypuAUN8Z53biglF5Ge4U8U2jxMvnDvO3AMAOmDGslpF3j+W+Vg==
dependencies:
"@ethersproject/address" "^5"
"@web3-react/types" "^8.0.20-beta.0"
zustand "^4.0.0-rc.0"
"@web3-react/types" "^8.1.1-beta.0"
zustand "4.3.3"

"@web3-react/types@8.0.20-beta.0", "@web3-react/types@^8.0.20-beta.0":
version "8.0.20-beta.0"
resolved "https://registry.yarnpkg.com/@web3-react/types/-/types-8.0.20-beta.0.tgz#6b4509bef8c5c7eb866e49295880c865c20fb565"
integrity sha512-qOZYMyUmsm3Um6t6Pg3OgnE86ufhWZpB5/VxsooB8cdpXc/C/f8KMyYSeM63GoKSMScOKwfqV6yODFL7g/Qc8g==
"@web3-react/types@8.1.1-beta.0", "@web3-react/types@^8.1.1-beta.0":
version "8.1.1-beta.0"
resolved "https://registry.yarnpkg.com/@web3-react/types/-/types-8.1.1-beta.0.tgz#fe1b7bf256053cd6dfebb005cf689aacf04a29e4"
integrity sha512-H9iI8fmaytuNRXdk9+60nnhu3wyPJs6xa836ay+x+pJfqTM9EbJJUsTsNWSBEDevGGUIaE97yKD3izOcvfqnFg==
dependencies:
zustand "^4.0.0-rc.0"
zustand "4.3.3"

"@web3-react/url@8.0.25-beta.0":
version "8.0.25-beta.0"
resolved "https://registry.yarnpkg.com/@web3-react/url/-/url-8.0.25-beta.0.tgz#68e464d2e78b89496e50e9e4a28e91281c4d53d6"
integrity sha512-cjFfAFjsWF5vqJ7TG79HT72jNNWlcS9bqbNK2jvu25zej62zMpPvy4iyYiV7zy2SLbAQTdsgvIMYAdxRbnzlWg==
"@web3-react/url@8.1.1-beta.0":
version "8.1.1-beta.0"
resolved "https://registry.yarnpkg.com/@web3-react/url/-/url-8.1.1-beta.0.tgz#da20ac2c4678b96b55197748718945db5da540e3"
integrity sha512-yRM9vruY5ksqPkvNYD+G+wJe0floRytlQ+K9pVi0XP/jWkE/P4vjW7D7ZGiGsh03fiG895tYqAeqPgVHyMpsag==
dependencies:
"@ethersproject/providers" "^5"
"@web3-react/types" "^8.0.20-beta.0"
"@web3-react/types" "^8.1.1-beta.0"

"@web3-react/walletconnect@8.0.37-beta.0":
version "8.0.37-beta.0"
resolved "https://registry.yarnpkg.com/@web3-react/walletconnect/-/walletconnect-8.0.37-beta.0.tgz#d375dc75f34e9bb225d26a88b16aa2a001b4e3bc"
integrity sha512-BW8tKE0dlFWSLBC/AWKULZbS1axToN7kMREKVY3YK1uj8bMRsoWcOQPceQl21WuEyVXax2V8My8SJgWuxcumvw==
"@web3-react/walletconnect@8.1.1-beta.0":
version "8.1.1-beta.0"
resolved "https://registry.yarnpkg.com/@web3-react/walletconnect/-/walletconnect-8.1.1-beta.0.tgz#6c699e8634bdc66dae7c8b982ba5553bbf86c1c5"
integrity sha512-3amB2uFq0Ixxv+SFr5yuR6f0uqpR+jwIKKaHaNOqfeYLPU24pvRPrudWeVrZGIMoIo3rTeN1UMT7UjZsDQgXUQ==
dependencies:
"@web3-react/types" "^8.0.20-beta.0"
"@walletconnect/ethereum-provider" "^1.7.8"
"@web3-react/types" "^8.1.1-beta.0"
eventemitter3 "^4.0.7"

"@webassemblyjs/[email protected]":
Expand Down Expand Up @@ -6056,10 +6057,10 @@ decimal.js@^10.2.1:
resolved "https://registry.yarnpkg.com/decimal.js/-/decimal.js-10.3.1.tgz#d8c3a444a9c6774ba60ca6ad7261c3a94fd5e783"
integrity sha512-V0pfhfr8suzyPGOx3nmq4aHqabehUZn6Ch9kyFpV79TGDTWFmHqUqXdabR7QHqxzrYolF4+tVmJhUG4OURg5dQ==

decode-uri-component@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545"
integrity sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=
decode-uri-component@^0.2.0, decode-uri-component@^0.2.2:
version "0.2.2"
resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.2.tgz#e69dbe25d37941171dd540e024c444cd5188e1e9"
integrity sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==

dedent@^0.7.0:
version "0.7.0"
Expand Down Expand Up @@ -13309,12 +13310,7 @@ url@^0.11.0:
punycode "1.3.2"
querystring "0.2.0"

[email protected]:
version "1.1.0"
resolved "https://registry.yarnpkg.com/use-sync-external-store/-/use-sync-external-store-1.1.0.tgz#3343c3fe7f7e404db70f8c687adf5c1652d34e82"
integrity sha512-SEnieB2FPKEVne66NpXPd1Np4R1lTNKfjuy3XdIoPQKYBAFdzbzSZlSn1KJZUiihQLQC5Znot4SBz1EOTBwQAQ==

use-sync-external-store@^1.0.0:
[email protected], use-sync-external-store@^1.0.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz#7dbefd6ef3fe4e767a0cf5d7287aacfb5846928a"
integrity sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==
Expand Down Expand Up @@ -13875,9 +13871,9 @@ yocto-queue@^1.0.0:
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-1.0.0.tgz#7f816433fb2cbc511ec8bf7d263c3b58a1a3c251"
integrity sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==

zustand@^4.0.0-rc.0:
version "4.0.0-rc.1"
resolved "https://registry.yarnpkg.com/zustand/-/zustand-4.0.0-rc.1.tgz#ec30a3afc03728adec7e1bd7bcc3592176372201"
integrity sha512-qgcs7zLqBdHu0PuT3GW4WCIY5SgXdsv30GQMu9Qpp1BA2aS+sNS8l4x0hWuyEhjXkN+701aGWawhKDv6oWJAcw==
zustand@4.3.3:
version "4.3.3"
resolved "https://registry.yarnpkg.com/zustand/-/zustand-4.3.3.tgz#c9113499074dde2d6d99c1b5f591e9329572c224"
integrity sha512-x2jXq8S0kfLGNwGh87nhRfEc2eZy37tSatpSoSIN+O6HIaBhgQHSONV/F9VNrNcBcKQu/E80K1DeHDYQC/zCrQ==
dependencies:
use-sync-external-store "1.1.0"
use-sync-external-store "1.2.0"

0 comments on commit 7220284

Please sign in to comment.