diff --git a/package.json b/package.json index 3c32ca819a..17e945a2e7 100644 --- a/package.json +++ b/package.json @@ -44,10 +44,6 @@ "coverage": "aegir coverage", "coverage-publish": "aegir-coverage publish" }, - "pre-push": [ - "lint", - "test" - ], "repository": { "type": "git", "url": "git+https://github.com/ipfs/js-ipfs.git" @@ -64,21 +60,21 @@ "aegir": "^14.0.0", "buffer-loader": "~0.0.1", "chai": "^4.1.2", - "delay": "^2.0.0", + "delay": "^3.0.0", "detect-node": "^2.0.3", "dir-compare": "^1.4.0", "dirty-chai": "^2.0.1", - "eslint-plugin-react": "^7.7.0", + "eslint-plugin-react": "^7.10.0", "execa": "~0.10.0", "expose-loader": "~0.7.5", "form-data": "^2.3.2", "hat": "0.0.3", "interface-ipfs-core": "~0.71.0", - "ipfsd-ctl": "~0.37.3", - "mocha": "^5.1.1", + "ipfsd-ctl": "~0.37.5", + "mocha": "^5.2.0", "ncp": "^2.0.0", "nexpect": "~0.5.0", - "pretty-bytes": "^4.0.2", + "pretty-bytes": "^5.1.0", "qs": "^6.5.2", "random-fs": "^1.0.3", "rimraf": "^2.6.2", @@ -87,28 +83,28 @@ }, "dependencies": { "@nodeutils/defaults-deep": "^1.1.0", - "async": "^2.6.0", + "async": "^2.6.1", "big.js": "^5.1.2", "binary-querystring": "~0.1.2", - "bl": "^1.2.2", + "bl": "^2.0.1", "boom": "^7.2.0", "bs58": "^4.0.1", "byteman": "^1.3.5", "cids": "~0.5.3", "debug": "^3.1.0", - "file-type": "^7.7.1", + "file-type": "^8.0.0", "filesize": "^3.6.1", "fnv1a": "^1.0.1", "fsm-event": "^2.1.0", - "get-folder-size": "^1.0.1", + "get-folder-size": "^2.0.0", "glob": "^7.1.2", "hapi": "^16.6.2", "hapi-set-header": "^1.0.2", "hoek": "^5.0.3", "human-to-milliseconds": "^1.0.0", - "interface-datastore": "~0.4.1", - "ipfs-api": "^22.1.1", - "ipfs-bitswap": "~0.20.0", + "interface-datastore": "~0.4.2", + "ipfs-api": "^22.2.1", + "ipfs-bitswap": "~0.20.2", "ipfs-block": "~0.7.1", "ipfs-block-service": "~0.14.0", "ipfs-http-response": "~0.1.2", @@ -116,14 +112,14 @@ "ipfs-repo": "~0.22.1", "ipfs-unixfs": "~0.1.15", "ipfs-unixfs-engine": "~0.30.0", - "ipld": "~0.17.1", - "ipld-dag-cbor": "~0.12.0", - "ipld-dag-pb": "~0.14.4", + "ipld": "~0.17.2", + "ipld-dag-cbor": "~0.12.1", + "ipld-dag-pb": "~0.14.5", "is-ipfs": "~0.3.2", "is-pull-stream": "~0.0.0", "is-stream": "^1.1.0", - "joi": "^13.2.0", - "joi-browser": "^13.0.1", + "joi": "^13.4.0", + "joi-browser": "^13.4.0", "joi-multiaddr": "^2.0.0", "libp2p": "~0.22.0", "libp2p-circuit": "~0.2.0", @@ -132,7 +128,7 @@ "libp2p-keychain": "~0.3.1", "libp2p-mdns": "~0.12.0", "libp2p-mplex": "~0.8.0", - "libp2p-railing": "~0.9.2", + "libp2p-bootstrap": "~0.9.3", "libp2p-secio": "~0.10.0", "libp2p-tcp": "~0.12.0", "libp2p-webrtc-star": "~0.15.3", @@ -148,7 +144,7 @@ "once": "^1.4.0", "path-exists": "^3.0.0", "peer-book": "~0.8.0", - "peer-id": "~0.10.7", + "peer-id": "~0.11.0", "peer-info": "~0.14.1", "progress": "^2.0.0", "promisify-es6": "^1.0.3", @@ -159,21 +155,21 @@ "pull-paramap": "^1.2.2", "pull-pushable": "^2.2.0", "pull-sort": "^1.0.1", - "pull-stream": "^3.6.7", + "pull-stream": "^3.6.8", "pull-stream-to-stream": "^1.3.4", "pull-zip": "^2.0.1", - "read-pkg-up": "^3.0.0", + "read-pkg-up": "^4.0.0", "readable-stream": "2.3.6", "stream-to-pull-stream": "^1.7.2", - "tar-stream": "^1.6.0", + "tar-stream": "^1.6.1", "temp": "~0.8.3", "through2": "^2.0.3", "update-notifier": "^2.5.0", - "yargs": "^11.0.0", - "yargs-parser": "^10.0.0" + "yargs": "^12.0.1", + "yargs-parser": "^10.1.0" }, "optionalDependencies": { - "prom-client": "^11.0.0", + "prom-client": "^11.1.1", "prometheus-gc-stats": "~0.5.1" }, "contributors": [ diff --git a/src/core/runtime/libp2p-browser.js b/src/core/runtime/libp2p-browser.js index 167a147209..d497881c14 100644 --- a/src/core/runtime/libp2p-browser.js +++ b/src/core/runtime/libp2p-browser.js @@ -5,7 +5,7 @@ const WebRTCStar = require('libp2p-webrtc-star') const WebSocketStar = require('libp2p-websocket-star') const Multiplex = require('libp2p-mplex') const SECIO = require('libp2p-secio') -const Bootstrap = require('libp2p-railing') +const Bootstrap = require('libp2p-bootstrap') const libp2p = require('libp2p') const defaultsDeep = require('@nodeutils/defaults-deep') diff --git a/src/core/runtime/libp2p-nodejs.js b/src/core/runtime/libp2p-nodejs.js index 90759001cd..a71430cfa3 100644 --- a/src/core/runtime/libp2p-nodejs.js +++ b/src/core/runtime/libp2p-nodejs.js @@ -4,7 +4,7 @@ const TCP = require('libp2p-tcp') const MulticastDNS = require('libp2p-mdns') const WS = require('libp2p-websockets') const WebSocketStar = require('libp2p-websocket-star') -const Bootstrap = require('libp2p-railing') +const Bootstrap = require('libp2p-bootstrap') const KadDHT = require('libp2p-kad-dht') const Multiplex = require('libp2p-mplex') const SECIO = require('libp2p-secio') diff --git a/src/http/index.js b/src/http/index.js index 84cd3d7975..17e2b80cb6 100644 --- a/src/http/index.js +++ b/src/http/index.js @@ -12,7 +12,7 @@ const WStar = require('libp2p-webrtc-star') const TCP = require('libp2p-tcp') const MulticastDNS = require('libp2p-mdns') const WS = require('libp2p-websockets') -const Bootstrap = require('libp2p-railing') +const Bootstrap = require('libp2p-bootstrap') const errorHandler = require('./error-handler') function uriToMultiaddr (uri) {