File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 3131 "url" : " https://github.com/ipfs/js-ipfs-unixfs/issues"
3232 },
3333 "engines" : {
34- "node" : " >=4.0.0"
34+ "node" : " >=4.0.0" ,
35+ "npm" : " >=3.0.0"
3536 },
3637 "homepage" : " https://github.com/ipfs/js-ipfs-unixfs#readme" ,
3738 "devDependencies" : {
38- "aegir" : " ^9.1.0 " ,
39+ "aegir" : " ^9.1.2 " ,
3940 "chai" : " ^3.5.0" ,
4041 "pre-commit" : " ^1.1.3"
4142 },
4243 "dependencies" : {
43- "protocol-buffers" : " ^3.1.6 "
44+ "protocol-buffers" : " ^3.2.0 "
4445 },
4546 "pre-commit" : [
4647 " lint" ,
5354 " Mithgol <getgit@mithgol.ru>" ,
5455 " Richard Littauer <richard.littauer@gmail.com>"
5556 ]
56- }
57+ }
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ function Data (type, data) {
6666 }
6767
6868 return unixfsData . encode ( {
69- Type : type ,
69+ Type : type . value ,
7070 Data : this . data ,
7171 filesize : fileSize ,
7272 blocksizes : this . blockSizes . length > 0 ? this . blockSizes : undefined
You can’t perform that action at this time.
0 commit comments