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

Commit

Permalink
feat: update all dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Aug 3, 2016
1 parent 848cb87 commit 2c4cd7f
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 17 deletions.
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,22 @@
"main": "lib/index.js",
"jsnext:main": "src/index.js",
"dependencies": {
"async": "^2.0.0-rc.5",
"babel-runtime": "^6.6.1",
"async": "^2.0.1",
"babel-runtime": "^6.11.6",
"bl": "^1.1.2",
"bs58": "^3.0.0",
"detect-node": "^2.0.3",
"flatmap": "0.0.3",
"glob": "^7.0.3",
"glob": "^7.0.5",
"ipfs-merkle-dag": "^0.6.0",
"is-ipfs": "^0.2.0",
"isstream": "^0.1.2",
"multiaddr": "^2.0.0",
"multiaddr": "^2.0.2",
"multipart-stream": "^2.0.1",
"ndjson": "^1.4.3",
"promisify-es6": "^1.0.1",
"qs": "^6.1.0",
"wreck": "^7.0.2"
"qs": "^6.2.1",
"wreck": "^9.0.0"
},
"engines": {
"node": ">=4.2.2"
Expand All @@ -30,14 +30,14 @@
"url": "https://github.com/ipfs/js-ipfs-api"
},
"devDependencies": {
"aegir": "^3.2.0",
"aegir": "^5.0.1",
"chai": "^3.5.0",
"gulp": "^3.9.1",
"interface-ipfs-core": "^0.4.3",
"interface-ipfs-core": "^0.5.0",
"ipfsd-ctl": "^0.14.0",
"pre-commit": "^1.1.2",
"pre-commit": "^1.1.3",
"stream-equal": "^0.1.8",
"stream-http": "^2.2.0",
"stream-http": "^2.3.1",
"streamifier": "^0.1.1"
},
"scripts": {
Expand Down Expand Up @@ -94,4 +94,4 @@
"url": "https://github.com/ipfs/js-ipfs-api/issues"
},
"homepage": "https://github.com/ipfs/js-ipfs-api"
}
}
3 changes: 2 additions & 1 deletion test/api/block.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ describe('.block', () => {
})

it('block.get', (done) => {
return apiClients.a.block.get(blorbKey)
apiClients.a.block.get(blorbKey)
.then((res) => {
let buf = ''
res
Expand All @@ -71,6 +71,7 @@ describe('.block', () => {
done()
})
})
.catch(done)
})

it('block.stat', () => {
Expand Down
6 changes: 4 additions & 2 deletions test/api/files.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ describe('.files (pseudo mfs)', () => {
})

it('files.write', (done) => {
return apiClients.a.files
apiClients.a.files
.write('/test-folder/test-file-2.txt', new Buffer('hello world'), {create: true})
.then(() => {
return apiClients.a.files.read('/test-folder/test-file-2.txt')
Expand All @@ -194,10 +194,11 @@ describe('.files (pseudo mfs)', () => {
done()
})
})
.catch(done)
})

it('files.write without options', (done) => {
return apiClients.a.files
apiClients.a.files
.write('/test-folder/test-file-2.txt', new Buffer('hello world'))
.then(() => {
return apiClients.a.files.read('/test-folder/test-file-2.txt')
Expand All @@ -216,6 +217,7 @@ describe('.files (pseudo mfs)', () => {
done()
})
})
.catch(done)
})

it('files.stat', () => {
Expand Down
5 changes: 2 additions & 3 deletions test/api/log.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,15 @@ describe('.log', () => {
})

describe('promise', () => {
it('.log.tail', (done) => {
it('.log.tail', () => {
if (isPhantom) {
return done()
return
}

return apiClients.a.log.tail()
.then((res) => {
res.once('data', (obj) => {
expect(obj).to.be.an('object')
done()
})
})
})
Expand Down

0 comments on commit 2c4cd7f

Please sign in to comment.