aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/package.json
diff options
context:
space:
mode:
authorSanidhya Singh <[email protected]>2024-03-12 00:30:10 +0530
committerGitHub <[email protected]>2024-03-11 20:00:10 +0100
commit9aeaa31d2c5ee3cda7f2e226aedf9a4508e904f1 (patch)
tree6bbae9b0cc9bdc0dd296f3322db22e9ea537815a /frontend/package.json
parentff14fc74d362bc745c002097af70c4f82cb76f5d (diff)
downloadmonkeytype-9aeaa31d2c5ee3cda7f2e226aedf9a4508e904f1.tar.gz
monkeytype-9aeaa31d2c5ee3cda7f2e226aedf9a4508e904f1.zip
impr: replace JSONSchema with ajv for faster validation (sanidhyas3s) (#5145)
* impr: replace JSONSchema with ajv for faster validation * Remove JSONSchema from packages * Add ajv in dev-dependencies * move dep to frontend * Fix validation schema for different languages and error messages * fix double space * different way of showing errors * por que no los dos * return on failed schema --------- Co-authored-by: Miodec <[email protected]>
Diffstat (limited to 'frontend/package.json')
-rw-r--r--frontend/package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/package.json b/frontend/package.json
index 7ff6fcbf7..6c5339e56 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -38,12 +38,12 @@
"@types/object-hash": "2.2.1",
"@types/throttle-debounce": "2.1.0",
"@vitest/coverage-istanbul": "1.3.1",
+ "ajv": "8.12.0",
"autoprefixer": "10.4.14",
"dotenv": "16.4.5",
"gulp": "4.0.2",
"gulp-eslint-new": "1.9.1",
"happy-dom": "13.4.1",
- "jsonschema": "1.4.0",
"madge": "6.1.0",
"normalize.css": "8.0.1",
"postcss": "8.4.27",