diff --git a/package.json b/package.json index 07e4d503e5..f3fe241865 100644 --- a/package.json +++ b/package.json @@ -31,24 +31,24 @@ }, "homepage": "https://github.com/ipfs/js-ipfs-http-response#readme", "dependencies": { - "debug": "^4.1.1", + "debug": "^4.3.1", "file-type": "^16.0.0", "filesize": "^6.1.0", "it-buffer": "^0.1.1", "it-concat": "^2.0.0", "it-reader": "^3.0.0", "it-to-stream": "^1.0.0", - "mime-types": "^2.1.27", + "mime-types": "^2.1.30", "multihashes": "^4.0.2", "p-try-each": "^1.0.1" }, "devDependencies": { - "aegir": "^33.0.0", + "aegir": "^33.1.2", "cids": "^1.0.0", "get-stream": "^6.0.0", - "ipfs": "^0.54.2", - "ipfsd-ctl": "^7.0.0", - "it-all": "^1.0.1", + "ipfs": "^0.55.1", + "ipfsd-ctl": "^8.0.2", + "it-all": "^1.0.5", "path": "^0.12.7", "uint8arrays": "^2.0.5", "util": "^0.12.3" diff --git a/test/resolver.spec.js b/test/resolver.spec.js index 3c13aeae8f..003f55e21d 100644 --- a/test/resolver.spec.js +++ b/test/resolver.spec.js @@ -150,7 +150,7 @@ describe('resolve directory (CIDv0)', function () { }) it('should return HTML listing of files of a directory', async () => { - const res = await ipfsResolver.directory(ipfs, `/ipfs/${directory.cid}`, directory.cid) + const res = await ipfsResolver.directory(ipfs, `/ipfs/${directory.cid}`, new CID(directory.cid)) expect(res).to.exist() expect(res).to.include('') @@ -207,7 +207,7 @@ describe('resolve directory (CIDv1)', function () { }) it('should return HTML listing of files of a directory', async () => { - const res = await ipfsResolver.directory(ipfs, `/ipfs/${directory.cid}`, directory.cid) + const res = await ipfsResolver.directory(ipfs, `/ipfs/${directory.cid}`, new CID(directory.cid)) expect(res).to.exist() expect(res).to.include('pp.txt') expect(res).to.include('holmes.txt')