Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Commit

Permalink
Merge pull request #116 from ethereumjs/upgradeEthJSUtil
Browse files Browse the repository at this point in the history
Upgrade ethereumjs-util to 7.0.0 / Upgrade level-mem to 5.0.1
  • Loading branch information
holgerd77 committed May 1, 2020
2 parents b19afe7 + 3ab453f commit a2b0b18
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"tsc": "ethereumjs-config-tsc",
"test": "npm run test:node && npm run test:browser",
"test:browser": "npm run build && karma start karma.conf.js",
"test:node": "npm run build && tape -r ts-node/register test/*.ts | tap-prettify -"
"test:node": "npm run build && tape -r ts-node/register test/*.ts"
},
"husky": {
"hooks": {
Expand All @@ -47,11 +47,11 @@
],
"license": "MPL-2.0",
"dependencies": {
"ethereumjs-util": "^6.1.0",
"level-mem": "^3.0.1",
"ethereumjs-util": "^7.0.0",
"level-mem": "^5.0.1",
"level-ws": "^2.0.0",
"readable-stream": "^3.6.0",
"rlp": "^2.2.3",
"rlp": "^2.2.4",
"semaphore-async-await": "^1.5.1"
},
"devDependencies": {
Expand All @@ -70,7 +70,6 @@
"karma-typescript": "^5.0.1",
"nyc": "^15.0.0",
"prettier": "^2.0.2",
"tap-prettify": "^0.0.2",
"tape": "^4.13.2",
"ts-node": "^8.8.1",
"tslint": "^5.18.0",
Expand Down
4 changes: 2 additions & 2 deletions src/util/hex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ export function removeHexPrefix(val: Nibbles): Nibbles {
}

/**
* Returns true if hexprefixed path is for a terminating (leaf) node.
* Returns true if hex-prefixed path is for a terminating (leaf) node.
* @method isTerminator
* @param {Nibbles} key - an hexprefixed array of nibbles
* @param {Nibbles} key - a hex-prefixed array of nibbles
* @private
*/
export function isTerminator(key: Nibbles): boolean {
Expand Down

0 comments on commit a2b0b18

Please sign in to comment.