Skip to content

Commit

Permalink
Merge pull request #50 from hapipal/v20-support
Browse files Browse the repository at this point in the history
Bump hapi version up to 20
  • Loading branch information
devinivy authored Aug 27, 2020
2 parents d7d8409 + c094131 commit dae9481
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"@hapi/boom": "7.x.x",
"@hapi/code": "5.x.x",
"@hapi/hapi": "18.x.x",
"@hapi/hapi-19": "npm:@hapi/hapi@19",
"@hapi/hapi-20": "npm:@hapi/hapi@20",
"@hapi/lab": "19.x.x",
"coveralls": "3.x.x",
"haute-couture": "3.x.x",
Expand Down
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const Helpers = require('../lib/helpers');
const DisplayError = require('../lib/display-error');
const Package = require('../package.json');

const Hapi = Somever.match(process.version, '>=12') ? require('@hapi/hapi-19') : require('@hapi/hapi');
const Hapi = Somever.match(process.version, '>=12') ? require('@hapi/hapi-20') : require('@hapi/hapi');

// Test shortcuts

Expand Down
2 changes: 1 addition & 1 deletion test/run-util.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const Somever = require('@hapi/somever');
const Hpal = require('..');
const DisplayError = require('../lib/display-error');

exports.Hapi = Somever.match(process.version, '>=12') ? require('@hapi/hapi-19') : require('@hapi/hapi');
exports.Hapi = Somever.match(process.version, '>=12') ? require('@hapi/hapi-20') : require('@hapi/hapi');

exports.bin = (argv, cwd) => {

Expand Down

0 comments on commit dae9481

Please sign in to comment.