diff --git a/package.json b/package.json index c9d543a55..86afb2dd4 100644 --- a/package.json +++ b/package.json @@ -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": "^14.3.4", + "swarmhash": "^0.1.1" }, "scripts": { "lint": "standard update", diff --git a/update b/update index 347a20712..f6cf1c72b 100755 --- a/update +++ b/update @@ -43,8 +43,8 @@ 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.urls = [ 'bzzr://' + swarmhash(fileContent).toString('hex') ] + pars.keccak256 = '0x' + ethUtil.keccak(fileContent).toString('hex') + pars.urls = ['bzzr://' + swarmhash(fileContent).toString('hex')] return pars }) .sort(function (a, b) {