Skip to content

Commit

Permalink
Merge e3e9406 into 14365bc
Browse files Browse the repository at this point in the history
  • Loading branch information
mattboutet committed Aug 27, 2020
2 parents 14365bc + e3e9406 commit b8fc771
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package.json
Expand Up @@ -10,7 +10,7 @@
"test": "test"
},
"scripts": {
"test": "lab -a @hapi/code -t 100 -L",
"test": "lab -a @hapi/code -t 100 -L -I \"FinalizationRegistry,WeakRef\"",
"coveralls": "lab -r lcov | coveralls"
},
"repository": {
Expand Down Expand Up @@ -38,14 +38,14 @@
"word-wrap": "1.x.x"
},
"peerDependencies": {
"@hapi/hapi": ">=17 <20"
"@hapi/hapi": ">=17 <21"
},
"devDependencies": {
"@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/joi": "15.x.x",
"@hapi/joi-17": "npm:@hapi/joi@17",
"joi-17": "npm:joi@17",
"@hapi/lab": "20.x.x",
"@hapi/somever": "2.x.x",
"coveralls": "3.x.x",
Expand Down
4 changes: 2 additions & 2 deletions test/run-util.js
Expand Up @@ -6,9 +6,9 @@ const Somever = require('@hapi/somever');
const Hpal = require('hpal');
const DisplayError = require('hpal/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.Joi = Somever.match(process.version, '>=12') ? require('@hapi/joi-17') : require('@hapi/joi');
exports.Joi = Somever.match(process.version, '>=12') ? require('joi-17') : require('@hapi/joi');

if (Somever.match(process.version, '>=12')) {
// Restore string -> object coercion used in test
Expand Down

0 comments on commit b8fc771

Please sign in to comment.