File tree Expand file tree Collapse file tree 2 files changed +16
-9
lines changed Expand file tree Collapse file tree 2 files changed +16
-9
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " libp2p" ,
33 "version" : " 0.25.4" ,
4- "description" : " JavaScript base class for libp2p bundles " ,
4+ "description" : " JavaScript implementation of libp2p, a modular peer to peer network stack " ,
55 "leadMaintainer" :
" Jacob Heun <[email protected] >" ,
66 "main" : " src/index.js" ,
77 "files" : [
2323 "url" : " https://github.com/libp2p/js-libp2p.git"
2424 },
2525 "keywords" : [
26+ " libp2p" ,
27+ " network" ,
28+ " p2p" ,
29+ " peer" ,
30+ " peer-to-peer" ,
2631 " IPFS"
2732 ],
28- "engines" : {
29- "node" : " >=6.0.0" ,
30- "npm" : " >=3.0.0"
31- },
32- "license" : " MIT" ,
3333 "bugs" : {
3434 "url" : " https://github.com/libp2p/js-libp2p/issues"
3535 },
36- "homepage" : " https://github.com/libp2p/js-libp2p" ,
36+ "homepage" : " https://libp2p.io" ,
37+ "license" : " MIT" ,
3738 "browser" : {
3839 "./test/utils/bundle-nodejs" : " ./test/utils/bundle-browser"
3940 },
41+ "engines" : {
42+ "node" : " >=10.0.0" ,
43+ "npm" : " >=6.0.0"
44+ },
4045 "dependencies" : {
4146 "async" : " ^2.6.2" ,
4247 "debug" : " ^4.1.1" ,
Original file line number Diff line number Diff line change @@ -109,7 +109,8 @@ describe('libp2p creation', () => {
109109 } )
110110 } )
111111
112- it ( 'createLibp2p should create a peerInfo instance' , ( done ) => {
112+ it ( 'createLibp2p should create a peerInfo instance' , function ( done ) {
113+ this . timeout ( 10e3 )
113114 createLibp2p ( {
114115 modules : {
115116 transport : [ WS ]
@@ -121,7 +122,8 @@ describe('libp2p creation', () => {
121122 } )
122123 } )
123124
124- it ( 'createLibp2p should allow for a provided peerInfo instance' , ( done ) => {
125+ it ( 'createLibp2p should allow for a provided peerInfo instance' , function ( done ) {
126+ this . timeout ( 10e3 )
125127 PeerInfo . create ( ( err , peerInfo ) => {
126128 expect ( err ) . to . not . exist ( )
127129 sinon . spy ( PeerInfo , 'create' )
You can’t perform that action at this time.
0 commit comments