fix(xo-server): revert to schema-inspector@1

Fixes https://xcp-ng.org/forum/topic/4556/can-t-edit-xo-metatata-backup-config

See  schema-inspector/schema-inspector#119
This commit is contained in:
Julien Fontanet 2021-05-05 10:08:28 +02:00
parent db75568905
commit 5683571577
3 changed files with 8 additions and 5 deletions

View File

@ -11,6 +11,8 @@
> Users must be able to say: “I had this issue, happy to know it's fixed”
- [Metadata Backup] Fix `Cannot read property 'constructor' of null` when editing job [Forum post](https://xcp-ng.org/forum/topic/4556/can-t-edit-xo-metatata-backup-config)
### Packages to release
> Packages will be released in the order they are here, therefore, they should
@ -30,3 +32,4 @@
- @xen-orchestra/fs minor
- @xen-orchestra/backups minor
- xo-server patch

View File

@ -107,7 +107,7 @@
"pw": "^0.0.4",
"readable-stream": "^3.2.0",
"redis": "^3.0.2",
"schema-inspector": "^2.0.0",
"schema-inspector": "^1.7.0",
"semver": "^7.3.2",
"serve-static": "^1.13.1",
"set-cookie-parser": "^2.3.5",

View File

@ -14839,10 +14839,10 @@ saxes@^5.0.1:
dependencies:
xmlchars "^2.2.0"
schema-inspector@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/schema-inspector/-/schema-inspector-2.0.1.tgz#6f3ae9763414439bf30b17b7fc53553884d489ef"
integrity sha512-lqR4tOVfoqf9Z8cgX/zvXuWPnTWCqrc4WSgeSPDDc1bWbMABaqdSTY98xj7iRKHOIRtKjc4M8EWCgUu5ASlHkg==
schema-inspector@^1.7.0:
version "1.7.0"
resolved "https://registry.yarnpkg.com/schema-inspector/-/schema-inspector-1.7.0.tgz#b3f8b97fc26ba930ef16cd7b8fcf77201ce468db"
integrity sha512-Cj4XP6O3QfDhOq7bIPpz3Ev+sjR++nqFsIggBVIk/8axqFc2p+XSwNBWih9Ut/p8k36f1uCyXB+TzumZUsxVBQ==
dependencies:
async "~2.6.3"