Commit 95570463a73ae6ddd010326b46ee335623e8b831
added buffer-pipe
Signed-off-by: wanderer <mjbecze@gmail.com>wanderer committed on 10/18/2017, 10:18:41 PM
Parent: cc5796ae1511519352aed03b2868c37f1d9d3f88
Files changed
package-lock.json | changed |
package.json | changed |
treeNode.js | changed |
package-lock.json | ||
---|---|---|
The diff is too large to show. Use a local git client to view these changes. Old file size: 331371 bytes New file size: 329617 bytes |
package.json | |||
---|---|---|---|
@@ -27,8 +27,9 @@ | |||
27 | 27 … | "tape": "^4.6.3" | |
28 | 28 … | }, | |
29 | 29 … | "dependencies": { | |
30 | 30 … | "borc": "^2.0.2", | |
31 … | + "buffer-pipe": "0.0.0", | ||
31 | 32 … | "ipld-graph-builder": "^1.3.5", | |
32 | 33 … | "leb128": "0.0.4", | |
33 | 34 … | "node-webcrypto-shim": "0.0.0", | |
34 | 35 … | "safe-buffer": "^5.1.1", |
treeNode.js | ||
---|---|---|
@@ -1,7 +1,7 @@ | ||
1 | 1 … | const borc = require('borc') |
2 | 2 … | const leb128 = require('leb128').unsigned |
3 | -const LebStream = require('leb128/stream') | |
3 … | +const LebStream = require('buffer-pipe') | |
4 | 4 … | const Uint1Array = require('uint1array') |
5 | 5 … | const HASH_LEN = 20 |
6 | 6 … | |
7 | 7 … | function toTypedArray (array) { |
Built with git-ssb-web