Skip to content

Commit 93f4e51

Browse files
authored
Merge pull request #31 from ethereum/update-dependencies
Update node.js dependencies to the latest versions to pull in newer keccak module
2 parents 3b74dc3 + 58fa0c6 commit 93f4e51

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
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": "^14.3.4",
12+
"swarmhash": "^0.1.1"
1313
},
1414
"scripts": {
1515
"lint": "standard update",

update

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ 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')
47-
pars.urls = [ 'bzzr://' + swarmhash(fileContent).toString('hex') ]
46+
pars.keccak256 = '0x' + ethUtil.keccak(fileContent).toString('hex')
47+
pars.urls = ['bzzr://' + swarmhash(fileContent).toString('hex')]
4848
return pars
4949
})
5050
.sort(function (a, b) {

0 commit comments

Comments
 (0)