Skip to content

Commit a574db5

Browse files
committed
Update deps. Closes #190. Closes #191. Closes #192
1 parent a74c49d commit a574db5

6 files changed

Lines changed: 14 additions & 15 deletions

File tree

.npmignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
language: node_js
22

33
node_js:
4-
- "8"
5-
- "10"
64
- "12"
75
- "node"
86

@@ -14,6 +12,7 @@ install:
1412

1513
env:
1614
- HAPI_VERSION="18"
15+
- HAPI_VERSION="19"
1716

1817
os:
1918
- "linux"

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2012-2019, Sideway Inc, and project contributors
1+
Copyright (c) 2012-2020, Sideway Inc, and project contributors
22
Copyright (c) 2012-2015, Walmart.
33
All rights reserved.
44

lib/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,10 @@ const internals = {};
1313

1414

1515
exports.plugin = {
16-
name: 'vision', // Override package name
1716
multiple: true,
1817
pkg: require('../package.json'),
1918
requirements: {
20-
hapi: '>=17.7.0'
19+
hapi: '>=18.4.0'
2120
},
2221

2322
register: function (server, options) {

package.json

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,25 @@
44
"version": "5.5.4",
55
"repository": "git://github.com/hapijs/vision",
66
"main": "lib/index.js",
7+
"files": [
8+
"lib"
9+
],
710
"keywords": [
811
"view",
912
"render",
1013
"template",
1114
"hapi"
1215
],
1316
"dependencies": {
14-
"@hapi/boom": "7.x.x",
15-
"@hapi/bounce": "1.x.x",
16-
"@hapi/hoek": "8.x.x",
17-
"@hapi/joi": "16.x.x"
17+
"@hapi/boom": "9.x.x",
18+
"@hapi/bounce": "2.x.x",
19+
"@hapi/hoek": "9.x.x",
20+
"@hapi/joi": "17.x.x"
1821
},
1922
"devDependencies": {
20-
"@hapi/code": "6.x.x",
21-
"@hapi/hapi": "18.x.x",
22-
"@hapi/lab": "20.x.x",
23+
"@hapi/code": "8.x.x",
24+
"@hapi/hapi": "19.x.x",
25+
"@hapi/lab": "22.x.x",
2326
"babel-core": "6.x.x",
2427
"babel-plugin-transform-react-jsx": "6.x.x",
2528
"coveralls": "3.x.x",

test/manager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ describe('Manager', () => {
311311
server.route({ method: 'GET', path: '/', handler: { view: { template: 'test.html' } } });
312312

313313
const res = await server.inject('/');
314-
expect(res.statusCode).to.equal(200);
314+
expect(res.statusCode).to.equal(204);
315315
});
316316

317317
it('allows the context to be modified by extensions', async () => {

0 commit comments

Comments
 (0)