File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 "is-file" : false
2020 },
2121 "dependencies" : {
22- "bencode" : " ^3.0.2 " ,
22+ "bencode" : " ^3.0.3 " ,
2323 "block-iterator" : " ^1.1.1" ,
2424 "fast-readable-async-iterator" : " ^1.1.1" ,
2525 "is-file" : " ^1.0.0" ,
3434 "devDependencies" : {
3535 "@webtorrent/semantic-release-config" : " 1.0.8" ,
3636 "brfs" : " 2.0.2" ,
37- "parse-torrent" : " 11.0.5 " ,
37+ "parse-torrent" : " 11.0.6 " ,
3838 "semantic-release" : " 20.1.0" ,
3939 "standard" : " *" ,
4040 "tape" : " 5.6.3" ,
41- "webtorrent-fixtures" : " 2.0.0 "
41+ "webtorrent-fixtures" : " 2.0.2 "
4242 },
4343 "engines" : {
4444 "node" : " >=12"
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ test('verify info-hash an additional source attribute set on the info dict (a wa
6161
6262 // Source is now being read as a Buffer,
6363 // if 'parse-torrent' is updated this test will still pass
64- t . equal ( parsedTorrent . info . source . toString ( ) , 'SOURCE' , 'info.source=\'SOURCE\'' )
64+ t . equal ( Buffer . from ( parsedTorrent . info . source ) . toString ( ) , 'SOURCE' , 'info.source=\'SOURCE\'' )
6565
6666 t . deepEqual ( parsedTorrent . announce , [ 'http://private.tracker.org/' ] , 'single private announce url' )
6767
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import createTorrent from '../index.js'
55test ( 'create ssl cert torrent' , t => {
66 t . plan ( 2 )
77
8- const sslCert = Buffer . from ( 'content cert X.509' )
8+ const sslCert = new Uint8Array ( Buffer . from ( 'content cert X.509' ) )
99
1010 createTorrent ( Buffer . from ( 'abc' ) , {
1111 name : 'abc.txt' ,
You can’t perform that action at this time.
0 commit comments