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

Commit 6ac74bd

Browse files
author
Alan Shaw
committed
Merge branch 'chore/update-deps-20181207' into feat/cid-base-option
2 parents 51ee89a + b32140b commit 6ac74bd

File tree

6 files changed

+16
-43
lines changed

6 files changed

+16
-43
lines changed

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"execa": "^1.0.0",
7171
"form-data": "^2.3.3",
7272
"hat": "0.0.3",
73-
"interface-ipfs-core": "~0.90.0",
73+
"interface-ipfs-core": "~0.92.0",
7474
"ipfsd-ctl": "~0.40.1",
7575
"ncp": "^2.0.0",
7676
"qs": "^6.5.2",
@@ -102,17 +102,17 @@
102102
"glob": "^7.1.3",
103103
"hapi": "^16.6.2",
104104
"hapi-set-header": "^1.0.2",
105-
"hoek": "^5.0.4",
105+
"hoek": "^6.1.2",
106106
"human-to-milliseconds": "^1.0.0",
107107
"interface-datastore": "~0.6.0",
108108
"ipfs-bitswap": "~0.21.0",
109109
"ipfs-block": "~0.8.0",
110110
"ipfs-block-service": "~0.15.1",
111-
"ipfs-http-client": "^27.0.0",
111+
"ipfs-http-client": "^28.0.1",
112112
"ipfs-http-response": "~0.2.1",
113113
"ipfs-mfs": "~0.8.0",
114114
"ipfs-multipart": "~0.1.0",
115-
"ipfs-repo": "0.25.2",
115+
"ipfs-repo": "~0.26.0",
116116
"ipfs-unixfs": "~0.1.16",
117117
"ipfs-unixfs-engine": "~0.35.2",
118118
"ipld": "~0.20.1",
@@ -125,7 +125,7 @@
125125
"is-ipfs": "~0.4.8",
126126
"is-pull-stream": "~0.0.0",
127127
"is-stream": "^1.1.0",
128-
"joi": "^13.4.0",
128+
"joi": "^14.3.0",
129129
"joi-browser": "^13.4.0",
130130
"joi-multiaddr": "^3.0.0",
131131
"libp2p": "~0.24.1",
@@ -139,22 +139,22 @@
139139
"libp2p-secio": "~0.10.1",
140140
"libp2p-tcp": "~0.13.0",
141141
"libp2p-webrtc-star": "~0.15.5",
142-
"libp2p-websocket-star": "~0.9.0",
142+
"libp2p-websocket-star": "~0.10.0",
143143
"libp2p-websockets": "~0.12.0",
144144
"lodash": "^4.17.11",
145145
"mafmt": "^6.0.2",
146146
"mime-types": "^2.1.21",
147147
"mkdirp": "~0.5.1",
148-
"multiaddr": "^5.0.0",
148+
"multiaddr": "^6.0.0",
149149
"multiaddr-to-uri": "^4.0.0",
150150
"multibase": "~0.6.0",
151151
"multihashes": "~0.4.14",
152152
"multihashing-async": "~0.5.1",
153153
"node-fetch": "^2.3.0",
154154
"once": "^1.4.0",
155-
"peer-book": "~0.8.0",
155+
"peer-book": "~0.9.0",
156156
"peer-id": "~0.12.0",
157-
"peer-info": "~0.14.1",
157+
"peer-info": "~0.15.0",
158158
"progress": "^2.0.1",
159159
"promisify-es6": "^1.0.3",
160160
"protons": "^1.0.1",

test/cli/name.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ describe('name', () => {
181181
})
182182
})
183183

184-
describe('using dht', () => {
184+
describe.skip('using dht', () => {
185185
const passPhrase = hat()
186186
const pass = '--pass ' + passPhrase
187187
const name = 'test-key-' + hat()

test/core/interface.spec.js

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -47,35 +47,7 @@ describe('interface-ipfs-core tests', () => {
4747
})
4848

4949
tests.dht(dhtCommonFactory, {
50-
skip: isNode ? [
51-
// dht.provide
52-
{
53-
name: 'should provide local CID',
54-
reason: 'FIXME: Circuit not enabled and all transports failed to dial peer'
55-
},
56-
{
57-
name: 'should allow multiple CIDs to be passed',
58-
reason: 'FIXME: Circuit not enabled and all transports failed to dial peer'
59-
},
60-
{
61-
name: 'should provide a CIDv1',
62-
reason: 'FIXME: Circuit not enabled and all transports failed to dial peer'
63-
},
64-
// dht.get
65-
{
66-
name: 'should get a value after it was put on another node',
67-
reason: 'FIXME: callback is not a function'
68-
},
69-
// dht.findprovs
70-
{
71-
name: 'should provide from one node and find it through another node',
72-
reason: 'FIXME: Timeout of 80000ms exceeded'
73-
},
74-
{
75-
name: 'should return the other node in the query',
76-
reason: 'FIXME: always auto-skiped from within test'
77-
}
78-
] : true
50+
skip: { reason: 'TODO: unskip when https://github.com/ipfs/js-ipfs/pull/856 is merged' }
7951
})
8052

8153
tests.filesRegular(defaultCommonFactory, {
@@ -89,7 +61,7 @@ describe('interface-ipfs-core tests', () => {
8961
name: 'addFromFs',
9062
reason: 'Not designed to run in the browser'
9163
}, {
92-
name: 'addFromUrl',
64+
name: 'addFromURL',
9365
reason: 'Not designed to run in the browser'
9466
}]
9567
})

test/core/name.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,8 @@ describe('name', function () {
193193
})
194194
})
195195

196-
describe('work with dht', () => {
196+
// TODO: unskip when https://github.com/ipfs/js-ipfs/pull/856 is merged
197+
describe.skip('work with dht', () => {
197198
let nodes
198199
let nodeA
199200
let nodeB

test/http-api/interface.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ describe('interface-ipfs-core over ipfs-http-client tests', () => {
2222
})
2323

2424
tests.dht(defaultCommonFactory, {
25-
skip: { reason: 'TODO: DHT is not implemented in js-ipfs yet!' }
25+
skip: { reason: 'TODO: unskip when https://github.com/ipfs/js-ipfs/pull/856 is merged' }
2626
})
2727

2828
tests.filesRegular(defaultCommonFactory)

test/utils/interface-common-factory.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function createFactory (options) {
1313
options.spawnOptions = options.spawnOptions || { initOptions: { bits: 512 }, config: { Bootstrap: [] } }
1414

1515
if (options.factoryOptions.type !== 'proc') {
16-
options.factoryOptions.IpfsApi = options.factoryOptions.IpfsApi || ipfsClient
16+
options.factoryOptions.IpfsClient = options.factoryOptions.IpfsClient || ipfsClient
1717
}
1818

1919
const ipfsFactory = IPFSFactory.create(options.factoryOptions)

0 commit comments

Comments
 (0)