diff --git a/package.json b/package.json index 915cacb7d0..9fa91c4697 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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", diff --git a/test/cli/test-object.js b/test/cli/test-object.js index ce33d47f87..969ff62b87 100644 --- a/test/cli/test-object.js +++ b/test/cli/test-object.js @@ -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() }) }) @@ -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() }) }) @@ -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() }) }) @@ -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() }) }) @@ -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() }) }) @@ -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() }) }) @@ -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() }) }) @@ -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() }) }) @@ -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() }) }) @@ -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() }) }) @@ -184,7 +184,7 @@ describe('object', () => { expect(exitcode).to.equal(0) expect(stdout[0]) - .to.equal('added QmZZmY4KCu9r3e7M2Pcn46Fc5qbn6NpzaAGaYb22kbfTqm') + .to.equal('added QmZZmY4KCu9r3e7M2Pcn46Fc5qbn6NpzaAGaYb22kbfTqm') done() }) }) @@ -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() }) }) @@ -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() }) }) @@ -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() }) }) @@ -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() }) }) @@ -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() }) }) diff --git a/test/core/both/test-bitswap.js b/test/core/both/test-bitswap.js index d1c575ffb1..6a69be55c2 100644 --- a/test/core/both/test-bitswap.js +++ b/test/core/both/test-bitswap.js @@ -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) {