From 1d7ec1a764757b4ea16a5925d08c2040fac9b1f4 Mon Sep 17 00:00:00 2001 From: Miguel Angel Mulero Martinez Date: Mon, 4 Nov 2019 09:53:54 +0100 Subject: [PATCH] Add djv library to validate against JSON Schemas --- package.json | 1 + src/main.html | 1 + yarn.lock | 12 ++++++++++++ 3 files changed, 14 insertions(+) diff --git a/package.json b/package.json index 79e5fafa..624907c8 100644 --- a/package.json +++ b/package.json @@ -41,6 +41,7 @@ }, "dependencies": { "bluebird": "^3.5.5", + "djv": "^2.1.3-alpha.0", "i18next": "^18.0.1", "i18next-xhr-backend": "^3.1.1", "inflection": "1.12.0", diff --git a/src/main.html b/src/main.html index e18cdd0f..439e41bf 100644 --- a/src/main.html +++ b/src/main.html @@ -50,6 +50,7 @@ + diff --git a/yarn.lock b/yarn.lock index bad8270e..2c8b3606 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9,6 +9,11 @@ dependencies: regenerator-runtime "^0.13.2" +"@korzio/djv-draft-04@^2.0.1": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@korzio/djv-draft-04/-/djv-draft-04-2.0.1.tgz#2984289426cac5ed622b26a58c3af8584aefbdfe" + integrity sha512-MeTVcNsfCIYxK6T7jW1sroC7dBAb4IfLmQe6RoCqlxHN5NFkzNpgdnBPR+/0D2wJDUJHM9s9NQv+ouhxKjvUjg== + "@nodelib/fs.scandir@2.1.3": version "2.1.3" resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.3.tgz#3a582bdb53804c6ba6d146579c46e52130cf4a3b" @@ -1335,6 +1340,13 @@ dir-glob@^3.0.1: dependencies: path-type "^4.0.0" +djv@^2.1.3-alpha.0: + version "2.1.3-alpha.0" + resolved "https://registry.yarnpkg.com/djv/-/djv-2.1.3-alpha.0.tgz#554daa91f22e0e8e9f48c9550766a6c07e8ce180" + integrity sha512-vrKAFr/wbhMjfqo+eoXZRIx/6YbN1DSZlxUsE3tHDPYB0zWRtOBhqmKbcgCjfP3+KevqidBGn2jNRnqRhjIzYg== + optionalDependencies: + "@korzio/djv-draft-04" "^2.0.1" + dom-serialize@^2.2.0: version "2.2.1" resolved "https://registry.yarnpkg.com/dom-serialize/-/dom-serialize-2.2.1.tgz#562ae8999f44be5ea3076f5419dcd59eb43ac95b"