Removes explicit use of Ajv. Fixes #17

This commit is contained in:
Alicia Sykes 2021-06-08 14:01:04 +01:00
parent 5ef1ee5921
commit dc15f290fd
3 changed files with 9380 additions and 9514 deletions

View File

@ -13,7 +13,6 @@
},
"dependencies": {
"ajv": "^8.5.0",
"ajv7": "npm:ajv@^7.2.2",
"axios": "^0.21.1",
"connect": "^3.7.0",
"crypto-js": "^4.0.0",

View File

@ -30,7 +30,6 @@
import VJsoneditor from 'v-jsoneditor';
import { localStorageKeys } from '@/utils/defaults';
import configSchema from '@/utils/ConfigSchema.json';
import Ajv from 'ajv7';
export default {
name: 'JsonEditor',
@ -49,12 +48,6 @@ export default {
mode: 'tree',
modes: ['tree', 'code', 'preview'],
name: 'config',
ajv: new Ajv({
allErrors: true,
verbose: true,
jsPropertySyntax: false,
$data: true,
}),
onValidationError: this.validationErrors,
},
};

18886
yarn.lock

File diff suppressed because it is too large Load Diff