Skip to content
This repository was archived by the owner on Sep 28, 2021. It is now read-only.

Commit 89434e4

Browse files
authored
chore: update ipfs deps (#94)
1 parent b797d2f commit 89434e4

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -31,24 +31,24 @@
3131
},
3232
"homepage": "https://github.com./ipfs/js-ipfs-http-response#readme",
3333
"dependencies": {
34-
"debug": "^4.1.1",
34+
"debug": "^4.3.1",
3535
"file-type": "^16.0.0",
3636
"filesize": "^6.1.0",
3737
"it-buffer": "^0.1.1",
3838
"it-concat": "^2.0.0",
3939
"it-reader": "^3.0.0",
4040
"it-to-stream": "^1.0.0",
41-
"mime-types": "^2.1.27",
41+
"mime-types": "^2.1.30",
4242
"multihashes": "^4.0.2",
4343
"p-try-each": "^1.0.1"
4444
},
4545
"devDependencies": {
46-
"aegir": "^33.0.0",
46+
"aegir": "^33.1.2",
4747
"cids": "^1.0.0",
4848
"get-stream": "^6.0.0",
49-
"ipfs": "^0.54.2",
50-
"ipfsd-ctl": "^7.0.0",
51-
"it-all": "^1.0.1",
49+
"ipfs": "^0.55.1",
50+
"ipfsd-ctl": "^8.0.2",
51+
"it-all": "^1.0.5",
5252
"path": "^0.12.7",
5353
"uint8arrays": "^2.0.5",
5454
"util": "^0.12.3"

test/resolver.spec.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ describe('resolve directory (CIDv0)', function () {
150150
})
151151

152152
it('should return HTML listing of files of a directory', async () => {
153-
const res = await ipfsResolver.directory(ipfs, `/ipfs/${directory.cid}`, directory.cid)
153+
const res = await ipfsResolver.directory(ipfs, `/ipfs/${directory.cid}`, new CID(directory.cid))
154154

155155
expect(res).to.exist()
156156
expect(res).to.include('</html>')
@@ -207,7 +207,7 @@ describe('resolve directory (CIDv1)', function () {
207207
})
208208

209209
it('should return HTML listing of files of a directory', async () => {
210-
const res = await ipfsResolver.directory(ipfs, `/ipfs/${directory.cid}`, directory.cid)
210+
const res = await ipfsResolver.directory(ipfs, `/ipfs/${directory.cid}`, new CID(directory.cid))
211211
expect(res).to.exist()
212212
expect(res).to.include('pp.txt')
213213
expect(res).to.include('holmes.txt')

0 commit comments

Comments
 (0)