chore(v2): migrate hapi/joi to joi (#3638)

This commit is contained in:
Alexey Pyltsyn 2020-10-26 17:18:51 +03:00 committed by GitHub
parent a64a34f077
commit 69bf68ae57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 58 additions and 79 deletions

View file

@ -13,7 +13,7 @@ import {
STATIC_DIR_NAME,
DEFAULT_PLUGIN_ID,
} from '@docusaurus/core/lib/constants';
import {ValidationError} from '@hapi/joi';
import {ValidationError} from 'joi';
import {take, kebabCase} from 'lodash';
import {