Skip to content

Commit bf9987d

Browse files
committed
Update node.js dependencies to the latest versions
- This fixes the problem with keccak module failing to build its native bindings and falling back to pure JS implementation
1 parent d3b4c02 commit bf9987d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
"semver": "^5.3.0"
88
},
99
"devDependencies": {
10-
"ethereumjs-util": "^5.0.1",
11-
"standard": "^8.4.0",
12-
"swarmhash": "^0.1.0"
10+
"ethereumjs-util": "^7.0.2",
11+
"standard": "^8.6.0",
12+
"swarmhash": "^0.1.1"
1313
},
1414
"scripts": {
1515
"lint": "standard update",

update

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ dirs.forEach(function (dir) {
4343
.map(function (pars) {
4444
const fileContent = readFile(pars.path)
4545
pars.longVersion = buildVersion(pars)
46-
pars.keccak256 = '0x' + ethUtil.sha3(fileContent).toString('hex')
46+
pars.keccak256 = '0x' + ethUtil.keccak(fileContent).toString('hex')
4747
pars.urls = [ 'bzzr://' + swarmhash(fileContent).toString('hex') ]
4848
return pars
4949
})

0 commit comments

Comments
 (0)