Skip to content

Commit

Permalink
Merge pull request #113 from pelias/update-joi
Browse files Browse the repository at this point in the history
Update joi package to new namespaced version
  • Loading branch information
orangejulius authored Jul 12, 2019
2 parents 4c7b5b1 + eed0aef commit 7bfff7f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const fs = require('fs');
const path = require('path');
const _ = require('lodash');

const Joi = require('joi');
const Joi = require('@hapi/joi');

const default_config = require( __dirname + '/config/defaults.json' );
let localpath = process.env.HOME + '/pelias.json'; // default location of pelias.json
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"elasticsearch": ">=1.1.1"
},
"dependencies": {
"joi": "^14.0.0",
"@hapi/joi": "^15.1.0",
"lodash": "^4.17.4"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion test/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
var path = require('path'),
config = require('../'),
defaults = require('../config/defaults');
const Joi = require('joi');
const Joi = require('@hapi/joi');

module.exports.generate = {};

Expand Down

0 comments on commit 7bfff7f

Please sign in to comment.