From 0ea06c3e352760a8cb9c18d523364622d86e907d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Balatoni?= Date: Sat, 4 May 2019 19:05:02 +0200 Subject: [PATCH] Change joi to @hapi/joi (also upgrade it to latest version) --- manifest-utils/validate.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest-utils/validate.js b/manifest-utils/validate.js index 6fccafe..df68f9c 100644 --- a/manifest-utils/validate.js +++ b/manifest-utils/validate.js @@ -1,4 +1,4 @@ -const Joi = require('joi') +const Joi = require('@hapi/joi') const chalk = require('chalk') const schema = Joi.object({ diff --git a/package.json b/package.json index adfcc8f..a82f49e 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ }, "dependencies": { "chalk": "^2.4.1", - "joi": "^13.3.0", + "@hapi/joi": "^15.0.1", "ws": "^5.2.0" }, "devDependencies": {