Skip to content

Commit

Permalink
Update deps. Closes #190. Closes #191. Closes #192
Browse files Browse the repository at this point in the history
  • Loading branch information
hueniverse committed Jan 10, 2020
1 parent a74c49d commit a574db5
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 15 deletions.
2 changes: 0 additions & 2 deletions .npmignore

This file was deleted.

3 changes: 1 addition & 2 deletions .travis.yml
@@ -1,8 +1,6 @@
language: node_js

node_js:
- "8"
- "10"
- "12"
- "node"

Expand All @@ -14,6 +12,7 @@ install:

env:
- HAPI_VERSION="18"
- HAPI_VERSION="19"

os:
- "linux"
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
@@ -1,4 +1,4 @@
Copyright (c) 2012-2019, Sideway Inc, and project contributors
Copyright (c) 2012-2020, Sideway Inc, and project contributors
Copyright (c) 2012-2015, Walmart.
All rights reserved.

Expand Down
3 changes: 1 addition & 2 deletions lib/index.js
Expand Up @@ -13,11 +13,10 @@ const internals = {};


exports.plugin = {
name: 'vision', // Override package name
multiple: true,
pkg: require('../package.json'),
requirements: {
hapi: '>=17.7.0'
hapi: '>=18.4.0'
},

register: function (server, options) {
Expand Down
17 changes: 10 additions & 7 deletions package.json
Expand Up @@ -4,22 +4,25 @@
"version": "5.5.4",
"repository": "git://github.com/hapijs/vision",
"main": "lib/index.js",
"files": [
"lib"
],
"keywords": [
"view",
"render",
"template",
"hapi"
],
"dependencies": {
"@hapi/boom": "7.x.x",
"@hapi/bounce": "1.x.x",
"@hapi/hoek": "8.x.x",
"@hapi/joi": "16.x.x"
"@hapi/boom": "9.x.x",
"@hapi/bounce": "2.x.x",
"@hapi/hoek": "9.x.x",
"@hapi/joi": "17.x.x"
},
"devDependencies": {
"@hapi/code": "6.x.x",
"@hapi/hapi": "18.x.x",
"@hapi/lab": "20.x.x",
"@hapi/code": "8.x.x",
"@hapi/hapi": "19.x.x",
"@hapi/lab": "22.x.x",
"babel-core": "6.x.x",
"babel-plugin-transform-react-jsx": "6.x.x",
"coveralls": "3.x.x",
Expand Down
2 changes: 1 addition & 1 deletion test/manager.js
Expand Up @@ -311,7 +311,7 @@ describe('Manager', () => {
server.route({ method: 'GET', path: '/', handler: { view: { template: 'test.html' } } });

const res = await server.inject('/');
expect(res.statusCode).to.equal(200);
expect(res.statusCode).to.equal(204);
});

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

0 comments on commit a574db5

Please sign in to comment.