-
Notifications
You must be signed in to change notification settings - Fork 1
[Snyk] Fix for 3 vulnerabilities #85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -26,10 +26,10 @@ | |||||||
| "colors": "^1.1.2", | ||||||||
| "devtools-detect": "^2.2.0", | ||||||||
| "dotenv": "^2.0.0", | ||||||||
| "ethereumjs-tx": "^1.3.3", | ||||||||
| "ethereumjs-util": "^5.1.2", | ||||||||
| "ethereumjs-tx": "^2.1.2", | ||||||||
| "ethereumjs-util": "^5.2.1", | ||||||||
| "highlight.js": "^9.12.0", | ||||||||
| "lodash": "^4.17.4", | ||||||||
| "lodash": "^4.17.23", | ||||||||
|
Comment on lines
+29
to
+32
|
||||||||
| "marked": "^0.3.17", | ||||||||
| "moment": "^2.21.0", | ||||||||
| "nan": "^2.10.0", | ||||||||
|
|
@@ -53,10 +53,10 @@ | |||||||
| "sha3": "^1.2.2", | ||||||||
| "truffle": "^5.0.0", | ||||||||
| "truffle-deployer": "^2.0.0", | ||||||||
| "web3": "1.0.0-beta.37", | ||||||||
| "web3-core-helpers": "1.0.0-beta.37", | ||||||||
| "web3-core-method": "1.0.0-beta.37", | ||||||||
| "web3-utils": "1.0.0-beta.37", | ||||||||
| "web3": "4.0.1", | ||||||||
|
||||||||
| "web3": "4.0.1", | |
| "web3": "1.6.0", |
Copilot
AI
Jan 23, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The direct dependencies web3-core-helpers, web3-core-method, and web3-utils are bumped to 1.6.0 while web3 itself is set to 4.0.1, and none of these core packages are imported directly in the codebase. This mix of major versions within the same library family is confusing and unnecessary; unless you explicitly depend on these internals, consider removing them as direct dependencies and relying on web3 alone to avoid version skew and simplify maintenance.
| "web3-core-helpers": "1.6.0", | |
| "web3-core-method": "1.6.0", | |
| "web3-utils": "1.6.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ethereumjs-txis being upgraded here but it does not appear to be imported or required anywhere in the codebase (search_dirshows onlyethereumjs-utilis used). If this package is truly unused, it would be cleaner to remove it altogether rather than keep an unnecessary dependency, which slightly increases install time and the project’s attack surface.