Skip to content

Commit

Permalink
Update bare-stream
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperisager committed May 31, 2024
1 parent 3be4377 commit 5155c98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const Hash = exports.Hash = class CryptoHash extends Transform {
return encoding ? digest.toString(encoding) : digest
}

_transform (data, cb) {
_transform (data, encoding, cb) {
this.update(data)

cb(null)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"homepage": "https://github.com/holepunchto/bare-crypto#readme",
"dependencies": {
"bare-stream": "^1.0.0"
"bare-stream": "^2.0.0"
},
"devDependencies": {
"brittle": "^3.5.0",
Expand Down

0 comments on commit 5155c98

Please sign in to comment.