Bump ethereumjs-abi #96
Merged
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.
I have traced through to what might be a cause of issue #72, or at least a fix that should be done anyway.
The deprecated 1.x branch of node-sha3 is used by the latest-but-still-not-that-recent keccakjs ("The only Keccak hash (aka SHA3 before standardisation) library you need in Javascript. Ever. Pinky promise!") which has had an open issue with PR to move sha3 to optional dependencies for over a year now; I don't see anything moving on that front.
Keccackjs is used by ethereumjs-util@4.5.0, but dropped that dependency in v5.1.0; it's now on 7.1.0.
ethereumjs-util@4.5.0 is used in ethereumjs-abi@0.6.5, but that package updated to a satisfactorily later version in v0.6.6.
Unfortunately, eth-sig-util, as of its latest (2.5.3) publication 2 months ago, still specifies ethereumjs-abi@0.6.5. That specification was converted from the latest git repo in this commit on Sep 7, 2018, "Run tests in node v.8.11.3." At that time, 0.6.5 was the latest version available. That commit was part of this PR which has very little discussion, based on this PR.
Assuming that ethereumjs-abi did not break semver (which is an untested assumption, and admittedly not necessarily a solid one given my experience with other projects in this ecosystem), I suggest bumping the patch version of ethereumjs-abi to at least 0.6.6, if not the latest (0.6.8).
I see no reason to believe that the change proposed here was intentionally omitted from the original commit. This commit also makes the dependency update policy more consistent with the surrounding dependency declaration.
However, I have not yet tested this proposed one-character patch.