typesafe-joi
typesafe-joi copied to clipboard
A fork of joi that produces typed validation results in TypeScript
Bumps [shell-quote](https://github.com/substack/node-shell-quote) from 1.6.1 to 1.7.3. Release notes Sourced from shell-quote's releases. v1.7.2 Fix a regression introduced in 1.6.3. This reverts the Windows path quoting fix. (144e1c2) v1.7.1 Fix $...
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...
Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.3 to 0.8.5. Release notes Sourced from shelljs's releases. v0.8.5 This was a small security fix for #1058. v0.8.4 Small patch release to fix a circular dependency...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.7.1 to 2.8.9. Changelog Sourced from hosted-git-info's changelog. 2.8.9 (2021-04-07) Bug Fixes backport regex fix from #76 (29adfe5), closes #84 2.8.8 (2020-02-29) Bug Fixes #61 & #65...
Hey! 👋 First of all let me tell you I love this library and this approach to making Joi type-safe! There's another very similar library out there: https://github.com/TCMiranda/joi-extract-type It seems...
Consider the following schema: ```ts const arraySchema = Joi.array().items(Joi.array().items(Joi.number())); ``` This produces type `(number | number[])[]`, while it should produce `number[][]`
Noticed when trying to use the sample code example to define a type from a schema: ```ts const schema = Joi.array() .items({ id: Joi.number().integer().required(), email: Joi.string().email() }) .required() type T...
I am sorry, if there indeed exists a clever way to use `joi-browser` when importing this library, but I failed to find it. May ask you to add a file...