diff --git a/packages/dev-frontend/package.json b/packages/dev-frontend/package.json index a26e49e940..f5e9296604 100644 --- a/packages/dev-frontend/package.json +++ b/packages/dev-frontend/package.json @@ -16,7 +16,7 @@ "@metamask/eth-sig-util": "5.1.0", "@tippyjs/react": "4.2.6", "connectkit": "^1.3.0", - "ethers": "5.7.2", + "ethers": "6.13.4", "hashconnect": "^3.0.13", "i18next": "^23.11.2", "lambert-w-function": "3.0.0", diff --git a/packages/lib-ethers/package.json b/packages/lib-ethers/package.json index 7b6bfa2e5a..6d02c70115 100644 --- a/packages/lib-ethers/package.json +++ b/packages/lib-ethers/package.json @@ -36,7 +36,7 @@ }, "peerDependencies": { "@liquity/lib-base": "^3.0.0", - "ethers": "^5.3.0" + "ethers": "^5.3.0 || ^6.0.0" }, "devDependencies": { "@microsoft/api-extractor": "7.47.11", @@ -59,7 +59,7 @@ "dotenv": "16.4.5", "eslint": "7.32.0", "eslint-plugin-tsdoc": "0.3.0", - "ethers": "5.7.2", + "ethers": "6.13.4", "fs-extra": "11.2.0", "hardhat": "2.22.13", "npm-run-all2": "6.2.4", diff --git a/packages/providers/package.json b/packages/providers/package.json index ca27d17d3e..c3b507c4e3 100644 --- a/packages/providers/package.json +++ b/packages/providers/package.json @@ -18,11 +18,11 @@ "prepare": "tsc --project tsconfig.dist.json" }, "devDependencies": { - "ethers": "5.7.2", + "ethers": "6.13.4", "ts-node": "10.9.2", "typescript": "4.1.5" }, "peerDependencies": { - "ethers": "^5.3.0" + "ethers": "^5.3.0 || ^6.0.0" } } diff --git a/yarn.lock b/yarn.lock index f38600d567..5f263abb4d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -19,7 +19,7 @@ __metadata: languageName: node linkType: hard -"@adraffy/ens-normalize@npm:^1.8.8": +"@adraffy/ens-normalize@npm:1.10.1, @adraffy/ens-normalize@npm:^1.8.8": version: 1.10.1 resolution: "@adraffy/ens-normalize@npm:1.10.1" checksum: 0836f394ea256972ec19a0b5e78cb7f5bcdfd48d8a32c7478afc94dd53ae44c04d1aa2303d7f3077b4f3ac2323b1f557ab9188e8059978748fdcd83e04a80dcc @@ -1915,7 +1915,7 @@ __metadata: eslint: 8.57.1 eslint-plugin-react-hooks: 4.6.2 eslint-plugin-react-refresh: 0.4.13 - ethers: 5.7.2 + ethers: 6.13.4 hashconnect: ^3.0.13 i18next: ^23.11.2 jsdom: 25.0.1 @@ -1985,7 +1985,7 @@ __metadata: dotenv: 16.4.5 eslint: 7.32.0 eslint-plugin-tsdoc: 0.3.0 - ethers: 5.7.2 + ethers: 6.13.4 fs-extra: 11.2.0 hardhat: 2.22.13 npm-run-all2: 6.2.4 @@ -1994,7 +1994,7 @@ __metadata: ws: 8.18.0 peerDependencies: "@liquity/lib-base": ^3.0.0 - ethers: ^5.3.0 + ethers: ^5.3.0 || ^6.0.0 languageName: unknown linkType: soft @@ -2056,11 +2056,11 @@ __metadata: version: 0.0.0-use.local resolution: "@liquity/providers@workspace:packages/providers" dependencies: - ethers: 5.7.2 + ethers: 6.13.4 ts-node: 10.9.2 typescript: 4.1.5 peerDependencies: - ethers: ^5.3.0 + ethers: ^5.3.0 || ^6.0.0 languageName: unknown linkType: soft @@ -2389,6 +2389,15 @@ __metadata: languageName: node linkType: hard +"@noble/curves@npm:1.2.0": + version: 1.2.0 + resolution: "@noble/curves@npm:1.2.0" + dependencies: + "@noble/hashes": 1.3.2 + checksum: bb798d7a66d8e43789e93bc3c2ddff91a1e19fdb79a99b86cd98f1e5eff0ee2024a2672902c2576ef3577b6f282f3b5c778bebd55761ddbb30e36bf275e83dd0 + languageName: node + linkType: hard + "@noble/curves@npm:1.3.0, @noble/curves@npm:~1.3.0": version: 1.3.0 resolution: "@noble/curves@npm:1.3.0" @@ -2421,6 +2430,13 @@ __metadata: languageName: node linkType: hard +"@noble/hashes@npm:1.3.2": + version: 1.3.2 + resolution: "@noble/hashes@npm:1.3.2" + checksum: fe23536b436539d13f90e4b9be843cc63b1b17666a07634a2b1259dded6f490be3d050249e6af98076ea8f2ea0d56f578773c2197f2aa0eeaa5fba5bc18ba474 + languageName: node + linkType: hard + "@noble/hashes@npm:1.3.3, @noble/hashes@npm:~1.3.2": version: 1.3.3 resolution: "@noble/hashes@npm:1.3.3" @@ -5009,6 +5025,15 @@ __metadata: languageName: node linkType: hard +"@types/node@npm:22.7.5": + version: 22.7.5 + resolution: "@types/node@npm:22.7.5" + dependencies: + undici-types: ~6.19.2 + checksum: 1a8bbb504efaffcef7b8491074a428e5c0b5425b0c0ffb13e7262cb8462c275e8cc5eaf90a38d8fbf52a1eeda7c01ab3b940673c43fc2414140779c973e40ec6 + languageName: node + linkType: hard + "@types/node@npm:>=12.12.47": version: 20.11.20 resolution: "@types/node@npm:20.11.20" @@ -6680,6 +6705,13 @@ __metadata: languageName: node linkType: hard +"aes-js@npm:4.0.0-beta.5": + version: 4.0.0-beta.5 + resolution: "aes-js@npm:4.0.0-beta.5" + checksum: cc2ea969d77df939c32057f7e361b6530aa6cb93cb10617a17a45cd164e6d761002f031ff6330af3e67e58b1f0a3a8fd0b63a720afd591a653b02f649470e15b + languageName: node + linkType: hard + "aes-js@npm:^3.1.2": version: 3.1.2 resolution: "aes-js@npm:3.1.2" @@ -10154,7 +10186,22 @@ __metadata: languageName: node linkType: hard -"ethers@npm:5.7.2, ethers@npm:^5.7.0, ethers@npm:^5.7.2": +"ethers@npm:6.13.4": + version: 6.13.4 + resolution: "ethers@npm:6.13.4" + dependencies: + "@adraffy/ens-normalize": 1.10.1 + "@noble/curves": 1.2.0 + "@noble/hashes": 1.3.2 + "@types/node": 22.7.5 + aes-js: 4.0.0-beta.5 + tslib: 2.7.0 + ws: 8.17.1 + checksum: a64ad0f05ed7f79bf3092cd54ac11c3ed4a0a3fe8ee00a81053b5b4a34d84728c12fa5aa9bf3e2cc5efabbf1a0a37f62cd3a1852cf780a1ab619421fa03c2713 + languageName: node + linkType: hard + +"ethers@npm:^5.7.0, ethers@npm:^5.7.2": version: 5.7.2 resolution: "ethers@npm:5.7.2" dependencies: @@ -18437,6 +18484,13 @@ __metadata: languageName: node linkType: hard +"tslib@npm:2.7.0": + version: 2.7.0 + resolution: "tslib@npm:2.7.0" + checksum: 1606d5c89f88d466889def78653f3aab0f88692e80bb2066d090ca6112ae250ec1cfa9dbfaab0d17b60da15a4186e8ec4d893801c67896b277c17374e36e1d28 + languageName: node + linkType: hard + "tslib@npm:^2.0.0, tslib@npm:^2.1.0, tslib@npm:^2.3.1": version: 2.5.1 resolution: "tslib@npm:2.5.1" @@ -18768,6 +18822,13 @@ __metadata: languageName: node linkType: hard +"undici-types@npm:~6.19.2": + version: 6.19.8 + resolution: "undici-types@npm:6.19.8" + checksum: de51f1b447d22571cf155dfe14ff6d12c5bdaec237c765085b439c38ca8518fc360e88c70f99469162bf2e14188a7b0bcb06e1ed2dc031042b984b0bb9544017 + languageName: node + linkType: hard + "undici@npm:^5.14.0": version: 5.28.4 resolution: "undici@npm:5.28.4" @@ -19908,6 +19969,21 @@ __metadata: languageName: node linkType: hard +"ws@npm:8.17.1": + version: 8.17.1 + resolution: "ws@npm:8.17.1" + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: ">=5.0.2" + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + checksum: 442badcce1f1178ec87a0b5372ae2e9771e07c4929a3180321901f226127f252441e8689d765aa5cfba5f50ac60dd830954afc5aeae81609aefa11d3ddf5cecf + languageName: node + linkType: hard + "ws@npm:8.18.0, ws@npm:^8.18.0": version: 8.18.0 resolution: "ws@npm:8.18.0"