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

Commit c1ee247

Browse files
daviddiasalanshaw
authored andcommitted
chore: update deps and test on CI (#1418)
* chore: update deps and test on CI * feat: use libp2p-boostrap * chore: remove pre-push hook * chore: update deps
1 parent c01a83a commit c1ee247

File tree

4 files changed

+28
-32
lines changed

4 files changed

+28
-32
lines changed

package.json

+25-29
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@
4444
"coverage": "aegir coverage",
4545
"coverage-publish": "aegir-coverage publish"
4646
},
47-
"pre-push": [
48-
"lint",
49-
"test"
50-
],
5147
"repository": {
5248
"type": "git",
5349
"url": "git+https://github.com/ipfs/js-ipfs.git"
@@ -64,21 +60,21 @@
6460
"aegir": "^14.0.0",
6561
"buffer-loader": "~0.0.1",
6662
"chai": "^4.1.2",
67-
"delay": "^2.0.0",
63+
"delay": "^3.0.0",
6864
"detect-node": "^2.0.3",
6965
"dir-compare": "^1.4.0",
7066
"dirty-chai": "^2.0.1",
71-
"eslint-plugin-react": "^7.7.0",
67+
"eslint-plugin-react": "^7.10.0",
7268
"execa": "~0.10.0",
7369
"expose-loader": "~0.7.5",
7470
"form-data": "^2.3.2",
7571
"hat": "0.0.3",
7672
"interface-ipfs-core": "~0.71.0",
77-
"ipfsd-ctl": "~0.37.3",
78-
"mocha": "^5.1.1",
73+
"ipfsd-ctl": "~0.37.5",
74+
"mocha": "^5.2.0",
7975
"ncp": "^2.0.0",
8076
"nexpect": "~0.5.0",
81-
"pretty-bytes": "^4.0.2",
77+
"pretty-bytes": "^5.1.0",
8278
"qs": "^6.5.2",
8379
"random-fs": "^1.0.3",
8480
"rimraf": "^2.6.2",
@@ -87,43 +83,43 @@
8783
},
8884
"dependencies": {
8985
"@nodeutils/defaults-deep": "^1.1.0",
90-
"async": "^2.6.0",
86+
"async": "^2.6.1",
9187
"big.js": "^5.1.2",
9288
"binary-querystring": "~0.1.2",
93-
"bl": "^1.2.2",
89+
"bl": "^2.0.1",
9490
"boom": "^7.2.0",
9591
"bs58": "^4.0.1",
9692
"byteman": "^1.3.5",
9793
"cids": "~0.5.3",
9894
"debug": "^3.1.0",
99-
"file-type": "^7.7.1",
95+
"file-type": "^8.0.0",
10096
"filesize": "^3.6.1",
10197
"fnv1a": "^1.0.1",
10298
"fsm-event": "^2.1.0",
103-
"get-folder-size": "^1.0.1",
99+
"get-folder-size": "^2.0.0",
104100
"glob": "^7.1.2",
105101
"hapi": "^16.6.2",
106102
"hapi-set-header": "^1.0.2",
107103
"hoek": "^5.0.3",
108104
"human-to-milliseconds": "^1.0.0",
109-
"interface-datastore": "~0.4.1",
110-
"ipfs-api": "^22.1.1",
111-
"ipfs-bitswap": "~0.20.0",
105+
"interface-datastore": "~0.4.2",
106+
"ipfs-api": "^22.2.1",
107+
"ipfs-bitswap": "~0.20.2",
112108
"ipfs-block": "~0.7.1",
113109
"ipfs-block-service": "~0.14.0",
114110
"ipfs-http-response": "~0.1.2",
115111
"ipfs-multipart": "~0.1.0",
116112
"ipfs-repo": "~0.22.1",
117113
"ipfs-unixfs": "~0.1.15",
118114
"ipfs-unixfs-engine": "~0.30.0",
119-
"ipld": "~0.17.1",
120-
"ipld-dag-cbor": "~0.12.0",
121-
"ipld-dag-pb": "~0.14.4",
115+
"ipld": "~0.17.2",
116+
"ipld-dag-cbor": "~0.12.1",
117+
"ipld-dag-pb": "~0.14.5",
122118
"is-ipfs": "~0.3.2",
123119
"is-pull-stream": "~0.0.0",
124120
"is-stream": "^1.1.0",
125-
"joi": "^13.2.0",
126-
"joi-browser": "^13.0.1",
121+
"joi": "^13.4.0",
122+
"joi-browser": "^13.4.0",
127123
"joi-multiaddr": "^2.0.0",
128124
"libp2p": "~0.22.0",
129125
"libp2p-circuit": "~0.2.0",
@@ -132,7 +128,7 @@
132128
"libp2p-keychain": "~0.3.1",
133129
"libp2p-mdns": "~0.12.0",
134130
"libp2p-mplex": "~0.8.0",
135-
"libp2p-railing": "~0.9.2",
131+
"libp2p-bootstrap": "~0.9.3",
136132
"libp2p-secio": "~0.10.0",
137133
"libp2p-tcp": "~0.12.0",
138134
"libp2p-webrtc-star": "~0.15.3",
@@ -148,7 +144,7 @@
148144
"once": "^1.4.0",
149145
"path-exists": "^3.0.0",
150146
"peer-book": "~0.8.0",
151-
"peer-id": "~0.10.7",
147+
"peer-id": "~0.11.0",
152148
"peer-info": "~0.14.1",
153149
"progress": "^2.0.0",
154150
"promisify-es6": "^1.0.3",
@@ -159,21 +155,21 @@
159155
"pull-paramap": "^1.2.2",
160156
"pull-pushable": "^2.2.0",
161157
"pull-sort": "^1.0.1",
162-
"pull-stream": "^3.6.7",
158+
"pull-stream": "^3.6.8",
163159
"pull-stream-to-stream": "^1.3.4",
164160
"pull-zip": "^2.0.1",
165-
"read-pkg-up": "^3.0.0",
161+
"read-pkg-up": "^4.0.0",
166162
"readable-stream": "2.3.6",
167163
"stream-to-pull-stream": "^1.7.2",
168-
"tar-stream": "^1.6.0",
164+
"tar-stream": "^1.6.1",
169165
"temp": "~0.8.3",
170166
"through2": "^2.0.3",
171167
"update-notifier": "^2.5.0",
172-
"yargs": "^11.0.0",
173-
"yargs-parser": "^10.0.0"
168+
"yargs": "^12.0.1",
169+
"yargs-parser": "^10.1.0"
174170
},
175171
"optionalDependencies": {
176-
"prom-client": "^11.0.0",
172+
"prom-client": "^11.1.1",
177173
"prometheus-gc-stats": "~0.5.1"
178174
},
179175
"contributors": [

src/core/runtime/libp2p-browser.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const WebRTCStar = require('libp2p-webrtc-star')
55
const WebSocketStar = require('libp2p-websocket-star')
66
const Multiplex = require('libp2p-mplex')
77
const SECIO = require('libp2p-secio')
8-
const Bootstrap = require('libp2p-railing')
8+
const Bootstrap = require('libp2p-bootstrap')
99
const libp2p = require('libp2p')
1010
const defaultsDeep = require('@nodeutils/defaults-deep')
1111

src/core/runtime/libp2p-nodejs.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const TCP = require('libp2p-tcp')
44
const MulticastDNS = require('libp2p-mdns')
55
const WS = require('libp2p-websockets')
66
const WebSocketStar = require('libp2p-websocket-star')
7-
const Bootstrap = require('libp2p-railing')
7+
const Bootstrap = require('libp2p-bootstrap')
88
const KadDHT = require('libp2p-kad-dht')
99
const Multiplex = require('libp2p-mplex')
1010
const SECIO = require('libp2p-secio')

src/http/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const WStar = require('libp2p-webrtc-star')
1212
const TCP = require('libp2p-tcp')
1313
const MulticastDNS = require('libp2p-mdns')
1414
const WS = require('libp2p-websockets')
15-
const Bootstrap = require('libp2p-railing')
15+
const Bootstrap = require('libp2p-bootstrap')
1616
const errorHandler = require('./error-handler')
1717

1818
function uriToMultiaddr (uri) {

0 commit comments

Comments
 (0)