Add zod - for validation of uploaded settings

This commit is contained in:
William Oldham 2024-03-16 17:51:10 +00:00
parent a642abc783
commit bcfadc8f60
2 changed files with 8 additions and 1 deletions

View File

@ -68,6 +68,7 @@
"semver": "^7.5.4", "semver": "^7.5.4",
"slugify": "^1.6.6", "slugify": "^1.6.6",
"subsrt-ts": "^2.1.2", "subsrt-ts": "^2.1.2",
"zod": "^3.22.4",
"zustand": "^4.4.7" "zustand": "^4.4.7"
}, },
"devDependencies": { "devDependencies": {

8
pnpm-lock.yaml generated
View File

@ -138,6 +138,9 @@ dependencies:
subsrt-ts: subsrt-ts:
specifier: ^2.1.2 specifier: ^2.1.2
version: 2.1.2 version: 2.1.2
zod:
specifier: ^3.22.4
version: 3.22.4
zustand: zustand:
specifier: ^4.4.7 specifier: ^4.4.7
version: 4.4.7(@types/react@18.2.45)(immer@10.0.3)(react@18.2.0) version: 4.4.7(@types/react@18.2.45)(immer@10.0.3)(react@18.2.0)
@ -7370,7 +7373,6 @@ packages:
/workbox-google-analytics@7.0.0: /workbox-google-analytics@7.0.0:
resolution: {integrity: sha512-MEYM1JTn/qiC3DbpvP2BVhyIH+dV/5BjHk756u9VbwuAhu0QHyKscTnisQuz21lfRpOwiS9z4XdqeVAKol0bzg==} resolution: {integrity: sha512-MEYM1JTn/qiC3DbpvP2BVhyIH+dV/5BjHk756u9VbwuAhu0QHyKscTnisQuz21lfRpOwiS9z4XdqeVAKol0bzg==}
deprecated: It is not compatible with newer versions of GA starting with v4, as long as you are using GAv3 it should be ok, but the package is not longer being maintained
dependencies: dependencies:
workbox-background-sync: 7.0.0 workbox-background-sync: 7.0.0
workbox-core: 7.0.0 workbox-core: 7.0.0
@ -7527,6 +7529,10 @@ packages:
engines: {node: '>=12.20'} engines: {node: '>=12.20'}
dev: true dev: true
/zod@3.22.4:
resolution: {integrity: sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==}
dev: false
/zustand@4.4.7(@types/react@18.2.45)(immer@10.0.3)(react@18.2.0): /zustand@4.4.7(@types/react@18.2.45)(immer@10.0.3)(react@18.2.0):
resolution: {integrity: sha512-QFJWJMdlETcI69paJwhSMJz7PPWjVP8Sjhclxmxmxv/RYI7ZOvR5BHX+ktH0we9gTWQMxcne8q1OY8xxz604gw==} resolution: {integrity: sha512-QFJWJMdlETcI69paJwhSMJz7PPWjVP8Sjhclxmxmxv/RYI7ZOvR5BHX+ktH0we9gTWQMxcne8q1OY8xxz604gw==}
engines: {node: '>=12.7.0'} engines: {node: '>=12.7.0'}