Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
chore: update ipfs deps (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
vasco-santos authored Jun 15, 2021
1 parent b797d2f commit 89434e4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions test/resolver.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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('</html>')
Expand Down Expand Up @@ -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')
Expand Down

0 comments on commit 89434e4

Please sign in to comment.