koa2-validation
koa2-validation copied to clipboard
A koa2 middleware to validate the request with Joi
this is userValidator.js  this is router.js  I hope to get an answer.Thank you
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...
In the latest version of the Joi, the validation method is called in the schema context, instead of the usual library context Examples Before: ```Joi.validate(value, schema, [options], [callback])``` After: ```schema.validate(data)```...
Bumps [@hapi/hoek](https://github.com/hapijs/hoek) from 8.5.0 to 8.5.1. Commits 5bd73f6 8.5.1 4d0804b Backport #352. Closes #353 See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/configuring-github-dependabot-security-updates) Dependabot will resolve any conflicts with this...
Bumps [standard-version](https://github.com/conventional-changelog/standard-version) from 7.0.0 to 8.0.1. Release notes Sourced from standard-version's releases. standard-version v8.0.1 Bug Fixes deps: update dependency conventional-changelog to v3.1.21 (#586) (fd456c9) deps: update dependency conventional-changelog-conventionalcommits to v4.3.0...
## The devDependency [koa-router](https://github.com/koajs/koa-router) was updated from `7.4.0` to `8.0.6`. This version is **not covered** by your **current version range**. If you donβt accept this pull request, your project will...
*** π¨ **Reminder!** Less than one month left to migrate your repositories over to Snyk before Greenkeeper says goodbye on June 3rd! π ππ¨ π [Find out how to migrate...
*** βοΈ **Important announcement:** Greenkeeper will be saying goodbye π and passing the torch to Snyk on June 3rd, 2020! [Find out how to migrate to Snyk and more at...
## The devDependency [coveralls](https://github.com/nickmerwin/node-coveralls) was updated from `3.0.7` to `3.0.8`. π¨ [View failing branch](https://github.com/gedennis/koa2-validation/compare/master...gedennis:greenkeeper%2Fcoveralls-3.0.8). This version is **covered** by your **current version range** and after updating it in your project...
## The dependency [@hapi/joi](https://github.com/hapijs/joi) was updated from `16.1.7` to `16.1.8`. This version is **not covered** by your **current version range**. If you donβt accept this pull request, your project will...