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

Commit 04aa63c

Browse files
author
Alan Shaw
authored
chore: update deps (#2242)
resolves #2225 License: MIT Signed-off-by: Alan Shaw <[email protected]>
1 parent 41b9335 commit 04aa63c

File tree

15 files changed

+18
-18
lines changed

15 files changed

+18
-18
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
},
5959
"dependencies": {
6060
"@hapi/ammo": "^3.1.0",
61+
"@hapi/boom": "^7.4.2",
6162
"@hapi/hapi": "^18.3.1",
6263
"@hapi/joi": "^15.0.1",
6364
"array-shuffle": "^1.0.1",
@@ -69,7 +70,6 @@
6970
"bignumber.js": "^9.0.0",
7071
"binary-querystring": "~0.1.2",
7172
"bl": "^3.0.0",
72-
"boom": "^7.2.0",
7373
"bs58": "^4.0.1",
7474
"buffer-peek-stream": "^1.0.1",
7575
"byteman": "^1.3.5",
@@ -94,7 +94,7 @@
9494
"ipfs-bitswap": "~0.25.1",
9595
"ipfs-block": "~0.8.1",
9696
"ipfs-block-service": "~0.15.2",
97-
"ipfs-http-client": "^32.0.1",
97+
"ipfs-http-client": "^33.1.0",
9898
"ipfs-http-response": "~0.3.1",
9999
"ipfs-mfs": "~0.11.5",
100100
"ipfs-multipart": "~0.1.0",
@@ -123,8 +123,8 @@
123123
"libp2p": "~0.25.4",
124124
"libp2p-bootstrap": "~0.9.3",
125125
"libp2p-crypto": "~0.16.0",
126-
"libp2p-delegated-content-routing": "^0.2.2",
127-
"libp2p-delegated-peer-routing": "^0.2.2",
126+
"libp2p-delegated-content-routing": "^0.2.3",
127+
"libp2p-delegated-peer-routing": "^0.2.3",
128128
"libp2p-kad-dht": "~0.15.2",
129129
"libp2p-keychain": "~0.4.2",
130130
"libp2p-mdns": "~0.12.0",

src/http/api/resources/block.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const CID = require('cids')
44
const multipart = require('ipfs-multipart')
55
const Joi = require('@hapi/joi')
66
const multibase = require('multibase')
7-
const Boom = require('boom')
7+
const Boom = require('@hapi/boom')
88
const { cidToString } = require('../../../utils/cid')
99
const debug = require('debug')
1010
const log = debug('ipfs:http-api:block')

src/http/api/resources/bootstrap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict'
22

33
const multiaddr = require('multiaddr')
4-
const Boom = require('boom')
4+
const Boom = require('@hapi/boom')
55

66
exports.list = async (request, h) => {
77
const { ipfs } = request.server.app

src/http/api/resources/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const set = require('just-safe-set')
66
const log = debug('ipfs:http-api:config')
77
log.error = debug('ipfs:http-api:config:error')
88
const multipart = require('ipfs-multipart')
9-
const Boom = require('boom')
9+
const Boom = require('@hapi/boom')
1010

1111
exports.getOrSet = {
1212
// pre request handler that parses the args and returns `key` & `value` which are assigned to `request.pre.args`

src/http/api/resources/dag.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const mh = require('multihashes')
66
const Joi = require('@hapi/joi')
77
const multibase = require('multibase')
88
const multicodec = require('multicodec')
9-
const Boom = require('boom')
9+
const Boom = require('@hapi/boom')
1010
const debug = require('debug')
1111
const {
1212
cidToString

src/http/api/resources/dht.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict'
22

33
const Joi = require('@hapi/joi')
4-
const Boom = require('boom')
4+
const Boom = require('@hapi/boom')
55

66
const CID = require('cids')
77

src/http/api/resources/dns.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict'
22

3-
const Boom = require('boom')
3+
const Boom = require('@hapi/boom')
44

55
module.exports = async (request, h) => {
66
const domain = request.query.arg

src/http/api/resources/file.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const isIpfs = require('is-ipfs')
44
const exporter = require('ipfs-unixfs-exporter')
55
const pull = require('pull-stream')
66
const toB58String = require('multihashes').toB58String
7-
const Boom = require('boom')
7+
const Boom = require('@hapi/boom')
88

99
const fileTypeMap = {
1010
file: 'File',

src/http/api/resources/files-regular.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const pushable = require('pull-pushable')
1111
const toStream = require('pull-stream-to-stream')
1212
const abortable = require('pull-abortable')
1313
const Joi = require('@hapi/joi')
14-
const Boom = require('boom')
14+
const Boom = require('@hapi/boom')
1515
const ndjson = require('pull-ndjson')
1616
const { PassThrough } = require('readable-stream')
1717
const multibase = require('multibase')

src/http/api/resources/object.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const dagPB = require('ipld-dag-pb')
66
const { DAGNode, DAGLink } = dagPB
77
const Joi = require('@hapi/joi')
88
const multibase = require('multibase')
9-
const Boom = require('boom')
9+
const Boom = require('@hapi/boom')
1010
const { cidToString } = require('../../../utils/cid')
1111
const debug = require('debug')
1212
const log = debug('ipfs:http-api:object')

src/http/api/resources/pin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
const multibase = require('multibase')
44
const Joi = require('@hapi/joi')
5-
const Boom = require('boom')
5+
const Boom = require('@hapi/boom')
66
const isIpfs = require('is-ipfs')
77
const { cidToString } = require('../../../utils/cid')
88

src/http/api/resources/pubsub.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
const PassThrough = require('stream').PassThrough
44
const bs58 = require('bs58')
55
const binaryQueryString = require('binary-querystring')
6-
const Boom = require('boom')
6+
const Boom = require('@hapi/boom')
77

88
exports.subscribe = {
99
async handler (request, h) {

src/http/api/resources/swarm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict'
22

33
const multiaddr = require('multiaddr')
4-
const Boom = require('boom')
4+
const Boom = require('@hapi/boom')
55

66
// common pre request handler that parses the args and returns `addr` which is assigned to `request.pre.args`
77
exports.parseAddrs = (request, h) => {

src/http/api/routes/debug.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict'
22

33
const client = require('prom-client')
4-
const Boom = require('boom')
4+
const Boom = require('@hapi/boom')
55

66
// Clear the register to make sure we're not registering multiple ones
77
client.register.clear()

src/http/gateway/resources/gateway.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ log.error = debug('ipfs:http-gateway:error')
77
const fileType = require('file-type')
88
const mime = require('mime-types')
99
const { PassThrough } = require('readable-stream')
10-
const Boom = require('boom')
10+
const Boom = require('@hapi/boom')
1111
const Ammo = require('@hapi/ammo') // HTTP Range processing utilities
1212
const peek = require('buffer-peek-stream')
1313

0 commit comments

Comments
 (0)