Skip to content

Commit c3f73b9

Browse files
hueniversedelvedor
authored andcommitted
Update hapi (#98)
* Update hapi scope * Cleanup
1 parent d136035 commit c3f73b9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

benchmarks/hapi.js

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

33
require('make-promises-safe')
44

5-
const Hapi = require('hapi')
5+
const Hapi = require('@hapi/hapi')
66

77
async function start () {
88
const server = Hapi.server({ port: 3000, debug: false })

lib/packages.js

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const packages = {
1717
fastify: { checked: true, hasRouter: true },
1818
'fastify-big-json': { extra: true, package: 'fastify', hasRouter: true },
1919
foxify: { hasRouter: true },
20-
hapi: { hasRouter: true },
20+
hapi: { hasRouter: true, package: '@hapi/hapi' },
2121
koa: {},
2222
'koa-router': { extra: true, hasRouter: true },
2323
micro: { extra: true },

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"fastify": "^2.0.0",
3838
"foxify": "^0.10.20",
3939
"frameguard": "^3.0.0",
40-
"hapi": "^18.1.0",
40+
"@hapi/hapi": "^18.3.0",
4141
"hide-powered-by": "^1.0.0",
4242
"hsts": "^2.1.0",
4343
"ienoopen": "^1.0.0",

0 commit comments

Comments
 (0)