From 80e1ed7fb88002c2217f89729d80431d4c508672 Mon Sep 17 00:00:00 2001 From: Rinat Date: Tue, 15 Oct 2024 06:51:30 +0200 Subject: [PATCH 1/2] feat: update uniswap deps (#956) --- packages/nextjs/package.json | 4 ++-- yarn.lock | 33 ++++++++++++++++++--------------- 2 files changed, 20 insertions(+), 17 deletions(-) diff --git a/packages/nextjs/package.json b/packages/nextjs/package.json index e5d265f27..4e69f805c 100644 --- a/packages/nextjs/package.json +++ b/packages/nextjs/package.json @@ -17,8 +17,8 @@ "@heroicons/react": "^2.1.5", "@rainbow-me/rainbowkit": "2.1.6", "@tanstack/react-query": "^5.28.6", - "@uniswap/sdk-core": "^4.0.1", - "@uniswap/v2-sdk": "^3.0.1", + "@uniswap/sdk-core": "^5.8.2", + "@uniswap/v2-sdk": "^4.6.1", "blo": "^1.0.1", "burner-connector": "^0.0.8", "daisyui": "4.12.10", diff --git a/yarn.lock b/yarn.lock index f102dfd2f..6383f3daf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -424,7 +424,7 @@ __metadata: languageName: node linkType: hard -"@ethersproject/address@npm:5.7.0, @ethersproject/address@npm:^5.0.0, @ethersproject/address@npm:^5.0.2, @ethersproject/address@npm:^5.7.0": +"@ethersproject/address@npm:5.7.0, @ethersproject/address@npm:^5.0.2, @ethersproject/address@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/address@npm:5.7.0" dependencies: @@ -679,7 +679,7 @@ __metadata: languageName: node linkType: hard -"@ethersproject/solidity@npm:5.7.0, @ethersproject/solidity@npm:^5.0.0, @ethersproject/solidity@npm:^5.7.0": +"@ethersproject/solidity@npm:5.7.0, @ethersproject/solidity@npm:^5.0.9, @ethersproject/solidity@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/solidity@npm:5.7.0" dependencies: @@ -2171,8 +2171,8 @@ __metadata: "@types/node": ^18.19.50 "@types/react": ^18.3.5 "@typescript-eslint/eslint-plugin": ^5.39.0 - "@uniswap/sdk-core": ^4.0.1 - "@uniswap/v2-sdk": ^3.0.1 + "@uniswap/sdk-core": ^5.8.2 + "@uniswap/v2-sdk": ^4.6.1 abitype: 1.0.6 autoprefixer: ^10.4.20 blo: ^1.0.1 @@ -3086,30 +3086,33 @@ __metadata: languageName: node linkType: hard -"@uniswap/sdk-core@npm:^4.0.1, @uniswap/sdk-core@npm:^4.0.7": - version: 4.0.7 - resolution: "@uniswap/sdk-core@npm:4.0.7" +"@uniswap/sdk-core@npm:^5.8.1, @uniswap/sdk-core@npm:^5.8.2": + version: 5.8.2 + resolution: "@uniswap/sdk-core@npm:5.8.2" dependencies: "@ethersproject/address": ^5.0.2 + "@ethersproject/bytes": ^5.7.0 + "@ethersproject/keccak256": 5.7.0 + "@ethersproject/strings": 5.7.0 big.js: ^5.2.2 decimal.js-light: ^2.5.0 jsbi: ^3.1.4 tiny-invariant: ^1.1.0 toformat: ^2.0.0 - checksum: b89ce380206f14fef70fb233c34edb439e9602bc4c17c4801e3032ed6e4b932d71942f677535c996c55e724f9dd7fac42443e117f75bae9348300380e50d95a5 + checksum: fde13653021cea136e4e8d2e04e7f45559e5cd64481fcd0b087a9cd674bfe053c05faeb5a844651b20dd0b70717723746c7f82060e99a057de9561800f8f0606 languageName: node linkType: hard -"@uniswap/v2-sdk@npm:^3.0.1": - version: 3.2.1 - resolution: "@uniswap/v2-sdk@npm:3.2.1" +"@uniswap/v2-sdk@npm:^4.6.1": + version: 4.6.1 + resolution: "@uniswap/v2-sdk@npm:4.6.1" dependencies: - "@ethersproject/address": ^5.0.0 - "@ethersproject/solidity": ^5.0.0 - "@uniswap/sdk-core": ^4.0.7 + "@ethersproject/address": ^5.0.2 + "@ethersproject/solidity": ^5.0.9 + "@uniswap/sdk-core": ^5.8.1 tiny-invariant: ^1.1.0 tiny-warning: ^1.0.3 - checksum: 519c01e840878d03b99f0220da3a686afa097287b1c10fc65aaabd0555bab0fbcb013ac6d991453f70161e2e804b0e0797fb853d635acf56eae133671fdcb515 + checksum: 0d4c1e58feef7d65c143a776447dbe4e0c06c2f2b6877d57b2db3056a4f8c441c503449f5bfa150ac9e02516ef1c6f5fce5bc89a55d637311bc3e5c8e01ef163 languageName: node linkType: hard From 4edea7dc1a568ef7adaef326b356a0e81b665dd7 Mon Sep 17 00:00:00 2001 From: Rinat Date: Wed, 16 Oct 2024 14:47:51 +0200 Subject: [PATCH 2/2] feat: update envfile (#958) --- packages/hardhat/package.json | 2 +- yarn.lock | 41 ++++++++++++++++++++++++++++++----- 2 files changed, 36 insertions(+), 7 deletions(-) diff --git a/packages/hardhat/package.json b/packages/hardhat/package.json index 56db63a9e..5936d5b0b 100644 --- a/packages/hardhat/package.json +++ b/packages/hardhat/package.json @@ -50,7 +50,7 @@ "@openzeppelin/contracts": "^5.0.2", "@typechain/ethers-v6": "^0.5.1", "dotenv": "^16.0.3", - "envfile": "^6.18.0", + "envfile": "^7.1.0", "qrcode": "^1.5.1" } } diff --git a/yarn.lock b/yarn.lock index 6383f3daf..852eb4be7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2142,7 +2142,7 @@ __metadata: "@typescript-eslint/parser": latest chai: ^4.5.0 dotenv: ^16.0.3 - envfile: ^6.18.0 + envfile: ^7.1.0 eslint: ^8.26.0 eslint-config-prettier: ^8.5.0 eslint-plugin-prettier: ^4.2.1 @@ -5968,12 +5968,12 @@ __metadata: languageName: node linkType: hard -"envfile@npm:^6.18.0": - version: 6.18.0 - resolution: "envfile@npm:6.18.0" +"envfile@npm:^7.1.0": + version: 7.1.0 + resolution: "envfile@npm:7.1.0" bin: envfile: bin.cjs - checksum: 3a3762994d7b84ccf0293c1269cdfa5ea8971bdbbf7e3571fb686a6415eee2029e43d3faf36ed4222a83eaaf38fbc4fa37b3f50b77ea417ca35561e0e54059c1 + checksum: 63c6e49c19763dafbac6c3665907aed04215f617a4679c12bf006d2de7f3b93431fe46764c52288ca783e01c77ea31de44c563ca16a1d783bd668a9bb31f034e languageName: node linkType: hard @@ -13536,6 +13536,15 @@ __metadata: languageName: node linkType: hard +"use-sync-external-store@npm:1.2.2": + version: 1.2.2 + resolution: "use-sync-external-store@npm:1.2.2" + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + checksum: fe07c071c4da3645f112c38c0e57beb479a8838616ff4e92598256ecce527f2888c08febc7f9b2f0ce2f0e18540ba3cde41eb2035e4fafcb4f52955037098a81 + languageName: node + linkType: hard + "usehooks-ts@npm:^2.13.0": version: 2.13.0 resolution: "usehooks-ts@npm:2.13.0" @@ -14320,7 +14329,7 @@ __metadata: languageName: node linkType: hard -"zustand@npm:4.4.1, zustand@npm:^4.1.2": +"zustand@npm:4.4.1": version: 4.4.1 resolution: "zustand@npm:4.4.1" dependencies: @@ -14339,3 +14348,23 @@ __metadata: checksum: 80acd0fbf633782996642802c8692bbb80ae5c80a8dff4c501b88250acd5ccd468fbc6398bdce198475a25e3839c91385b81da921274f33ffb5c2d08c3eab400 languageName: node linkType: hard + +"zustand@npm:^4.1.2": + version: 4.5.5 + resolution: "zustand@npm:4.5.5" + dependencies: + use-sync-external-store: 1.2.2 + peerDependencies: + "@types/react": ">=16.8" + immer: ">=9.0.6" + react: ">=16.8" + peerDependenciesMeta: + "@types/react": + optional: true + immer: + optional: true + react: + optional: true + checksum: 654e47959970bc66bbf2ae80fced7e556dd488e9ee54eb678330cb036ecc7184f4b8c2cae273be28022533622c54ab6339bf3fe30d19236367c5c251b6c6679a + languageName: node + linkType: hard