Skip to content

Commit

Permalink
Update node.js dependencies to the latest versions
Browse files Browse the repository at this point in the history
- This fixes the problem with keccak module failing to build its native bindings and falling back to pure JS implementation
  • Loading branch information
cameel committed Jul 3, 2020
1 parent d3b4c02 commit bf9987d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"semver": "^5.3.0"
},
"devDependencies": {
"ethereumjs-util": "^5.0.1",
"standard": "^8.4.0",
"swarmhash": "^0.1.0"
"ethereumjs-util": "^7.0.2",
"standard": "^8.6.0",
"swarmhash": "^0.1.1"
},
"scripts": {
"lint": "standard update",
Expand Down
2 changes: 1 addition & 1 deletion update
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ dirs.forEach(function (dir) {
.map(function (pars) {
const fileContent = readFile(pars.path)
pars.longVersion = buildVersion(pars)
pars.keccak256 = '0x' + ethUtil.sha3(fileContent).toString('hex')
pars.keccak256 = '0x' + ethUtil.keccak(fileContent).toString('hex')
pars.urls = [ 'bzzr://' + swarmhash(fileContent).toString('hex') ]
return pars
})
Expand Down

0 comments on commit bf9987d

Please sign in to comment.