Skip to content
This repository was archived by the owner on Jun 10, 2020. It is now read-only.

Commit edd3a4b

Browse files
committed
fix: reduce bundle size
1 parent ed1bff0 commit edd3a4b

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,6 @@ stage
3737
*.tar.bz2
3838
*.snap
3939
snap/.snapcraft
40+
41+
42+
yarn.lock

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"aegir": "^15.3.1",
4444
"chai": "^4.2.0",
4545
"dirty-chai": "^2.0.1",
46-
"libp2p-websocket-star-rendezvous": "github:libp2p/js-libp2p-websocket-star-rendezvous",
46+
"libp2p-websocket-star-rendezvous": "~0.3.0",
4747
"lodash": "^4.17.11"
4848
},
4949
"contributors": [

src/index.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@ const log = debug('libp2p:websocket-star:multi')
55
const once = require('once')
66

77
const EE = require('events').EventEmitter
8-
const {
9-
map,
10-
parallel
11-
} = require('async')
8+
const map = require('async/map')
9+
const parallel = require('async/parallel')
1210
const multiaddr = require('multiaddr')
1311
const mafmt = require('mafmt')
1412

0 commit comments

Comments
 (0)