From 152aec24043d82ad8c4ec06aff0b510fa9541619 Mon Sep 17 00:00:00 2001 From: hmiao <739025250@qq.com> Date: Fri, 11 Nov 2022 15:21:26 +0800 Subject: [PATCH] remove @ethereumjs/util package --- package-lock.json | 74 ----------------------------------------------- package.json | 1 - yarn.lock | 29 ------------------- 3 files changed, 104 deletions(-) diff --git a/package-lock.json b/package-lock.json index b4c8ae6..8aa7905 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,6 @@ "license": "ISC", "dependencies": { "@ethereumjs/tx": "^3.3.2", - "@ethereumjs/util": "^8.0.2", "@grpc/grpc-js": "^1.2.3", "@grpc/proto-loader": "^0.5.5", "@poanet/solidity-flattener": "^3.0.6", @@ -500,17 +499,6 @@ "ethereumjs-util": "^7.1.1" } }, - "node_modules/@ethereumjs/rlp": { - "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/@ethereumjs/rlp/-/rlp-4.0.0.tgz", - "integrity": "sha512-LM4jS5n33bJN60fM5EC8VeyhUgga6/DjCPBV2vWjnfVtobqtOiNC4SQ1MRFqyBSmJGGdB533JZWewyvlcdJtkQ==", - "bin": { - "rlp": "bin/rlp" - }, - "engines": { - "node": ">=14" - } - }, "node_modules/@ethereumjs/tx": { "version": "3.3.2", "resolved": "https://registry.npmjs.org/@ethereumjs/tx/-/tx-3.3.2.tgz", @@ -521,35 +509,6 @@ "ethereumjs-util": "^7.1.2" } }, - "node_modules/@ethereumjs/util": { - "version": "8.0.2", - "resolved": "https://registry.npmmirror.com/@ethereumjs/util/-/util-8.0.2.tgz", - "integrity": "sha512-b1Fcxmq+ckCdoLPhVIBkTcH8szigMapPuEmD8EDakvtI5Na5rzmX1sBW73YQqaPc7iUxGCAzZP1LrFQ7aEMugA==", - "dependencies": { - "@ethereumjs/rlp": "^4.0.0-beta.2", - "async": "^3.2.4", - "ethereum-cryptography": "^1.1.2" - }, - "engines": { - "node": ">=14" - } - }, - "node_modules/@ethereumjs/util/node_modules/async": { - "version": "3.2.4", - "resolved": "https://registry.npmmirror.com/async/-/async-3.2.4.tgz", - "integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==" - }, - "node_modules/@ethereumjs/util/node_modules/ethereum-cryptography": { - "version": "1.1.2", - "resolved": "https://registry.npmmirror.com/ethereum-cryptography/-/ethereum-cryptography-1.1.2.tgz", - "integrity": "sha512-XDSJlg4BD+hq9N2FjvotwUET9Tfxpxc3kWGE2AqUG5vcbeunnbImVk3cj6e/xT3phdW21mE8R5IugU4fspQDcQ==", - "dependencies": { - "@noble/hashes": "1.1.2", - "@noble/secp256k1": "1.6.3", - "@scure/bip32": "1.1.0", - "@scure/bip39": "1.1.0" - } - }, "node_modules/@ethersproject/abi": { "version": "5.0.7", "resolved": "https://registry.npmjs.org/@ethersproject/abi/-/abi-5.0.7.tgz", @@ -7092,11 +7051,6 @@ "ethereumjs-util": "^7.1.1" } }, - "@ethereumjs/rlp": { - "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/@ethereumjs/rlp/-/rlp-4.0.0.tgz", - "integrity": "sha512-LM4jS5n33bJN60fM5EC8VeyhUgga6/DjCPBV2vWjnfVtobqtOiNC4SQ1MRFqyBSmJGGdB533JZWewyvlcdJtkQ==" - }, "@ethereumjs/tx": { "version": "3.3.2", "resolved": "https://registry.npmjs.org/@ethereumjs/tx/-/tx-3.3.2.tgz", @@ -7106,34 +7060,6 @@ "ethereumjs-util": "^7.1.2" } }, - "@ethereumjs/util": { - "version": "8.0.2", - "resolved": "https://registry.npmmirror.com/@ethereumjs/util/-/util-8.0.2.tgz", - "integrity": "sha512-b1Fcxmq+ckCdoLPhVIBkTcH8szigMapPuEmD8EDakvtI5Na5rzmX1sBW73YQqaPc7iUxGCAzZP1LrFQ7aEMugA==", - "requires": { - "@ethereumjs/rlp": "^4.0.0-beta.2", - "async": "^3.2.4", - "ethereum-cryptography": "^1.1.2" - }, - "dependencies": { - "async": { - "version": "3.2.4", - "resolved": "https://registry.npmmirror.com/async/-/async-3.2.4.tgz", - "integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==" - }, - "ethereum-cryptography": { - "version": "1.1.2", - "resolved": "https://registry.npmmirror.com/ethereum-cryptography/-/ethereum-cryptography-1.1.2.tgz", - "integrity": "sha512-XDSJlg4BD+hq9N2FjvotwUET9Tfxpxc3kWGE2AqUG5vcbeunnbImVk3cj6e/xT3phdW21mE8R5IugU4fspQDcQ==", - "requires": { - "@noble/hashes": "1.1.2", - "@noble/secp256k1": "1.6.3", - "@scure/bip32": "1.1.0", - "@scure/bip39": "1.1.0" - } - } - } - }, "@ethersproject/abi": { "version": "5.0.7", "resolved": "https://registry.npmjs.org/@ethersproject/abi/-/abi-5.0.7.tgz", diff --git a/package.json b/package.json index dab5117..447d1a9 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,6 @@ "repository": "https://git.dev.yuanben.org/users/maowei/repos/smart-contract-utils/browse", "dependencies": { "@ethereumjs/tx": "^3.3.2", - "@ethereumjs/util": "^8.0.2", "@grpc/grpc-js": "^1.2.3", "@grpc/proto-loader": "^0.5.5", "@poanet/solidity-flattener": "^3.0.6", diff --git a/yarn.lock b/yarn.lock index f48190e..c323b68 100644 --- a/yarn.lock +++ b/yarn.lock @@ -233,11 +233,6 @@ "crc-32" "^1.2.0" "ethereumjs-util" "^7.1.1" -"@ethereumjs/rlp@^4.0.0-beta.2": - "integrity" "sha512-LM4jS5n33bJN60fM5EC8VeyhUgga6/DjCPBV2vWjnfVtobqtOiNC4SQ1MRFqyBSmJGGdB533JZWewyvlcdJtkQ==" - "resolved" "https://registry.npmmirror.com/@ethereumjs/rlp/-/rlp-4.0.0.tgz" - "version" "4.0.0" - "@ethereumjs/tx@^3.2.1", "@ethereumjs/tx@^3.3.0", "@ethereumjs/tx@^3.3.2": "integrity" "sha512-6AaJhwg4ucmwTvw/1qLaZUX5miWrwZ4nLOUsKyb/HtzS3BMw/CasKhdi1ims9mBKeK9sOJCH4qGKOBGyJCeeog==" "resolved" "https://registry.npmjs.org/@ethereumjs/tx/-/tx-3.3.2.tgz" @@ -246,15 +241,6 @@ "@ethereumjs/common" "^2.5.0" "ethereumjs-util" "^7.1.2" -"@ethereumjs/util@^8.0.2": - "integrity" "sha512-b1Fcxmq+ckCdoLPhVIBkTcH8szigMapPuEmD8EDakvtI5Na5rzmX1sBW73YQqaPc7iUxGCAzZP1LrFQ7aEMugA==" - "resolved" "https://registry.npmmirror.com/@ethereumjs/util/-/util-8.0.2.tgz" - "version" "8.0.2" - dependencies: - "@ethereumjs/rlp" "^4.0.0-beta.2" - "async" "^3.2.4" - "ethereum-cryptography" "^1.1.2" - "@ethersproject/abi@^5.6.3": "integrity" "sha512-351ktp42TiRcYB3H1OP8yajPeAQstMW/yCFokj/AthP9bLHzQFPlOrxOcwYEDkUAICmOHljvN4K39OMTMUa9RA==" "resolved" "https://registry.npmmirror.com/@ethersproject/abi/-/abi-5.7.0.tgz" @@ -822,11 +808,6 @@ dependencies: "lodash" "^4.17.14" -"async@^3.2.4": - "integrity" "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==" - "resolved" "https://registry.npmmirror.com/async/-/async-3.2.4.tgz" - "version" "3.2.4" - "asynckit@^0.4.0": "integrity" "sha1-x57Zf380y48robyXkLzDZkdLS3k=" "resolved" "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz" @@ -1818,16 +1799,6 @@ "secp256k1" "^4.0.1" "setimmediate" "^1.0.5" -"ethereum-cryptography@^1.1.2": - "integrity" "sha512-XDSJlg4BD+hq9N2FjvotwUET9Tfxpxc3kWGE2AqUG5vcbeunnbImVk3cj6e/xT3phdW21mE8R5IugU4fspQDcQ==" - "resolved" "https://registry.npmmirror.com/ethereum-cryptography/-/ethereum-cryptography-1.1.2.tgz" - "version" "1.1.2" - dependencies: - "@noble/hashes" "1.1.2" - "@noble/secp256k1" "1.6.3" - "@scure/bip32" "1.1.0" - "@scure/bip39" "1.1.0" - "ethereum-cryptography@1.1.2": "integrity" "sha512-XDSJlg4BD+hq9N2FjvotwUET9Tfxpxc3kWGE2AqUG5vcbeunnbImVk3cj6e/xT3phdW21mE8R5IugU4fspQDcQ==" "resolved" "https://registry.npmmirror.com/ethereum-cryptography/-/ethereum-cryptography-1.1.2.tgz"