Skip to content

Commit

Permalink
Use exact versions of dependencies (#160)
Browse files Browse the repository at this point in the history
* Use exact versions of deps
  • Loading branch information
nezouse authored Apr 12, 2021
1 parent 31bf267 commit 47ff3de
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 21 deletions.
6 changes: 6 additions & 0 deletions .changeset/happy-turtles-cover.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@usedapp/core": patch
"@usedapp/testing": patch
---

Use exact versions of dependencies
10 changes: 5 additions & 5 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@
"typescript": "^4.1.3"
},
"dependencies": {
"@types/react": "^17.0.0",
"@web3-react/core": "^6.1.1",
"@web3-react/injected-connector": "^6.0.7",
"@web3-react/network-connector": "^6.1.5",
"@types/react": "17.0.1",
"@web3-react/core": "6.1.1",
"@web3-react/injected-connector": "6.0.7",
"@web3-react/network-connector": "6.1.5",
"ethers": "5.0.32",
"nanoid": "^3.1.22"
"nanoid": "3.1.22"
},
"peerDependencies": {
"react": "*"
Expand Down
14 changes: 7 additions & 7 deletions packages/testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@
"typescript": "^4.1.3"
},
"dependencies": {
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/react": "17.0.1",
"@types/react-dom": "17.0.1",
"@usedapp/core": "*",
"@web3-react/core": "^6.1.1",
"@web3-react/injected-connector": "^6.0.7",
"@web3-react/core": "6.1.1",
"@web3-react/injected-connector": "6.0.7",
"ethers": "5.0.32",
"ethereum-waffle": "^3.2.2",
"react": "^17.0.1",
"react-dom": "^17.0.1"
"ethereum-waffle": "3.2.2",
"react": "17.0.1",
"react-dom": "17.0.1"
},
"scripts": {
"build": "tsc",
Expand Down
25 changes: 16 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1347,6 +1347,13 @@
resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.3.tgz#2ab0d5da2e5815f94b0b9d4b95d1e5f243ab2ca7"
integrity sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw==

"@types/[email protected]":
version "17.0.1"
resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-17.0.1.tgz#d92d77d020bfb083e07cc8e0ac9f933599a4d56a"
integrity sha512-yIVyopxQb8IDZ7SOHeTovurFq+fXiPICa+GV3gp0Xedsl+MwQlMLKmvrnEjFbQxjliH5YVAEWFh975eVNmKj7Q==
dependencies:
"@types/react" "*"

"@types/react-dom@>=16.9.0", "@types/react-dom@^17.0.0":
version "17.0.0"
resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-17.0.0.tgz#b3b691eb956c4b3401777ee67b900cb28415d95a"
Expand Down Expand Up @@ -1378,7 +1385,7 @@
dependencies:
"@types/react" "*"

"@types/react@*", "@types/react@>=16.9.0", "@types/react@^17.0.0":
"@types/react@*", "@types/react@17.0.1", "@types/react@>=16.9.0", "@types/react@^17.0.0":
version "17.0.1"
resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.1.tgz#eb1f1407dea8da3bc741879c1192aa703ab9975b"
integrity sha512-w8t9f53B2ei4jeOqf/gxtc2Sswnc3LBK5s0DyJcg5xd10tMHXts2N31cKjWfH9IC/JvEPa/YF1U4YeP1t4R6HQ==
Expand Down Expand Up @@ -1551,7 +1558,7 @@
dependencies:
"@web3-react/types" "^6.0.7"

"@web3-react/core@^6.1.1":
"@web3-react/[email protected]":
version "6.1.1"
resolved "https://registry.yarnpkg.com/@web3-react/core/-/core-6.1.1.tgz#06c853890723f600b387b738a4b71ef41d5cccb7"
integrity sha512-HKXOgPNCmFvrVsed+aW/HlVhwzs8t3b+nzg3BoxgJQo/5yLiJXSumHRBdUrPxhBQiHkHRZiVPAvzf/8JMnm74Q==
Expand All @@ -1562,7 +1569,7 @@
tiny-invariant "^1.0.6"
tiny-warning "^1.0.3"

"@web3-react/injected-connector@^6.0.7":
"@web3-react/[email protected]":
version "6.0.7"
resolved "https://registry.yarnpkg.com/@web3-react/injected-connector/-/injected-connector-6.0.7.tgz#1e0be23f51fa07fe6547fe986768a46b74c3a426"
integrity sha512-Y7aJSz6pg+MWKtvdyuqyy6LWuH+4Tqtph1LWfiyVms9II9ar/9B/de4R8wh4wjg91wmHkU+D75yP09E/Soh2RA==
Expand All @@ -1571,9 +1578,9 @@
"@web3-react/types" "^6.0.7"
tiny-warning "^1.0.3"

"@web3-react/network-connector@^6.1.5":
"@web3-react/[email protected]":
version "6.1.5"
resolved "https://registry.npmjs.org/@web3-react/network-connector/-/network-connector-6.1.5.tgz#1fcce1dc7b03dac23fcc01ad0b0c870cb0e39e0b"
resolved "https://registry.yarnpkg.com/@web3-react/network-connector/-/network-connector-6.1.5.tgz#1fcce1dc7b03dac23fcc01ad0b0c870cb0e39e0b"
integrity sha512-Uwk8iMG8YCnTeKmyXt3Q7QJN28qTs0YTTW8/aes2R26KmYWCk3GdL2eal0QcXUixJy/IjrhXzbwzHgpneJqrWg==
dependencies:
"@web3-react/abstract-connector" "^6.0.7"
Expand Down Expand Up @@ -4773,7 +4780,7 @@ ethereum-cryptography@^0.1.3:
secp256k1 "^4.0.1"
setimmediate "^1.0.5"

ethereum-waffle@^3.2.2:
ethereum-waffle@3.2.2, ethereum-waffle@^3.2.2:
version "3.2.2"
resolved "https://registry.yarnpkg.com/ethereum-waffle/-/ethereum-waffle-3.2.2.tgz#dbcdb96ebfa35d4deb6b749906ff7e12f593284f"
integrity sha512-Q8XrcFmQGDKKH0Lr867WA9Rl0oWQGMZcFrFPMV2KBIOkdeQnRlGEJq8RGFxj4MMWWxkoXIoxWgxg7U3qdgddEw==
Expand Down Expand Up @@ -7838,7 +7845,7 @@ [email protected]:
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.12.tgz#6f7736c62e8d39421601e4a0c77623a97ea69654"
integrity sha512-1qstj9z5+x491jfiC4Nelk+f8XBad7LN20PmyWINJEMRSf3wcAjAWysw1qaA8z6NSKe2sjq1hRSDpBH5paCb6A==

nanoid@^3.1.22:
[email protected]:
version "3.1.22"
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.22.tgz#b35f8fb7d151990a8aebd5aa5015c03cf726f844"
integrity sha512-/2ZUaJX2ANuLtTvqTlgqBQNJoQO398KyJgZloL0PZkC0dpysjncRUPsFe3DUPzz/y3h+u7C46np8RMuvF3jsSQ==
Expand Down Expand Up @@ -8893,7 +8900,7 @@ [email protected]:
iconv-lite "0.4.24"
unpipe "1.0.0"

react-dom@^17.0.0, react-dom@^17.0.1:
[email protected].1, react-dom@^17.0.0:
version "17.0.1"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-17.0.1.tgz#1de2560474ec9f0e334285662ede52dbc5426fc6"
integrity sha512-6eV150oJZ9U2t9svnsspTMrWNyHc6chX0KzDeAOXftRa8bNeOKTTfCJ7KorIwenkHd2xqVTBTCZd79yk/lx/Ug==
Expand Down Expand Up @@ -8953,7 +8960,7 @@ [email protected]:
tiny-invariant "^1.0.2"
tiny-warning "^1.0.0"

react@^17.0.0, react@^17.0.1:
[email protected].1, react@^17.0.0:
version "17.0.1"
resolved "https://registry.yarnpkg.com/react/-/react-17.0.1.tgz#6e0600416bd57574e3f86d92edba3d9008726127"
integrity sha512-lG9c9UuMHdcAexXtigOZLX8exLWkW0Ku29qPRU8uhF2R9BN96dLCt0psvzPLlHc5OWkgymP3qwTRgbnw5BKx3w==
Expand Down

0 comments on commit 47ff3de

Please sign in to comment.