Skip to content

Commit a14fe59

Browse files
Alan Shawachingbrain
authored andcommitted
chore: update hapi deps (ipfs#55)
They moved to @Hapi namespace and now spew warnings on npm install.
1 parent d0534ca commit a14fe59

File tree

10 files changed

+13
-13
lines changed

10 files changed

+13
-13
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"main": "src/index.js",
77
"browser": {
88
"fs": false,
9-
"joi": "joi-browser"
9+
"@hapi/joi": "joi-browser"
1010
},
1111
"scripts": {
1212
"test": "aegir test",
@@ -51,8 +51,9 @@
5151
"temp-write": "^3.4.0"
5252
},
5353
"dependencies": {
54+
"@hapi/boom": "^7.4.2",
55+
"@hapi/joi": "^15.1.0",
5456
"async-iterator-last": "^1.0.0",
55-
"boom": "^7.2.0",
5657
"cids": "~0.7.1",
5758
"debug": "^4.1.0",
5859
"err-code": "^1.1.2",
@@ -63,7 +64,6 @@
6364
"ipfs-unixfs-exporter": "~0.37.6",
6465
"ipfs-unixfs-importer": "~0.39.9",
6566
"ipld-dag-pb": "~0.17.2",
66-
"joi": "^14.3.0",
6767
"joi-browser": "^13.4.0",
6868
"mortice": "^1.2.1",
6969
"multicodec": "~0.5.3",

src/http/cp.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 Joi = require('joi')
3+
const Joi = require('@hapi/joi')
44

55
const mfsCp = {
66
method: 'POST',

src/http/flush.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 Joi = require('joi')
3+
const Joi = require('@hapi/joi')
44

55
const mfsFlush = {
66
method: 'POST',

src/http/ls.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 Joi = require('joi')
3+
const Joi = require('@hapi/joi')
44
const {
55
PassThrough
66
} = require('stream')

src/http/mkdir.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 Joi = require('joi')
3+
const Joi = require('@hapi/joi')
44

55
const mfsMkdir = {
66
method: 'POST',

src/http/mv.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 Joi = require('joi')
3+
const Joi = require('@hapi/joi')
44

55
const mfsMv = {
66
method: 'POST',

src/http/read.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 Joi = require('joi')
3+
const Joi = require('@hapi/joi')
44
const {
55
PassThrough
66
} = require('stream')

src/http/rm.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 Joi = require('joi')
3+
const Joi = require('@hapi/joi')
44

55
const mfsRm = {
66
method: 'POST',

src/http/stat.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 Joi = require('joi')
3+
const Joi = require('@hapi/joi')
44

55
const mfsStat = {
66
method: 'POST',

src/http/write.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
'use strict'
22

3-
const Joi = require('joi')
3+
const Joi = require('@hapi/joi')
44
const multipart = require('ipfs-multipart')
5-
const Boom = require('boom')
5+
const Boom = require('@hapi/boom')
66

77
const mfsWrite = {
88
method: 'POST',

0 commit comments

Comments
 (0)