File tree 4 files changed +8
-6
lines changed
4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -33,3 +33,6 @@ node_modules
33
33
.node_repl_history
34
34
35
35
dist
36
+
37
+ package-lock.js
38
+ yarn.lock
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ language: node_js
3
3
4
4
matrix :
5
5
include :
6
- - node_js : 4
7
6
env : CXX=g++-4.8
8
7
- node_js : 6
9
8
env :
Original file line number Diff line number Diff line change 15
15
"release" : " aegir release" ,
16
16
"release-minor" : " aegir release --type minor" ,
17
17
"release-major" : " aegir release --type major" ,
18
- "coverage" : " aegir coverage --ignore src/unixfs.proto.js "
18
+ "coverage" : " aegir coverage"
19
19
},
20
20
"repository" : {
21
21
"type" : " git" ,
30
30
"url" : " https://github.com/ipfs/js-ipfs-unixfs/issues"
31
31
},
32
32
"engines" : {
33
- "node" : " >=4 .0.0" ,
33
+ "node" : " >=6 .0.0" ,
34
34
"npm" : " >=3.0.0"
35
35
},
36
36
"homepage" : " https://github.com/ipfs/js-ipfs-unixfs#readme" ,
42
42
"safe-buffer" : " ^5.1.1"
43
43
},
44
44
"dependencies" : {
45
- "protocol-buffers " : " ^3.2.1 "
45
+ "protons " : " ^1.0.0 "
46
46
},
47
47
"pre-commit" : [
48
48
" lint" ,
Original file line number Diff line number Diff line change 1
1
'use strict'
2
2
3
- const protobuf = require ( 'protocol-buffers ' )
4
- const pb = protobuf ( require ( './unixfs.proto' ) )
3
+ const protons = require ( 'protons ' )
4
+ const pb = protons ( require ( './unixfs.proto' ) )
5
5
// encode/decode
6
6
const unixfsData = pb . Data
7
7
// const unixfsMetadata = pb.MetaData // encode/decode
You can’t perform that action at this time.
0 commit comments