From 09a00fc315850d0b040f371e366d5f72b6de39ac Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 6 Jan 2024 18:58:54 +0000 Subject: [PATCH] fix: upgrade js-sha3 from 0.8.0 to 0.9.3 Snyk has created this PR to upgrade js-sha3 from 0.8.0 to 0.9.3. See this package in npm: https://www.npmjs.com/package/js-sha3 See this project in Snyk: https://app.snyk.io/org/balantion2020/project/7fe63100-8e90-4b75-9c53-96e24a42d517?utm_source=github&utm_medium=referral&page=upgrade-pr --- web3.js/package-lock.json | 28 +++++++++++++++++++++------- web3.js/package.json | 2 +- 2 files changed, 22 insertions(+), 8 deletions(-) diff --git a/web3.js/package-lock.json b/web3.js/package-lock.json index 39778b9966219a..17d09440c9c93b 100644 --- a/web3.js/package-lock.json +++ b/web3.js/package-lock.json @@ -18,7 +18,7 @@ "buffer": "6.0.1", "cross-fetch": "^3.1.5", "jayson": "^3.4.4", - "js-sha3": "^0.8.0", + "js-sha3": "^0.9.3", "rpc-websockets": "^7.4.2", "secp256k1": "^4.0.2", "superstruct": "^0.14.2", @@ -3926,6 +3926,12 @@ "tweetnacl": "^1.0.0" } }, + "node_modules/@solana/web3.js/node_modules/js-sha3": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", + "integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==", + "dev": true + }, "node_modules/@tootallnate/once": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", @@ -9671,9 +9677,9 @@ } }, "node_modules/js-sha3": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", - "integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==" + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.9.3.tgz", + "integrity": "sha512-BcJPCQeLg6WjEx3FE591wVAevlli8lxsxm9/FzV4HXkV49TmBH38Yvrpce6fjbADGMKFrBMGTqrVz3qPIZ88Gg==" }, "node_modules/js-tokens": { "version": "4.0.0", @@ -20798,6 +20804,14 @@ "secp256k1": "^4.0.2", "superstruct": "^0.14.2", "tweetnacl": "^1.0.0" + }, + "dependencies": { + "js-sha3": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", + "integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==", + "dev": true + } } }, "@tootallnate/once": { @@ -25354,9 +25368,9 @@ } }, "js-sha3": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", - "integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==" + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.9.3.tgz", + "integrity": "sha512-BcJPCQeLg6WjEx3FE591wVAevlli8lxsxm9/FzV4HXkV49TmBH38Yvrpce6fjbADGMKFrBMGTqrVz3qPIZ88Gg==" }, "js-tokens": { "version": "4.0.0", diff --git a/web3.js/package.json b/web3.js/package.json index ad9c321d3dff3d..1e188b25485d81 100644 --- a/web3.js/package.json +++ b/web3.js/package.json @@ -67,7 +67,7 @@ "buffer": "6.0.1", "cross-fetch": "^3.1.5", "jayson": "^3.4.4", - "js-sha3": "^0.8.0", + "js-sha3": "^0.9.3", "rpc-websockets": "^7.4.2", "secp256k1": "^4.0.2", "superstruct": "^0.14.2",