typesafe-joi icon indicating copy to clipboard operation
typesafe-joi copied to clipboard

A fork of joi that produces typed validation results in TypeScript

Results 9 typesafe-joi issues
Sort by recently updated
recently updated
newest added

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 $...

dependencies

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...

dependencies

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...

dependencies

Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=path-parse&package-manager=npm_and_yarn&previous-version=1.0.6&new-version=1.0.7)](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...

dependencies

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...

dependencies

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...