From ce7e7150b41ab88c13e1250cf5da3d8c1690eb75 Mon Sep 17 00:00:00 2001 From: Inkvi Date: Thu, 27 Jun 2024 13:36:19 -0700 Subject: [PATCH] Update ethers to fix a vulnerability --- package-lock.json | 38 +++++++++----------------------------- package.json | 2 +- 2 files changed, 10 insertions(+), 30 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0d9f0d5..04bb46a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "asn1js": "^3.0.5", "axios": "^1.6.8", "bn.js": "^5.2.1", - "ethers": "^6.12.1", + "ethers": "^6.13.1", "fast-crc32c": "github:ChainSafe/node-fast-crc32c", "fastify": "^4.27.0", "uuid": "^8.3.2", @@ -1172,9 +1172,9 @@ } }, "node_modules/ethers": { - "version": "6.12.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.12.1.tgz", - "integrity": "sha512-j6wcVoZf06nqEcBbDWkKg8Fp895SS96dSnTCjiXT+8vt2o02raTn4Lo9ERUuIVU5bAjoPYeA+7ytQFexFmLuVw==", + "version": "6.13.1", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.1.tgz", + "integrity": "sha512-hdJ2HOxg/xx97Lm9HdCWk949BfYqYWpyw4//78SiwOLgASyfrNszfMUNB2joKjvGUdwhHfaiMMFFwacVVoLR9A==", "funding": [ { "type": "individual", @@ -1192,7 +1192,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -2710,26 +2710,6 @@ "npm": ">=6.12.0" } }, - "node_modules/web3-providers-ws/node_modules/ws": { - "version": "8.17.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.0.tgz", - "integrity": "sha512-uJq6108EgZMAl20KagGkzCKfMEjxmKvZHG7Tlq0Z6nOky7YF7aq4mOx6xK8TJ/i1LeK4Qus7INktacctDgY8Ow==", - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": ">=5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, "node_modules/web3-rpc-methods": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/web3-rpc-methods/-/web3-rpc-methods-1.2.0.tgz", @@ -2839,15 +2819,15 @@ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/package.json b/package.json index 8233744..2a57698 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "asn1js": "^3.0.5", "axios": "^1.6.8", "bn.js": "^5.2.1", - "ethers": "^6.12.1", + "ethers": "^6.13.1", "fast-crc32c": "github:ChainSafe/node-fast-crc32c", "fastify": "^4.27.0", "uuid": "^8.3.2",