Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,31 +44,31 @@
"buffer-loader": "0.0.1",
"chai": "^3.5.0",
"expose-loader": "^0.7.1",
"form-data": "^1.0.0-rc3",
"form-data": "^1.0.0-rc4",
"gulp": "^3.9.1",
"idb-plus-blob-store": "^1.1.2",
"interface-ipfs-core": "^0.3.0",
"left-pad": "^1.1.0",
"lodash": "^4.11.2",
"interface-ipfs-core": "^0.4.3",
"left-pad": "^1.1.1",
"lodash": "^4.14.1",
"ncp": "^2.0.0",
"nexpect": "^0.5.0",
"pre-commit": "^1.1.2",
"rimraf": "^2.5.2",
"stream-to-promise": "^1.1.0",
"pre-commit": "^1.1.3",
"rimraf": "^2.5.4",
"stream-to-promise": "^2.2.0",
"transform-loader": "^0.2.3"
},
"dependencies": {
"babel-runtime": "^6.9.0",
"babel-runtime": "^6.11.6",
"bl": "^1.1.2",
"boom": "^3.1.2",
"boom": "^3.2.2",
"bs58": "^3.0.0",
"debug": "^2.2.0",
"detect-node": "^2.0.3",
"fs-blob-store": "^5.2.1",
"glob": "^7.0.3",
"hapi": "^13.4.1",
"glob": "^7.0.5",
"hapi": "^14.0.0",
"ipfs-bitswap": "^0.6.0",
"ipfs-api": "^6.0.1",
"ipfs-api": "^6.0.3",
"ipfs-block": "^0.3.0",
"ipfs-block-service": "^0.4.0",
"ipfs-merkle-dag": "^0.6.0",
Expand All @@ -77,11 +77,11 @@
"ipfs-unixfs": "^0.1.4",
"ipfs-unixfs-engine": "^0.10.0",
"isstream": "^0.1.2",
"joi": "^8.0.5",
"joi": "^9.0.4",
"libp2p-ipfs": "^0.12.0",
"libp2p-ipfs-browser": "^0.12.0",
"lodash.get": "^4.3.0",
"lodash.set": "^4.2.0",
"lodash.get": "^4.4.0",
"lodash.set": "^4.3.0",
"mafmt": "^2.1.1",
"multihashes": "^0.2.2",
"multiaddr": "^2.0.2",
Expand Down
48 changes: 24 additions & 24 deletions test/cli/test-object.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe('object', () => {
expect(err).to.not.exist
expect(exitcode).to.equal(0)
expect(stdout[0])
.to.equal('QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n')
.to.equal('QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n')
done()
})
})
Expand All @@ -31,9 +31,9 @@ describe('object', () => {

const result = JSON.parse(stdout[0])
expect(result.Links)
.to.deep.equal([])
.to.deep.equal([])
expect(result.Data)
.to.equal('')
.to.equal('')
done()
})
})
Expand All @@ -44,7 +44,7 @@ describe('object', () => {
expect(err).to.not.exist
expect(exitcode).to.equal(0)
expect(stdout[0])
.to.equal('added QmZZmY4KCu9r3e7M2Pcn46Fc5qbn6NpzaAGaYb22kbfTqm')
.to.equal('added QmZZmY4KCu9r3e7M2Pcn46Fc5qbn6NpzaAGaYb22kbfTqm')
done()
})
})
Expand All @@ -55,13 +55,13 @@ describe('object', () => {
expect(err).to.not.exist
expect(exitcode).to.equal(0)
expect(stdout[0])
.to.equal('NumLinks: 1')
.to.equal('NumLinks: 1')
expect(stdout[1])
.to.equal('BlockSize: 60')
.to.equal('BlockSize: 60')
expect(stdout[2])
.to.equal('LinksSize: 53')
.to.equal('LinksSize: 53')
expect(stdout[3])
.to.equal('DataSize: 7')
.to.equal('DataSize: 7')
done()
})
})
Expand Down Expand Up @@ -93,7 +93,7 @@ describe('object', () => {
expect(err).to.not.exist
expect(exitcode).to.equal(0)
expect(stdout[0])
.to.equal('QmfY37rjbPCZRnhvvJuQ46htW3VCAWziVB991P79h6WSv6')
.to.equal('QmfY37rjbPCZRnhvvJuQ46htW3VCAWziVB991P79h6WSv6')
done()
})
})
Expand All @@ -104,7 +104,7 @@ describe('object', () => {
expect(err).to.not.exist
expect(exitcode).to.equal(0)
expect(stdout[0])
.to.equal('QmfY37rjbPCZRnhvvJuQ46htW3VCAWziVB991P79h6WSv6')
.to.equal('QmfY37rjbPCZRnhvvJuQ46htW3VCAWziVB991P79h6WSv6')
done()
})
})
Expand All @@ -115,7 +115,7 @@ describe('object', () => {
expect(err).to.not.exist
expect(exitcode).to.equal(0)
expect(stdout[0])
.to.equal('QmdVHE8fUD6FLNLugtNxqDFyhaCgdob372hs6BYEe75VAK')
.to.equal('QmdVHE8fUD6FLNLugtNxqDFyhaCgdob372hs6BYEe75VAK')
done()
})
})
Expand All @@ -126,7 +126,7 @@ describe('object', () => {
expect(err).to.not.exist
expect(exitcode).to.equal(0)
expect(stdout[0])
.to.equal('QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n')
.to.equal('QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n')
done()
})
})
Expand Down Expand Up @@ -158,7 +158,7 @@ describe('object', () => {
expect(err).to.not.exist
expect(exitcode).to.equal(0)
expect(stdout[0])
.to.equal('QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n')
.to.equal('QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n')
done()
})
})
Expand All @@ -170,9 +170,9 @@ describe('object', () => {
expect(exitcode).to.equal(0)
const result = JSON.parse(stdout[0])
expect(result.Links)
.to.deep.equal([])
.to.deep.equal([])
expect(result.Data)
.to.equal('')
.to.equal('')
done()
})
})
Expand All @@ -184,7 +184,7 @@ describe('object', () => {
expect(exitcode).to.equal(0)

expect(stdout[0])
.to.equal('added QmZZmY4KCu9r3e7M2Pcn46Fc5qbn6NpzaAGaYb22kbfTqm')
.to.equal('added QmZZmY4KCu9r3e7M2Pcn46Fc5qbn6NpzaAGaYb22kbfTqm')
done()
})
})
Expand All @@ -195,13 +195,13 @@ describe('object', () => {
expect(err).to.not.exist
expect(exitcode).to.equal(0)
expect(stdout[0])
.to.equal('NumLinks: 1')
.to.equal('NumLinks: 1')
expect(stdout[1])
.to.equal('BlockSize: 60')
.to.equal('BlockSize: 60')
expect(stdout[2])
.to.equal('LinksSize: 53')
.to.equal('LinksSize: 53')
expect(stdout[3])
.to.equal('DataSize: 7')
.to.equal('DataSize: 7')
done()
})
})
Expand Down Expand Up @@ -233,7 +233,7 @@ describe('object', () => {
expect(err).to.not.exist
expect(exitcode).to.equal(0)
expect(stdout[0])
.to.equal('QmfY37rjbPCZRnhvvJuQ46htW3VCAWziVB991P79h6WSv6')
.to.equal('QmfY37rjbPCZRnhvvJuQ46htW3VCAWziVB991P79h6WSv6')
done()
})
})
Expand All @@ -244,7 +244,7 @@ describe('object', () => {
expect(err).to.not.exist
expect(exitcode).to.equal(0)
expect(stdout[0])
.to.equal('QmfY37rjbPCZRnhvvJuQ46htW3VCAWziVB991P79h6WSv6')
.to.equal('QmfY37rjbPCZRnhvvJuQ46htW3VCAWziVB991P79h6WSv6')
done()
})
})
Expand All @@ -255,7 +255,7 @@ describe('object', () => {
expect(err).to.not.exist
expect(exitcode).to.equal(0)
expect(stdout[0])
.to.equal('QmdVHE8fUD6FLNLugtNxqDFyhaCgdob372hs6BYEe75VAK')
.to.equal('QmdVHE8fUD6FLNLugtNxqDFyhaCgdob372hs6BYEe75VAK')
done()
})
})
Expand All @@ -266,7 +266,7 @@ describe('object', () => {
expect(err).to.not.exist
expect(exitcode).to.equal(0)
expect(stdout[0])
.to.equal('QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n')
.to.equal('QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n')
done()
})
})
Expand Down
8 changes: 4 additions & 4 deletions test/core/both/test-bitswap.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ describe('bitswap', () => {
node1.id((err, res) => {
expect(err).to.not.exist
const addr = res.Addresses
.map((addr) => multiaddr(addr))
.filter((addr) => {
return _.includes(addr.protoNames(), 'ws')
})[0]
.map((addr) => multiaddr(addr))
.filter((addr) => {
return _.includes(addr.protoNames(), 'ws')
})[0]

let target
if (addr) {
Expand Down