Skip to content

Commit 7af6f74

Browse files
vasco-santosjacobheun
authored andcommittedDec 20, 2019
chore: use it-all (#20)
1 parent 6ff0e64 commit 7af6f74

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
 

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"peer-id": "~0.13.5"
2727
},
2828
"dependencies": {
29-
"async-iterator-all": "^1.0.0",
29+
"it-all": "^1.0.0",
3030
"debug": "^4.1.1",
3131
"ipfs-http-client": "^40.0.1",
3232
"multiaddr": "^7.2.1",

‎src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const refs = require('ipfs-http-client/src/refs')
77
const getEndpointConfig = require('ipfs-http-client/src/get-endpoint-config')
88

99
const { default: PQueue } = require('p-queue')
10-
const all = require('async-iterator-all')
10+
const all = require('it-all')
1111

1212
const log = debug('libp2p-delegated-content-routing')
1313
log.error = debug('libp2p-delegated-content-routing:error')

‎test/index.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const expect = require('chai').expect
55
const IPFSFactory = require('ipfsd-ctl')
66
const CID = require('cids')
77
const PeerId = require('peer-id')
8-
const all = require('async-iterator-all')
8+
const all = require('it-all')
99
const factory = IPFSFactory.create({
1010
type: 'go'
1111
})

0 commit comments

Comments
 (0)
Please sign in to comment.