Skip to content

Commit

Permalink
Remove unused packages (#1393)
Browse files Browse the repository at this point in the history
* fix: remove unused packages from core

* fix: remove unused libraries

* fix: add @ethereumjs/rlp
  • Loading branch information
fabiorigam authored Oct 7, 2024
1 parent 115cf06 commit 7e349bb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 21 deletions.
3 changes: 0 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,11 @@
"@scure/bip39": "^1.4.0",
"@vechain/sdk-errors": "1.0.0-beta.32",
"@vechain/sdk-logging": "1.0.0-beta.32",
"bignumber.js": "^9.1.2",
"blakejs": "^1.2.1",
"ethers": "6.13.2",
"fast-json-stable-stringify": "^2.1.0",
"viem": "^2.21.14"
},
"devDependencies": {
"@types/elliptic": "^6.4.18",
"bignumber.js": "^9.1.2",
"thor-devkit": "^2.0.9"
}
Expand Down
3 changes: 0 additions & 3 deletions packages/ethers-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,5 @@
"@vechain/sdk-core": "1.0.0-beta.32",
"@vechain/sdk-errors": "1.0.0-beta.32",
"@vechain/sdk-network": "1.0.0-beta.32"
},
"devDependencies": {
"@nomicfoundation/hardhat-ethers": "^3.0.8"
}
}
23 changes: 8 additions & 15 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2557,20 +2557,20 @@
dependencies:
"@babel/types" "^7.20.7"

"@types/bn.js@*", "@types/bn.js@^5.1.0":
version "5.1.6"
resolved "https://registry.yarnpkg.com/@types/bn.js/-/bn.js-5.1.6.tgz#9ba818eec0c85e4d3c679518428afdf611d03203"
integrity sha512-Xh8vSwUeMKeYYrj3cX4lGQgFSF/N03r+tv4AiLl1SucqV+uTQpxRcnM8AkXKHwYP9ZPXOYXRr2KPXpVlIvqh9w==
dependencies:
"@types/node" "*"

"@types/bn.js@^4.11.3":
version "4.11.6"
resolved "https://registry.yarnpkg.com/@types/bn.js/-/bn.js-4.11.6.tgz#c306c70d9358aaea33cd4eda092a742b9505967c"
integrity sha512-pqr857jrp2kPuO9uRjZ3PwnJTjoQy+fcdxvBTvHm6dkmEL9q+hDD/2j/0ELOBPtPnS8LjCX0gI9nbl8lVkadpg==
dependencies:
"@types/node" "*"

"@types/bn.js@^5.1.0":
version "5.1.6"
resolved "https://registry.yarnpkg.com/@types/bn.js/-/bn.js-5.1.6.tgz#9ba818eec0c85e4d3c679518428afdf611d03203"
integrity sha512-Xh8vSwUeMKeYYrj3cX4lGQgFSF/N03r+tv4AiLl1SucqV+uTQpxRcnM8AkXKHwYP9ZPXOYXRr2KPXpVlIvqh9w==
dependencies:
"@types/node" "*"

"@types/body-parser@*":
version "1.19.5"
resolved "https://registry.yarnpkg.com/@types/body-parser/-/body-parser-1.19.5.tgz#04ce9a3b677dc8bd681a17da1ab9835dc9d3ede4"
Expand Down Expand Up @@ -2641,13 +2641,6 @@
"@types/node" "*"
"@types/ssh2" "*"

"@types/elliptic@^6.4.18":
version "6.4.18"
resolved "https://registry.yarnpkg.com/@types/elliptic/-/elliptic-6.4.18.tgz#bc96e26e1ccccbabe8b6f0e409c85898635482e1"
integrity sha512-UseG6H5vjRiNpQvrhy4VF/JXdA3V/Fp5amvveaL+fs28BZ6xIKJBPnUPRlEaZpysD9MbpfaLi8lbl7PGUAkpWw==
dependencies:
"@types/bn.js" "*"

"@types/[email protected]", "@types/estree@^1.0.0":
version "1.0.6"
resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.6.tgz#628effeeae2064a1b4e79f78e81d87b7e5fc7b50"
Expand Down Expand Up @@ -3825,7 +3818,7 @@ blake3-wasm@^2.1.5:
resolved "https://registry.yarnpkg.com/blake3-wasm/-/blake3-wasm-2.1.5.tgz#b22dbb84bc9419ed0159caa76af4b1b132e6ba52"
integrity sha512-F1+K8EbfOZE49dtoPtmxUQrpXaBIl3ICvasLh+nJta0xkz+9kF/7uet9fLnwKqhDrmj6g+6K3Tw9yQPUg2ka5g==

blakejs@^1.1.0, blakejs@^1.1.2, blakejs@^1.2.1:
blakejs@^1.1.0, blakejs@^1.1.2:
version "1.2.1"
resolved "https://registry.yarnpkg.com/blakejs/-/blakejs-1.2.1.tgz#5057e4206eadb4a97f7c0b6e197a505042fc3814"
integrity sha512-QXUSXI3QVc/gJME0dBpXrag1kbzOqCjCX8/b54ntNyW6sjtoqxqRk3LTmXzaJoh71zMsDCjM+47jS7XiwN/+fQ==
Expand Down

1 comment on commit 7e349bb

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Coverage

Summary

Lines Statements Branches Functions
Coverage: 99%
99.07% (4191/4230) 97.74% (1388/1420) 99.08% (870/878)
Title Tests Skipped Failures Errors Time
core 799 0 💤 0 ❌ 0 🔥 1m 50s ⏱️
network 735 0 💤 0 ❌ 0 🔥 4m 44s ⏱️
errors 42 0 💤 0 ❌ 0 🔥 17.281s ⏱️

Please sign in to comment.