Commit 9e2c40485053fde8aca886b9e92447c51112f077
Merge pull request #4 from dfinity/greenkeeper/leb128-0.0.4
Update leb128 to the latest version 🚀wanderer authored on 10/18/2017, 10:19:14 PM
GitHub committed on 10/18/2017, 10:19:14 PM
Parent: 5f264a8c4fc01818ddcc4f9e65ff71122d7935d0
Parent: 95570463a73ae6ddd010326b46ee335623e8b831
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,10 +27,11 @@ | ||
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 | - "leb128": "0.0.3", | |
33 … | + "leb128": "0.0.4", | |
33 | 34 … | "node-webcrypto-shim": "0.0.0", |
34 | 35 … | "safe-buffer": "^5.1.1", |
35 | 36 … | "text-encoding": "^0.6.4", |
36 | 37 … | "uint1array": "^1.0.5" |
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