[Snyk] Upgrade ethereumjs-util from 6.1.0 to 6.2.0 #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade ethereumjs-util from 6.1.0 to 6.2.0.
✨What is Merge Advice?
We check thousands of dependency upgrade pull requests and CI tests every day to see which upgrades were successfully merged. After crunching this data, we give a recommendation on how safe we think the change is for you to merge without causing issues. Learn more, and share your feedback to help improve this feature. 🙏Release notes
Package name: ethereumjs-util
This release comes with a new file structure, related functionality is now broken down into separate files (like
account.js
) allowing for more oversight and modular integration. All functionality is additionally exposed through an aggregatingindex.js
file, so this version remains backwards-compatible.Overview on the new structure:
account
: Private/public key and address-related functionality (creation, validation, conversion)byte
: Byte-related helper and conversion functionsconstants
: Exposed constants (e.g.KECCAK256_NULL_S
for the string representation of the Keccak-256 hash of null)hash
: Hash functionsobject
: Helper function for creating a binary object (DEPRECATED
)signature
: Signing, signature validation, conversion, recoverySee associated PRs #182 and #179.
Features
account
: AddedEIP-1191
address checksum algorithm support fortoChecksumAddress()
,PR #204
Bug Fixes
bytes
:toBuffer()
conversion function now throws if strings aren't0x
-prefixed hex values making the behavior oftoBuffer()
more predictable respectively less error-prone (you might generally want to check cases in your code where you eventually allowed non-0x
-prefixed input before), PR #197Dependencies / Environment
6
, added Node11
and12
to officially supported Node versions,PR #207
safe-buffer
dependency,PR #182
rlp
dependency fromv2.0.0
tov2.2.3
(TypeScript
improvementsfor RLP hash functionality),
PR #187
@types/bn.js
adependency
instead of adevDependency
,PR #205
keccak256
dependency fromv1.4.0
tov2.0.0
, PR #168First TypeScript based release of the library, now also including a
type declaration file distributed along with the package published,
see PR #170.
Bug Fixes
isValidSignature()
not correctly returningfalse
if passed an
s
-value greater thansecp256k1n/2
onhomestead
or later.If you use the method signature with more than three arguments (so not just
passing in
v
,r
,s
and use it likeisValidSignature(v, r, s)
and omitthe optional args) please read the thread from
PR #171 carefully
and check your code.
Development
@types/node
to Node11
types,PR #175
PR #156
Commit messages
Package name: ethereumjs-util
Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs