forked from snapshot-labs/snapshot-v1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkeccak+3.0.1.patch
20 lines (18 loc) · 902 Bytes
/
keccak+3.0.1.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/node_modules/keccak/lib/api/keccak.js b/node_modules/keccak/lib/api/keccak.js
index 4dba2ce..6ae6307 100644
--- a/node_modules/keccak/lib/api/keccak.js
+++ b/node_modules/keccak/lib/api/keccak.js
@@ -1,4 +1,4 @@
-const { Transform } = require('stream')
+const { Transform } = require('readable-stream')
module.exports = (KeccakState) => class Keccak extends Transform {
constructor (rate, capacity, delimitedSuffix, hashBitLength, options) {
diff --git a/node_modules/keccak/lib/api/shake.js b/node_modules/keccak/lib/api/shake.js
index a890aa7..8895e59 100644
--- a/node_modules/keccak/lib/api/shake.js
+++ b/node_modules/keccak/lib/api/shake.js
@@ -1,4 +1,4 @@
-const { Transform } = require('stream')
+const { Transform } = require('readable-stream')
module.exports = (KeccakState) => class Shake extends Transform {
constructor (rate, capacity, delimitedSuffix, options) {